pterasoftware.problems¶
Contains the SteadyProblem and UnsteadyProblem classes.
Classes¶
A class used to contain steady aerodynamics problems. |
|
A class used to contain unsteady aerodynamics problems. |
Module Contents¶
- class pterasoftware.problems.SteadyProblem(airplanes: list[pterasoftware.geometry.airplane.Airplane], operating_point: pterasoftware.operating_point.OperatingPoint)[source]¶
A class used to contain steady aerodynamics problems.
Contains the following methods:
reynolds_numbers: A tuple of Reynolds numbers, one for each Airplane in the SteadyProblem.
- Parameters:
airplanes – The list of the Airplanes for this SteadyProblem.
operating_point – The OperatingPoint for this SteadyProblem.
- Returns:
None
- property reynolds_numbers: tuple[float, Ellipsis]¶
A tuple of Reynolds numbers, one for each Airplane in the SteadyProblem.
Notes:
The Reynolds number is calculated as: Re = (V x L) / nu, where V is the freestream speed, observed from the Earth frame (vCg__E from OperatingPoint, m/s), L is the characteristic length (c_ref from Airplane, m), and nu is the kinematic viscosity (nu from OperatingPoint, m^2/s).
These Reynolds numbers only consider the freestream speed, not any apparent velocity due to prescribed motion, so be careful interpreting it for cases where this SteadyProblem corresponds to one time step in an UnsteadyProblem.
- Returns:
A tuple of Reynolds numbers, one for each Airplane.
- class pterasoftware.problems.UnsteadyProblem(movement: pterasoftware.movements.movement.Movement, only_final_results: bool | numpy.bool_ = False)[source]¶
A class used to contain unsteady aerodynamics problems.
Contains the following methods:
None
- Parameters:
movement – The Movement that contains this UnsteadyProblem’s OperatingPointMovement and AirplaneMovements.
only_final_results – Determines whether the Solver will only calculate loads for the final time step (for static Movements) or (for non static Movements) for will only calculate loads for the time steps in the final complete motion cycle (of the Movement’s sub Movement with the longest period), which increases simulation speed. Can be a bool or a numpy bool and will be converted internally to a bool. The default is False.
- Returns:
None