How synthetik-technologies/blastfoam works
blastFoam is an OpenFOAM-based library and solver suite for compressible, single- and multiphase flow, including detonation and airblast. The primary workflow is to run a case through a solver, which advances the flow using phase and thermodynamic models, then produces fields and diagnostics. The repository also includes interfacial closures, mesh adaptation and overset support, radiation, and solid/FSI capabilities. The README documents the product scope; source evidence is limited to the supplied excerpts and SOURCE INDEX, so uncertain solver-to-subsystem links are dashed.
Main entry points: blastEulerFoam.C Euler solver · dragODE.C Drag ODE · multiphaseCompressibleSystem.C Multiphase system · phaseSystem.H Phase system
Components 19
Flow solving
- Euler solver
applications/solvers/blastEulerFoam/blastEulerFoam.C - Phase system
applications/solvers/blastEulerFoam/phaseSystems/phaseSystem/phaseSystem.H - Compressible system
src/compressibleSystem/compressibleSystem/compressibleSystem.H - Multiphase system
src/compressibleSystem/multiphaseCompressibleSystem/multiphaseCompressibleSystem.C
Flow physics
- Fluid thermodynamics
src/thermodynamicModels/basic/fluidBlastThermo/fluidBlastThermo.H - Multiphase thermo
src/thermodynamicModels/derived/multiphaseFluidBlastThermo/multiphaseFluidBlastThermo.H - Detonation thermo
src/thermodynamicModels/derived/detonatingFluidBlastThermo/detonatingFluidBlastThermo.C - Interfacial models
applications/solvers/blastEulerFoam/interfacialModels - Drag ODE
applications/solvers/blastEulerFoam/interfacialModels/dragModels/dragODE/dragODE.C - Interfacial pressure
applications/solvers/blastEulerFoam/interfacialModels/interfacialPressure/volumeAveraged/volumeAveragedInterfacialPressureModel.C
Mesh and numerics
- Mesh refinement
src/dynamicMesh/newCellCuts/newCellCuts.C - Overset search
src/dynamicFvMesh/overset/cellCellStencil/trackingInverseDistance/voxelMeshSearch.C - Overset cell mask
src/dynamicFvMesh/overset/include/createCellMask.H
Coupled capabilities
- Radiation
src/radiationModels/radiationModels/fvDOM/blastFvDOM.C - Solid coupling
src/solids4Foam/blastFluid.C - Atmosphere models
src/atmosphereModels/atmosphereModel/atmosphereModel.C
Utilities and diagnostics
- Blast probes
src/functionObjects/blastProbes/blastProbes.C - Parallel reconstruction
applications/utilities/reconstructParAll/reconstructParAll.C
Other components
- Case user
Connections 15
- Case user → Euler solver: runs case
README.md - Euler solver → Phase system: uses phases
- Compressible system → Multiphase system: specializes as
- Multiphase system → Multiphase thermo: uses thermo
- Detonation thermo → Fluid thermodynamics: extends thermo
src/thermodynamicModels/derived/detonatingFluidBlastThermo/detonatingFluidBlastThermo.C - Interfacial pressure → Fluid thermodynamics: reads thermo
applications/solvers/blastEulerFoam/interfacialModels/interfacialPressure/volumeAveraged/volumeAveragedInterfacialPressureModel.C - Drag ODE → Phase system: uses phases
- Drag ODE → Interfacial models: uses drag models
applications/solvers/blastEulerFoam/interfacialModels/dragModels/dragODE/dragODE.C - Overset cell mask → Overset search: queries stencil
- Euler solver → Mesh refinement: may adapt mesh
- Euler solver → Radiation: may include radiation
- Euler solver → Solid coupling: supports coupled cases
README.md - Euler solver → Atmosphere models: may use atmosphere
- Euler solver → Blast probes: may report probes
- Case user → Parallel reconstruction: runs utility