Skip to content
Draft. This manual is new and still being checked against the software as it is verified. Some pages will change. If something here does not match what you see, the software is right — tell us and we will fix the page.

Initial conditions

Setup tree: Initial conditions

  • Control: choice (ComboRow)
  • Default: Uniform
  • Bound to: CaseState.initMethod
  • Options: Uniform, Potential flow, From an existing run
  • Writes: potentialFoam -writephi, 0/* internalField
  • 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.

  • Control: action (ToolButton2)
  • Enabled when: CaseState.runDirectory !== ""
  • 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.

  • Control: value (ValueField)
  • Unit: m/s
  • Bound to: CaseState.effectiveInitVelocity
  • Writes: 0/U internalField
  • Control: value (ValueField)
  • Unit: Pa
  • Default: 0
  • Bound to: CaseState.initPressure
  • Writes: 0/p … m²/s² (kinematic)
  • Control: value (ValueField)
  • Unit: K
  • Default: 293.15
  • Bound to: CaseState.initTemperature
  • Writes: 0/T internalField
  • Shown when: CaseState.energyEnabled
  • Control: value (ValueField)
  • Unit: %
  • Bound to: CaseState.effectiveInitIntensity
  • Shown when: CaseState.turbulenceFields.length > 1
  • Control: value (ValueField)
  • Unit: m
  • Bound to: CaseState.effectiveInitLengthScale
  • Shown when: CaseState.turbulenceFields.length > 1
  • Control: action (ToolButton2)

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"
  • 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"

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.