This method creates an Eos object.
Path
materialApi.materials()[name].Eos
Prototype
odb_Eos&
Eos(const odb_String& type,
bool temperatureDependency,
int dependencies,
double detonationEnergy,
const odb_SequenceSequenceDouble& solidTable,
const odb_SequenceSequenceDouble& gasTable,
const odb_SequenceSequenceDouble& reactionTable,
const odb_SequenceSequenceDouble& gasSpecificTable,
const odb_SequenceSequenceDouble& table);
Optional arguments
- type
An odb_String specifying the equation of state. Possible values are "USUP", "JWL", "IDEALGAS", "TABULAR", and "IGNITIONANDGROWTH". The default value is "IDEALGAS".
- temperatureDependency
A Boolean specifying whether the data in gasSpecificTable depend on temperature. The default value is false.
- dependencies
An Int specifying the number of field variable dependencies for the data in gasSpecificTable. The default value is 0.
- detonationEnergy
A Double specifying the detonation energy text field. The default value is 0.0.
- solidTable
An odb_SequenceSequenceDouble specifying the following:
$A_{s}$.
$B_{s}$.
${\omega}_{s}$.
$R_{1s}$.
$R_{2s}$.
The default value is an empty sequence.
- gasTable
An odb_SequenceSequenceDouble specifying the following:
$A_{g}$.
$B_{g}$.
${\omega}_{g}$.
$R_{1g}$.
$R_{2g}$.
The default value is an empty sequence.
- reactionTable
An odb_SequenceSequenceDouble specifying the following:
Initial Pressure, $I$.
Product co-volume, $a$.
Exponent on the unreacted fraction (ignition term), $x$.
First burn rate coefficient, $G_{1}$
Exponent on the unreacted fraction (growth term), $c$.
Exponent on the reacted fraction (growth term), $d$.
Pressure exponent (growth term), $y$.
Second burn rate coefficient, $G_{2}$.
Exponent on the unreacted fraction (completion term), $e$.
Exponent on the reacted fraction (completion term), $g$.
Pressure exponent (completion term), $z$.
Initial reacted fraction, ${F^{max}}_{ig}$.
Maximum reacted fraction for the growth term, ${F^{max}}_{G1}$.
Minimum reacted fraction, ${F^{min}}_{G2}$.
The default value is an empty sequence.
- gasSpecificTable
An odb_SequenceSequenceDouble specifying the following:
Specific Heat per unit mass.
Temperature dependent data.
Value of first field variable.
Value of second field variable.
Etc.
The default value is an empty sequence.
- table
An odb_SequenceSequenceDouble specifying the items described below. The default value is an empty sequence.
Table data
If type=IDEALGAS, the table data represents the following:
If type=JWL, the table data represents the following:
Detonation wave speed, .
.
.
. (Dimensionless.)
. (Dimensionless.)
. (Dimensionless.)
Pre-detonation bulk modulus, .
Detonation energy density, .
If type=USUP, the table data represents the following:
.
. (Dimensionless.)
. (Dimensionless.)
If type=TABULAR, the table data represents the following:
Return value
An Eos object.