BoundaryCondition
Definition of boundary conditions applicable to each Physics in the simulation.
Fields
-
boundary_condition_type: BoundaryConditionType, default =NONE -
boundary_condition: BoundaryConditionType, default =NONEBoundary condition type. (required)
-
value_type: ValueType, default =NONE -
value: ValueType, default =NONEValue of the imposed condition. Can be a scalar or vector.
This is a required input for certain conditions (deprecated in favor of
values). -
values: Vector of String, default =[]A vector of strings with the algebraic expressions of the values that should be imposed in the boundary condition.
If
degrees_of_freedomis given, each element of the vector is applied to the degrees of freedom indicated there.If
starting_degree_of_freedomis given, the first element of the vector is applied to the degree of freedom indicated there,the second to the following one, etc.
If neither
degrees_of_freedomnorstarting_degree_of_freedomare given, the first expression is a applied to the first degree of freedom,the second expression to the second degree of freedom, etc. If there are less expressions in the vector than degrees of freedom
in the problem, the reamaining degress of freedom are not imposed.
-
coordinate_system: String, default =""A reference to a local CoordinateSystem name in which the degrees of freedom of this condition are defined.
-
starting_degree_of_freedom: Integer, default =-1Starting degree of freedom for vector values, e.g. for mechanical displacement
0 = x, 1 = y, 2 = z, for mechanical rotation3 = rx, 4 = ry, 5 = rz.Either
starting_degree_of_freedomordegrees_of_freedomis required for vector-valued conditions. -
degrees_of_freedom: Vector of Integer, default =[]List of degrees of freedom for vector values. e.g. for mechanical displacement
0 = x, 1 = y, 2 = z, for mechanical rotation3 = rx, 4 = ry, 5 = rz.Either
starting_degree_of_freedomordegrees_of_freedomis required for vector-valued conditions. -
group_names: Vector of String, default =[]Reference to the mesh groups (point, edge, surface or volume) that the condition is applied to. For applying Dirichlet/ForceLoad on a rigid/deformable body use the rigid_body_name/deformable_body_name as a reference (required)
-
name: String, default =""Optional name. This is only used when writing the contents of this BC as a VTU field with
bc_nameinfield_data. -
events: Vector of String, default =[]List of the names of events related to the boundary conditions that are executed based on a certain trigger.
Events include any logic that affects the boundary condition beyond the evaluation of the condition expression.
An example of an event is the activation/deactivation of the boundary condition based on a trigger such as the contact gap value
See also Physics.