libICEpost.Database.chemistry.thermo.Thermo.constantCp
@author: F. Ramognino <federico.ramognino@polimi.it> Last update: 12/06/2023
janaf7 thermodynamic propeties
Attributes
Functions
|
Add constantCp type Thermo to the database from a json file. |
Module Contents
- libICEpost.Database.chemistry.thermo.Thermo.constantCp.Molecules
- libICEpost.Database.chemistry.thermo.Thermo.constantCp.constantCp_db
- libICEpost.Database.chemistry.thermo.Thermo.constantCp.fromJson(fileName, typeName='Molecules')[source]
Add constantCp type Thermo to the database from a json file. Dictionaries containing either cp [J/kgK], cv [J/kgK], or gamma of the mixture, and hf [J/kg] (optional). The specie must be already present in the molecule database (database.chemistry.specie.Molecules) and the name of its dictionary consistent with it.
Example: {
“N2”: {
“cp”:1036.8, “hf”:0.0
}
}
- libICEpost.Database.chemistry.thermo.Thermo.constantCp.fileName