fastga.models.aerodynamics.components.compute_cl_extreme_wing module
Estimation of the 3D maximum lift coefficients for clean wing.
- class fastga.models.aerodynamics.components.compute_cl_extreme_wing.ComputeExtremeCLWing(**kwargs)[source]
Bases:
openmdao.core.group.GroupComputes maximum CL of the wing in clean configuration.
3D CL is deduced from 2D CL asymptote and the hypothesis that the max 3D lift corresponds to the lift at which one section of the wing goes out of the linear range in its lift curve slope.
Set the solvers to nonlinear and linear block Gauss–Seidel by default.
- setup()[source]
Build this group.
This method should be overidden by your Group’s method. The reason for using this method to add subsystem is to save memory and setup time when using your Group while running under MPI. This avoids the creation of systems that will not be used in the current process.
You may call ‘add_subsystem’ to add systems to this group. You may also issue connections, and set the linear and nonlinear solvers for this group level. You cannot safely change anything on children systems; use the ‘configure’ method instead.
- Available attributes:
name pathname comm options
- class fastga.models.aerodynamics.components.compute_cl_extreme_wing.ComputeLocalReynolds(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentStore some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
- Parameters
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
discrete_outputs (dict or None) – If not None, dict containing discrete output values.
- class fastga.models.aerodynamics.components.compute_cl_extreme_wing.ComputeWing3DExtremeCL(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentComputes wing 3D min/max CL from 2D CL (XFOIL-computed) and lift repartition.
Store some bound methods so we can detect runtime overrides.
- compute(inputs, outputs, discrete_inputs=None, discrete_outputs=None)[source]
Compute outputs given inputs. The model is assumed to be in an unscaled state.
- Parameters
inputs (Vector) – Unscaled, dimensional input variables read via inputs[key].
outputs (Vector) – Unscaled, dimensional output variables read via outputs[key].
discrete_inputs (dict or None) – If not None, dict containing discrete input values.
discrete_outputs (dict or None) – If not None, dict containing discrete output values.