AMReX-Combustion / PeleLMeX

An adaptive mesh hydrodynamics simulation code for low Mach number reacting flows without level sub-cycling.
https://amrex-combustion.github.io/PeleLMeX/
BSD 3-Clause "New" or "Revised" License
33 stars 41 forks source link

Spark ignition utility #404

Closed ThomasHowarth closed 2 months ago

ThomasHowarth commented 3 months ago

This PR adds the capability to add a source term to the energy equation, termed "spark". The energy is deposited in a discrete spherical region at a particular time, for a specified duration - some discussion could be had about making these continuous functions, rather than being clipped in this way. Multiple sparks can be defined, and inputs have been added to documentation. Addresses some discussions had here.