#include <FGGasCell.h>
Inherits FGForce.
<buoyant_forces> <gas_cell type="{HYDROGEN | HELIUM | AIR}"> <location unit="{M | IN}"> <x> {number} </x> <y> {number} </y> <z> {number} </z> </location> <x_width unit="{M | IN}"> {number} </x_width> <y_radius unit="{M | IN}"> {number} </y_radius> <z_radius unit="{M | IN}"> {number} </z_radius> <max_overpressure unit="{PA | PSI}"> {number} </max_overpressure> <valve_coefficient unit="{M4*SEC/KG | FT4*SEC/SLUG}"> {number} </valve_coefficient> <fullness> {number} </fullness> <heat> {heat transfer coefficients} [lbs ft / sec] </heat> <ballonet> <location unit="{M | IN}"> <x> {number} </x> <y> {number} </y> <z> {number} </z> </location> <x_width unit="{M | IN}"> {number} </x_width> <y_radius unit="{M | IN}"> {number} </y_radius> <z_radius unit="{M | IN}"> {number} </z_radius> <max_overpressure unit="{PA | PSI}"> {number} </max_overpressure> <valve_coefficient unit="{M4*SEC/KG | FT4*SEC/SLUG}"> {number} </valve_coefficient> <fullness> {number} </fullness> <heat> {heat transfer coefficients} [lb ft / (sec Rankine)] </heat> <blower_input> {input air flow function} [ft^3 / sec] </blower_input> </ballonet> </gas_cell> </buoyant_forces>
Definition of the gas cell configuration file parameters:
Definition at line 176 of file FGGasCell.h.
Public Member Functions | |
| void | Calculate (double dt) |
| Runs the gas cell model; called by BuoyantForces. | |
| FGGasCell (FGFDMExec *exec, Element *el, int num) | |
| Constructor. | |
| int | GetIndex (void) const |
| Get the index of this gas cell. | |
| const FGMatrix33 & | GetInertia (void) const |
| Get the moments of inertia of the gas cell (including any ballonets). | |
| double | GetMass (void) const |
| Get the current mass of the gas cell (including any ballonets). | |
| const FGColumnVector3 & | GetMassMoment (void) const |
| Get the moment due to mass of the gas cell (including any ballonets). | |
| double | GetPressure (void) const |
| Get the current gas pressure inside the gas cell. | |
| double | GetTemperature (void) const |
| Get the current gas temperature inside the gas cell. | |
| double | GetXYZ (int idx) const |
| Get the center of gravity location of the gas cell (including any ballonets). | |
| const FGColumnVector3 & | GetXYZ (void) const |
| Get the center of gravity location of the gas cell (including any ballonets). | |
| exec | Executive a pointer to the parent executive object | |
| el | Pointer to configuration file XML node | |
| num | Gas cell index number. |
Definition at line 63 of file FGGasCell.cpp.
| int GetIndex | ( | void | ) | const [inline] |
| const FGMatrix33& GetInertia | ( | void | ) | const [inline] |
Definition at line 211 of file FGGasCell.h.
| double GetMass | ( | void | ) | const [inline] |
| const FGColumnVector3& GetMassMoment | ( | void | ) | const [inline] |
Note that the buoyancy of the gas cell is handled separately by the FGForce part and not included here.
Definition at line 218 of file FGGasCell.h.
| double GetPressure | ( | void | ) | const [inline] |
| double GetTemperature | ( | void | ) | const [inline] |
| double GetXYZ | ( | int | idx | ) | const [inline] |
| const FGColumnVector3& GetXYZ | ( | void | ) | const [inline] |
1.5.5