Initial conditions
Where it is
Section titled “Where it is”Setup tree: Initial conditions
Controls
Section titled “Controls”Method
Section titled “Method”Initialise
Section titled “Initialise”- Control: choice (
ComboRow) - Default:
Uniform - Bound to:
CaseState.initMethod - Options:
Uniform,Potential flow,From an existing run - Writes:
potentialFoam -writephi,0/* internalField
Source case
Section titled “Source case”- Control: value (
ValueField) - Default: empty
- Bound to:
CaseState.initMapSource - Value modes: none (plain entry)
- Shown when:
CaseState.initMethod === "From an existing run"
The case directory to map from. Its latest time is used.
Use this case’s own run
Section titled “Use this case’s own run”- Control: action (
ToolButton2) - Enabled when:
CaseState.runDirectory !== ""
Track the inlet
Section titled “Track the inlet”- Control: on/off (
ToggleRow) - Default:
true - Bound to:
CaseState.initFromInlet
Seed the domain with the inlet’s velocity and turbulence, so changing the inlet keeps the initial field consistent.
Values
Section titled “Values”Velocity
Section titled “Velocity”- Control: value (
ValueField) - Unit: m/s
- Bound to:
CaseState.effectiveInitVelocity - Writes:
0/U internalField
Pressure
Section titled “Pressure”- Control: value (
ValueField) - Unit: Pa
- Default:
0 - Bound to:
CaseState.initPressure - Writes:
0/p … m²/s² (kinematic)
Temperature
Section titled “Temperature”- Control: value (
ValueField) - Unit: K
- Default:
293.15 - Bound to:
CaseState.initTemperature - Writes:
0/T internalField - Shown when:
CaseState.energyEnabled
Turbulence
Section titled “Turbulence”Intensity
Section titled “Intensity”- Control: value (
ValueField) - Unit: %
- Bound to:
CaseState.effectiveInitIntensity - Shown when:
CaseState.turbulenceFields.length > 1
Length scale
Section titled “Length scale”- Control: value (
ValueField) - Unit: m
- Bound to:
CaseState.effectiveInitLengthScale - Shown when:
CaseState.turbulenceFields.length > 1
Regions
Section titled “Regions”+ Add region
Section titled “+ Add region”- Control: action (
ToolButton2)
Conditional and repeated groups
Section titled “Conditional and repeated groups”Per item in CaseState.initRegions
Section titled “Per item in CaseState.initRegions”repeated once for every entry in CaseState.initRegions
- Control: choice (
ComboRow) - Default:
box - Options:
box,sphere - Writes:
setFieldsDict/regions
- Control: choice (
ComboRow)
- Control: value (
ValueField) - Default:
0 - Value modes: none (plain entry)
A bare number for a scalar, or (x y z) for a vector — which keyword setFields needs depends on it.
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
Centre X
Section titled “Centre X”- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
Centre Y
Section titled “Centre Y”- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
Centre Z
Section titled “Centre Z”- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
Radius
Section titled “Radius”- Control: value (
ValueField) - Unit: m
- Value modes: none (plain entry)
- Shown when:
regionCard.model.shape === "box"
Problems reported against this step
Section titled “Problems reported against this step”The application reports no problems against this step.
… marks a value the application computes at run time, so the source carries no fixed text for it.