BoundaryCondition

class pyccx.bc.BoundaryCondition(name, target, amplitude=None, timeDelay=None)

Bases: ModelObject

Base class for all boundary conditions

Attributes Summary

amplitude

Apply a single Amplitude (time based profile) for the boundary condition

resetBoundaryCondition

Reset the boundary condition so that previous conditions in the BC are reset/ignored.

target

The target feature set of the boundary condition

timeDelay

A time delay can be added before initiating an Amplitude profile on the boundary condition

Methods Summary

getBoundaryElements()

Returns the elements associated with the target ElementSet (if applicable) for the boundary condition

getBoundaryFaces()

Returns the surface pairs with the target SurfaceSet (if applicable) for the boundary condition

getBoundaryNodes()

Returns the nodes associated with the target NodeSet (if applicable) for the boundary condition

getTargetName()

Returns the name of the target feature set

type()

Returns the BC type so that they are only applied to suitable load cases

writeInput()

Attributes Documentation

amplitude

Apply a single Amplitude (time based profile) for the boundary condition

resetBoundaryCondition

Reset the boundary condition so that previous conditions in the BC are reset/ignored. By default, this value is to False to match the behavior in Calculix. This is useful for applying different boundary conditions across multiple seperated loadcases.

target

The target feature set of the boundary condition

timeDelay

A time delay can be added before initiating an Amplitude profile on the boundary condition

Methods Documentation

getBoundaryElements()

Returns the elements associated with the target ElementSet (if applicable) for the boundary condition

Return type:

Optional[ndarray]

getBoundaryFaces()

Returns the surface pairs with the target SurfaceSet (if applicable) for the boundary condition

getBoundaryNodes()

Returns the nodes associated with the target NodeSet (if applicable) for the boundary condition

Return type:

Optional[ndarray]

getTargetName()

Returns the name of the target feature set

Return type:

str

abstractmethod type()

Returns the BC type so that they are only applied to suitable load cases

Return type:

BoundaryConditionType

abstractmethod writeInput()
Return type:

str