fastga.models.aerodynamics.external.openvsp.compute_aero_slipstream module
Estimation of slipstream effects using OPENVSP.
- class fastga.models.aerodynamics.external.openvsp.compute_aero_slipstream.ComputeSlipstreamOpenvsp(**kwargs)[source]
Bases:
openmdao.core.group.GroupComputes the impact of the slipstream effects on the lift repartition of the aircraft by computing the difference between two OpenVSP runs, one with slipstream effects, one without. This group is meant to be used on its own, not with any other slipstream computation, hence why there is a computation of the Reynolds number.
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.external.openvsp.compute_aero_slipstream.ComputeSlipstreamOpenvspSubGroup(**kwargs)[source]
Bases:
openmdao.core.group.GroupComputes the impact of the slipstream effects on the lift repartition of the aircraft by computing the difference between two OpenVSP runs, one with slipstream effects, one without. This group is meant called in the AerodynamicsLowSpeed and AerodynamicsHighSpeed if the compute_slipstream option is set to True.
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.external.openvsp.compute_aero_slipstream.FlightConditionsForDPComputation(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentMakes the flight conditions for the thrust and power computation locally available for the slipstream computation.
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.
- class fastga.models.aerodynamics.external.openvsp.compute_aero_slipstream.PropulsionForDPComputation(**kwargs)[source]
Bases:
openmdao.core.explicitcomponent.ExplicitComponentComputes thrust and shaft power for slisptream computation.
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.