jf1uids.option_classes.simulation_params module#
- class jf1uids.option_classes.simulation_params.SimulationParams(C_cfl: float = 0.8, gravitational_constant: float = 1.0, gamma: float = 1.6666666666666667, dt_max: float = 0.001, t_end: float = 0.2, wind_params: WindParams = (0.0, 0.0, 100000.0))[source]#
Bases:
NamedTuple
Different from the simulation configuration, the simulation parameters do not require recompilation when changed. The simulation can be differentiated with respect to them.
- C_cfl: float#
The Courant-Friedrichs-Lewy number, a factor in the time step calculation.
- dt_max: float#
The maximum time step.
- gamma: float#
The adiabatic index of the gas.
- gravitational_constant: float#
Gravitational constant.
- t_end: float#
The final time of the simulation.
- wind_params: WindParams#
The parameters of the stellar wind module.