time_step_from_cfl
Calculate the maximum transient time step from a target Courant number, velocity, and cell size to ensure stable OpenFOAM simulations.
Instructions
Maximum/target transient time step from a target Courant number (dt = Co * dx / U).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| velocity | Yes | ||
| cell_size | Yes | ||
| target_courant | No |