How pele-suite/pelec works
PeleC is an adaptive-mesh-refinement solver for compressible reacting flows. Users provide a case input and problem setup; the executable initializes an AMR run, advances the flow state, adapts the mesh, and writes plotfiles and checkpoints. The implementation spans problem-specific initialization and boundary conditions, hydro reconstruction and fluxes, reacting-flow physics, embedded boundaries, and diagnostics/output. The README documents these capabilities, while sampled source confirms the executable loop, level responsibilities, and selected numerical layers; links to unsampled subsystems are therefore limited or marked unverified.
Main entry points: PeleC.cpp PeleC level · main.cpp Executable driver · Godunov.cpp Hydro update · PeleCAmr.cpp AMR orchestration
Components 20
Run control
- Executable driver
Source/main.cpp - AMR orchestration
Source/PeleCAmr.cpp - PeleC level
Source/PeleC.cpp - Problem setup
Exec/Production/ChallengeProblem/prob.H
AMR and geometry
- Refinement tagging
Source/Tagging.H - EB geometry
Source/Geometry.H
Flow numerics
- Hydro update
Source/Godunov.cpp - State reconstruction
Source/PLM.H - Riemann solver
Source/Riemann.H - Diffusion
Source/Diffusion.cpp
Reacting physics
- Chemistry and EOS
Source/React.cpp - Spray particles
Source/Particle.cpp - Soot model
Source/Soot.cpp
Diagnostics and output
- Derived quantities
Source/Derive.cpp - Diagnostics
Source/PeleC.cpp - Plot and checkpoint IO
Source/IO.cpp
Other components
- Case user
- Case inputs
- Plotfiles and checkpoints
- AMReX and PelePhysics
Connections 20
- Case user → Case inputs: configures
- Case inputs → Executable driver: provides inputs
Source/main.cpp - Executable driver → AMR orchestration: runs AMR
- AMR orchestration → PeleC level: advances levels
- PeleC level → Problem setup: uses problem hooks
- PeleC level → Refinement tagging: tags refinement
Source/PeleC.cpp - PeleC level → EB geometry: uses geometry
- PeleC level → Hydro update: computes hydro
- Hydro update → State reconstruction: reconstructs states
Source/Godunov.cpp - Hydro update → Riemann solver: solves interfaces
- PeleC level → Diffusion: computes diffusion
- PeleC level → Chemistry and EOS: advances reactions
- PeleC level → Spray particles: updates particles
- PeleC level → Soot model: updates soot
- PeleC level → Derived quantities: registers derives
Source/PeleC.cpp - PeleC level → Diagnostics: builds diagnostics
Source/PeleC.cpp - Executable driver → Plot and checkpoint IO: writes results
Source/main.cpp - Plot and checkpoint IO → Plotfiles and checkpoints: writes files
- PeleC level → AMReX and PelePhysics: uses framework
- Problem setup → AMReX and PelePhysics: uses framework
Exec/Production/ChallengeProblem/prob.H