RoeFlux#
- class RoeFlux[source]#
Bases:
Flow360BaseModelRoeFluxclass for the Roe flux-difference splitting Riemann solver.Example
>>> fl.RoeFlux() >>> fl.RoeFlux(numerical_dissipation_factor=0.2, low_mach_preconditioner=True)
Attributes
- numerical_dissipation_factor: float#
A factor in the range [0.01, 1.0] which exponentially reduces the dissipation of the numerical flux. The recommended starting value for most low-dissipation runs is 0.2.
- Default:
1
- low_mach_preconditioner: bool#
Use preconditioning for accelerating low Mach number flows.
- Default:
False
- low_mach_preconditioner_threshold: float, optional#
For flow regions with Mach numbers smaller than threshold, the input Mach number to the preconditioner is assumed to be the threshold value if it is smaller than the threshold. The default value for the threshold is the freestream Mach number.
- Default:
None