Skip to content

OpenFOAM Nodes

OpenFOAM nodes generate configuration files for OpenFOAM CFD simulations. These nodes use Jinja2 templates to produce properly formatted OpenFOAM dictionaries.

Node Categories

Mesh Generation

Node Type Description
BlockMesh openFOAM.mesh.BlockMesh Structured hexahedral mesh generation
SnappyHexMesh openFOAM.mesh.SnappyHexMesh Automated mesh with snapping and layering
GeometryDefiner openFOAM.mesh.GeometryDefiner Define geometry entities for meshing (FreeCAD)
RefineMesh openFOAM.mesh.RefineMesh Mesh refinement operations

System Configuration

Node Type Description
ControlDict openFOAM.system.ControlDict Simulation execution settings
FvSchemes openFOAM.system.FvSchemes Numerical discretization schemes
FvSolution openFOAM.system.FvSolution Linear solvers and convergence settings
ChangeDictionary openFOAM.system.ChangeDictionary Modify field values and boundary conditions
CreatePatch openFOAM.system.CreatePatch Create boundary patches from mesh faces
DecomposePar openFOAM.system.DecomposePar Domain decomposition for parallel runs
FvConstraints openFOAM.system.FvConstraints Field constraints during simulation
MeshQualityDict openFOAM.system.MeshQualityDict Mesh quality criteria
SetFields openFOAM.system.SetFields Initial field value setup
SurfaceFeatures openFOAM.system.SurfaceFeatures Surface feature extraction for meshing
TopoSetDict openFOAM.system.TopoSetDict Topology set definitions (zones, regions)

Constant Properties

Node Type Description
TransportProperties openFOAM.constant.TransportProperties Fluid transport properties (OF V7-V10)
TurbulenceProperties openFOAM.constant.TurbulenceProperties Turbulence model settings (OF V7-V10)
PhysicalProperties openFOAM.constant.PhysicalProperties General physical properties
MomentumTransport openFOAM.constant.MomentumTransport Momentum transport models
ThermophysicalProperties openFOAM.constant.ThermophysicalProperties Thermodynamic properties for heat transfer
Gravity openFOAM.constant.g Gravitational acceleration vector
WindLogProfile openFOAM.constant.homogenousWindLogProfileDict Atmospheric boundary layer wind profile
BuildAllrun openFOAM.BuildAllrun Generate Allrun/Allclean execution scripts

Dispersion

Node Type Description
KinematicCloudProperties openFOAM.dispersion.KinematicCloudProperties Lagrangian particle tracking
MakeFlowDispersion openFOAM.dispersion.MakeFlowDispersion Prepare flow fields for dispersion
Stable2018Dict openFOAM.dispersion.Stable2018Dict Stable atmospheric dispersion model
Neutral2018Dict openFOAM.dispersion.Neutral2018Dict Neutral atmospheric dispersion model
Convective2018Dict openFOAM.dispersion.Convective2018Dict Convective atmospheric dispersion model
IndoorDict openFOAM.dispersion.IndoorDict Indoor environment dispersion model

Boundary Conditions

Node Type Description
BC BC.BoundaryCondition Field boundary conditions

Typical OpenFOAM Workflow

A complete OpenFOAM simulation workflow typically includes:

flowchart TD
    Params["Parameters\n(OF version, case dir)"]
    Mesh["BlockMesh / SnappyHexMesh\n(Mesh generation)"]
    Transport["TransportProperties\n(Fluid properties)"]
    Turbulence["TurbulenceProperties\n(Turbulence model)"]
    Control["ControlDict\n(Simulation settings)"]
    Schemes["FvSchemes\n(Discretization)"]
    Solution["FvSolution\n(Solvers)"]
    BC["Boundary Conditions\n(Field BCs)"]
    AllRun["BuildAllrun\n(Execution scripts)"]

    Params --> Mesh
    Params --> Transport
    Params --> Turbulence
    Params --> Control
    Params --> Schemes
    Params --> Solution
    Params --> BC
    Mesh --> AllRun
    Transport --> AllRun
    Turbulence --> AllRun
    Control --> AllRun
    Schemes --> AllRun
    Solution --> AllRun
    BC --> AllRun