Boundary Conditions
Every entry of Boundary Conditions prescribes one field on one or more node sets:
Boundary Conditions:
BC_1:
Type: "Dirichlet"
Variable: "Displacements"
Node Set: "Node Set 1"
Coordinate: "y"
Value: "0"
BC_2:
Type: "Neumann"
Variable: "Force Densities"
Node Set: "Node Set 2 + Node Set 3"
Coordinate: "x"
Value: "1e3*sin(t)"
Temperature:
Type: "Initial"
Variable: "Temperature"
Node Set: "Node Set 4"
Value: "20 + 2*x"- Type:
Dirichlet(default) sets the value in every step,Neumannadds it to the field in every step,Initialsets it once at the start. - Variable: the field, e.g.
Displacements,Forces,Force DensitiesorTemperature. - Coordinate: the component
x,yorzof a vector field; not needed for scalar fields such asTemperature. - Node Set: a node set of the Discretization; several are joined with
+. - Value: a number or an expression in
t(time),st(time within the current solver step) and the coordinatesx,y,z. - Step ID: in a Multistep Solver the steps the condition is active in, one id or a comma-separated list; all steps if not given.
| YAML key | Type | Required | Default | Range | Quantity | Description |
|---|---|---|---|---|---|---|
| Variable | text | required | Field to prescribe, e.g. "Displacements", "Forces", "Force Densities" or "Temperature" | |||
| Node Set | text | required | Node set name from Discretization; several joined with + | |||
| Value | number or text | required | Number or expression in t (time), st (time within the solver step) and x, y, z (coordinates), e.g. "10*t" | |||
| Type | text | optional | — | one of: Initial, Dirichlet, Neumann | Initial: set once at the start; Dirichlet: set in every step; Neumann: added to the field in every step. Dirichlet if not given | |
| Coordinate | text | optional | — | Component of a vector field the condition acts on: x, y or z | ||
| Step ID | integer or text | optional | — | Solver steps of a Multistep Solver the condition is active in: one id or a comma-separated list; all steps if not given |