9.45 TypeBC object

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.

Access
import load
mdb.models[name].boundaryConditions[name]


9.45.1 EncastreBC(...)

This method creates an encastre TypeBC object.

Path
mdb.models[name].EncastreBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.2 PinnedBC(...)

This method creates a pinned TypeBC object.

Path
mdb.models[name].PinnedBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.3 XsymmBC(...)

This method creates a TypeBC object that specifies symmetry about the X-axis.

Path
mdb.models[name].XsymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.4 YsymmBC(...)

This method creates a TypeBC object that specifies symmetry about the Y-axis.

Path
mdb.models[name].YsymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.5 ZsymmBC(...)

This method creates a TypeBC object that specifies symmetry about the Z-axis.

Path
mdb.models[name].ZsymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.6 XasymmBC(...)

This method creates a TypeBC object that specifies antisymmetry about the X-axis.

Path
mdb.models[name].XasymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.7 YasymmBC(...)

This method creates a TypeBC object that specifies antisymmetry about the Y-axis.

Path
mdb.models[name].YasymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.8 ZasymmBC(...)

This method creates a TypeBC object that specifies antisymmetry about the Z-axis.

Path
mdb.models[name].ZasymmBC

Required arguments

name

A String specifying the boundary condition repository key.

createStepName

A String specifying the name of the step in which the boundary condition is created.

region

A Region object specifying the region to which the boundary condition is applied.

Optional arguments

buckleCase

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.

localCsys

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

None.


9.45.9 setValues(...)

This method modifies the data for an existing TypeBC object in the step where it is created.

Required arguments

None.

Optional arguments

region

A Region object specifying the region to which the boundary condition is applied.

typeName

A SymbolicConstant specifying the predefined boundary condition type. Possible values are XSYMM, YSYMM, ZSYMM, XASYMM, YASYMM, ZASYMM, PINNED, and ENCASTRE.

buckleCase

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.

localCsys

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

None

Exceptions

None.


9.45.10 setValuesInStep(...)

This method always returns a value error for a TypeBC; it is inherited from the BoundaryCondition object.

Required argument

stepName

A String specifying the name of the step in which the boundary condition is modified.

Optional argument

typeName

A SymbolicConstant specifying the predefined boundary condition type. Possible values are XSYMM, YSYMM, ZSYMM, XASYMM, YASYMM, ZASYMM, PINNED, and ENCASTRE.

Return value

None

Exceptions

Value Error:

A Symmetry/Antisymmetry/Encastre BC cannot be edited in a propagated step.


9.45.11  Members

The TypeBC object can have the following members:

name

A String specifying the boundary condition repository key.

buckleCase

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.

category

A SymbolicConstant specifying the category of the boundary condition. Possible values are MECHANICAL and THERMAL.

region

A Region object specifying the region to which the boundary condition is applied.

localCsys

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.