[−][src]Module lmb_engine_simulator::reaction::gas
Gas Struct
The Gas
struct is built from a .json file, use air.json
as reference.
In this file, there are two main structs: "phase"
and "species_data"
.
"speciesArray"
determines which species can exist in the gas.
"state"
determines the initial state of the gas upon instantiation.
"species_data"
is a vector containing information about all species in "speciesArray"
.
Therefore, every specie declared in "speciesArray"
must have your basic information declared in
"species_data"
. The order in which the data is added is not importante. There can be more
"specie_data"
than "speciesArray"
but never the opposite.
Structs
Gas | Struct of an ideal gas |