![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Represents a Sedov-Taylor solution, a self-similar solution to the hydrodynamic equations describing a blast wave. More...
#include <shamphys/include/shamphys/SedovTaylor.hpp>
Classes | |
| struct | field_val |
| Field values at a given position. More... | |
Public Member Functions | |
| field_val | get_value (f64 x) |
| Compute field values at radial distance x. | |
Represents a Sedov-Taylor solution, a self-similar solution to the hydrodynamic equations describing a blast wave.
This class provides a way to calculate the values of density, velocity, and pressure at a given time and position using the Sedov-Taylor solution.
gamma = 5./3. t = 0.1 \int u_inj = 1
Definition at line 34 of file SedovTaylor.hpp.
|
inline |
Definition at line 36 of file SedovTaylor.hpp.
| auto shamphys::SedovTaylor::get_value | ( | f64 | x | ) |
Compute field values at radial distance x.
| x | Radial distance from blast center |
Definition at line 76 of file SedovTaylor.cpp.