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..

Overview#

create

Create an airbag.

Import detail#

from ansys.dyna.core.pre.dynamech import Airbag

Attribute detail#

Airbag.stub#
Airbag.cv = 0#
Airbag.cp = 0#
Airbag.t = 0#
Airbag.lcid#
Airbag.mu = 0#
Airbag.pe = 0#
Airbag.ro = 0#
Airbag.sid#
Airbag.type = 'airbag'#

Method detail#

Airbag.create()#

Create an airbag.