SimulationInformation
- class sharpy.utils.generate_cases.SimulationInformation[source]
Simulation information needed to build a case
- define_num_steps(num_steps)[source]
Set the number of steps in the simulation for all the solvers
- Parameters:
num_steps (int) – number of steps
- define_uinf(unit_vector, norm)[source]
Set the inflow velocity in the simulation for all the solvers
- Parameters:
unit_vector (np.array) – direction of the inflow velocity
norm (float) – Norm of the inflow velocity
- generate_dyn_file(num_steps)[source]
Generates the dynamic file
- Parameters:
route (string) – path of the case
case_name (string) – name of the case
num_steps (int) – number of steps