ansys.dyna.core.pre.dynamech.Airbag#

class ansys.dyna.core.pre.dynamech.Airbag(set, heat_capacity_at_constant_volume=0, heat_capacity_at_constant_pressure=0, input_gas_temperature=0, input_mass_flow_rate=Curve(x=[], y=[]), shape_factor_for_exit_hole=0, ambient_pressure=0, ambient_density=0)#

Bases: ansys.dyna.core.pre.dynabase.BaseObj

Defines an airbag or control volume.

Parameters:
SetSegmentSet or PartSet

Set. Options are:

  • EQ.0: Segment set ID.

  • EQ.1: Part set ID.

heat_capacity_at_constant_volumefloat, optional

Heat capacity at constant volume. The default is 0.

heat_capacity_at_constant_pressurefloat, optional

Heat capacity at constant pressure. The default is 0.

input_gas_temperaturefloat, optional

Temperature of the input gas. The default is 0.

input_mass_flow_rateint, optional

Load curve ID specifying the input mass flow rate. The default is 0.

shape_factor_for_exit_holefloat, optional

Shape factor for exit hole. The default is 0.

ambient_pressurefloat, optional

Ambient pressure. The default is 0.

ambient_densityfloat, optional

Ambient density. The default is 0.

Returns:
bool

True when successful, False when failed..

stub#
cv = 0#
cp = 0#
t = 0#
lcid#
mu = 0#
pe = 0#
ro = 0#
sid#
type = 'airbag'#
create()#

Create an airbag.