CFD_GAS
CFD
*CFD_GAS
"Optional title"
sid
type, gid
$\rho$, $\gamma$, $e_0$, $C_v$, $b$
"Optional title"
sid
type, gid
$\rho$, $\gamma$, $e_0$, $C_v$, $b$
Parameter definition
Variable
Description
sid
Subdomain ID
type
Gas type
gid
Geometry ID
$\rho$
Density (this line is only used if type=USER)
$\gamma$
Fraction between $C_p$ and $C_v$
$e_0$
Initial internal energy per unit volume
$C_v$
Heat capacity (optional)
$b$
Nobel-Abel co-volume parameter
Description
This command is used to fill a region of the CFD_DOMAIN with air (pressure $1atm$ and temperature $293K$) or with a user defined gas. The gas pressure $p$ is defined as:
$\displaystyle{ p = \frac{\gamma-1}{1 - \rho b} e}$
where $\rho$ is the current gas density and $e$ is the current specific internal energy. Note that $b$ (default $0$) has the units $m^3/kg$.
The heat capacity $C_v$ is optional and is only used to calculate the gas temperature.