The TypeBC object stores the data for several types of predefined boundary conditions that are commonly used in stress/displacement analyses.
The TypeBC object is derived from the BoundaryCondition object.
import load mdb.models[name].boundaryConditions[name]
This method creates an encastre TypeBC object.
mdb.models[name].EncastreBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a pinned TypeBC object.
mdb.models[name].PinnedBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies symmetry about the X-axis.
mdb.models[name].XsymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies symmetry about the Y-axis.
mdb.models[name].YsymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies symmetry about the Z-axis.
mdb.models[name].ZsymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies antisymmetry about the X-axis.
mdb.models[name].XasymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies antisymmetry about the Y-axis.
mdb.models[name].YasymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method creates a TypeBC object that specifies antisymmetry about the Z-axis.
mdb.models[name].ZasymmBC
Required arguments
A String specifying the boundary condition repository key.
A String specifying the name of the step in which the boundary condition is created.
A Region object specifying the region to which the boundary condition is applied.
Optional arguments
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
A TypeBC object.
Exceptions
This method modifies the data for an existing TypeBC object in the step where it is created.
Required arguments
Optional arguments
A Region object specifying the region to which the boundary condition is applied.
A SymbolicConstant specifying the predefined boundary condition type. Possible values are XSYMM, YSYMM, ZSYMM, XASYMM, YASYMM, ZASYMM, PINNED, and ENCASTRE.
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.
Return value
Exceptions
This method always returns a value error for a TypeBC; it is inherited from the BoundaryCondition object.
Required argument
A String specifying the name of the step in which the boundary condition is modified.
Optional argument
A SymbolicConstant specifying the predefined boundary condition type. Possible values are XSYMM, YSYMM, ZSYMM, XASYMM, YASYMM, ZASYMM, PINNED, and ENCASTRE.
Return value
Exceptions
Value Error:
The TypeBC object can have the following members:
A String specifying the boundary condition repository key.
A SymbolicConstant specifying how the boundary condition is defined in a *BUCKLE analysis. Possible values are NOT_APPLICABLE, STRESS_PERTURBATION, BUCKLING_MODES, and PERTURBATION_AND_BUCKLING. The default value is NOT_APPLICABLE.
A SymbolicConstant specifying the category of the boundary condition. Possible values are MECHANICAL and THERMAL.
A Region object specifying the region to which the boundary condition is applied.
None or a DatumCsys object specifying the local coordinate system of the boundary condition's degrees of freedom. If localCsys=None, the degrees of freedom are defined in the global coordinate system. The default value is None.