RampCFL#
- class RampCFL[source]#
Bases:
Flow360BaseModelRampCFLclass for the Ramp CFL setting of time stepping.Example
>>> fl.RampCFL(initial=1, final=200, ramp_steps=200)
Attributes
- initial: float, optional#
Initial CFL for solving pseudo time step. In steady simulations default value is 5. In unsteady simulations default value is 1.
- Default:
None
- final: float, optional#
Final CFL for solving pseudo time step. In steady simulations default value is 200. In unsteady simulations default value is 1e6.
- Default:
None
- ramp_steps: int, optional#
Number of pseudo steps before reaching
RampCFL.finalwithin 1 physical step. In steady simulations default value is 40. In unsteady simulations default value is 30.- Default:
None
Additional Constructors
- classmethod from_file(filename)#
Loads a
Flow360BaseModelfrom .json, or .yaml file.- Parameters:
filename (str) – Full path to the .yaml or .json file to load the
Flow360BaseModelfrom.- Returns:
An instance of the component class calling load.
- Return type:
Flow360BaseModel
Example
>>> params = Flow360BaseModel.from_file(filename='folder/sim.json')
Methods
- help(methods=False)#
Prints message describing the fields and methods of a
Flow360BaseModel.- Parameters:
methods (bool = False) – Whether to also print out information about object’s methods.
- Return type:
None
Example
>>> params.help(methods=True)