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:
- Set
SegmentSet
orPartSet
Set. Options are:
EQ.0: Segment set ID.
EQ.1: Part set ID.
- heat_capacity_at_constant_volume
float
,optional
Heat capacity at constant volume. The default is
0
.- heat_capacity_at_constant_pressure
float
,optional
Heat capacity at constant pressure. The default is
0
.- input_gas_temperature
float
,optional
Temperature of the input gas. The default is
0
.- input_mass_flow_rate
int
,optional
Load curve ID specifying the input mass flow rate. The default is
0
.- shape_factor_for_exit_hole
float
,optional
Shape factor for exit hole. The default is
0
.- ambient_pressure
float
,optional
Ambient pressure. The default is
0
.- ambient_density
float
,optional
Ambient density. The default is
0
.
- Set
- Returns:
- bool
True
when successful,False
when failed..
Overview#
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.