gemseo / problems / sobieski / core

# aerodynamics module¶

Aerodynamics discipline for the Sobieski’s SSBJ use case.

class gemseo.problems.sobieski.core.aerodynamics.SobieskiAerodynamics(sobieski_base)[source]

Aerodynamics discipline for the Sobieski’s SSBJ use case.

Parameters

sobieski_base (gemseo.problems.sobieski.core.utils.SobieskiBase) – The Sobieski base.

Return type

None

execute(x_shared, y_12, y_32, x_2, true_cstr=False, c_4=None)[source]

Compute the drag and the lift-to-drag ratio.

Parameters
• x_shared (ndarray) – The values of the shared design variables, where x_shared is the thickness/chord ratio, x_shared is the altitude, x_shared is the Mach number, x_shared is the aspect ratio, x_shared is the wing sweep and x_shared is the wing surface area.

• y_12 (ndarray) – The coupling variable from the structure disciplines, where y_12 is the total aircraft weight and y_12 is the wing twist.

• y_32 (ndarray) – The coupling variable (engine scale factor) from the propulsion discipline,

• x_2 (ndarray) – The friction coefficient.

• true_cstr (bool) –

If True, return the value of the constraint outputs. Otherwise, return the distance to the corresponding constraint thresholds.

By default it is set to False.

• c_4 (ndarray | None) –

The minimum drag coefficient. If None, use SobieskiBase.constants().

By default it is set to None.

Returns

• y_2: The outputs of the aerodynamics analysis:
• y_2: the lift,

• y_2: the drag,

• y_2: the lift/drag ratio,

• y_21: The coupling variable (lift) for the structure discipline,

• y_23: The coupling variable (drag) for the propulsion discipline,

• y_24: The coupling variable (lift/drag ratio)

for the mission discipline,

• g_2: The pressure gradient to be constrained.

Return type

The aerodynamics outputs

linearize(x_shared, y_12, y_32, x_2, c_4=None)[source]

Compute the Jacobian of the drag and lift-to-drag ratio.

Parameters
• x_shared (ndarray) – The values of the shared design variables, where x_shared is the thickness/chord ratio, x_shared is the altitude, x_shared is the Mach number, x_shared is the aspect ratio, x_shared is the wing sweep and x_shared is the wing surface area.

• y_12 (ndarray) – The coupling variable from the structure disciplines, where y_12 is the total aircraft weight and y_12 is the wing twist.

• y_32 (ndarray) – The coupling variable (engine scale factor) from the propulsion discipline,

• x_2 (ndarray) – The friction coefficient.

• c_4 (ndarray | None) –

The minimum drag coefficient. If None, use SobieskiBase.constants().

By default it is set to None.

Returns

The Jacobian of the outputs.

Return type

dict[str, dict[str, ndarray]]

DTYPE_COMPLEX = 'complex128'
DTYPE_DOUBLE = 'float64'