BoundaryCondition¶
- class pyccx.bc.BoundaryCondition(name, target, amplitude=None, timeDelay=None)¶
Bases:
ModelObjectBase class for all boundary conditions
Attributes Summary
Apply a single Amplitude (time based profile) for the boundary condition
Reset the boundary condition so that previous conditions in the BC are reset/ignored.
The target feature set of the boundary condition
A time delay can be added before initiating an Amplitude profile on the boundary condition
Methods Summary
Returns the elements associated with the target ElementSet (if applicable) for the boundary condition
Returns the surface pairs with the target SurfaceSet (if applicable) for the boundary condition
Returns the nodes associated with the target NodeSet (if applicable) for the boundary condition
Returns the name of the target feature set
type()Returns the BC type so that they are only applied to suitable load cases
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:
- abstractmethod writeInput()¶
- Return type:
str