flow360.AdaptiveCFL#
- class AdaptiveCFL[source]#
Bases:
Flow360BaseModel
AdaptiveCFL
class for Adaptive CFL setting of time stepping.Example
>>> fl.AdaptiveCFL( ... min=1, ... max=100000, ... max_relative_change=50 ... )
- min: Annotated[float, Gt(gt=0)] = 0.1#
The minimum allowable value for Adaptive CFL.
- Constraints:
gt = 0
- max_relative_change: Annotated[float, Gt(gt=0)] | None = None#
The maximum allowable relative change of CFL (%) at each pseudo step. In unsteady simulations, the value of
AdaptiveCFL.max_relative_change
is updated automatically depending on how well the solver converges in each physical step.