auxi.modelling.process.materials.core module¶
This module provides a material class that can do thermochemical calculations.
-
class
auxi.modelling.process.materials.core.
Material
(name, state_of_matter=<StateOfMatter.unknown: 0>, property_models=None, description=None)¶ Bases:
auxi.core.objects.NamedObject
Represents a material consisting of multiple chemical compounds, having the ability to do thermochemical calculations.
Parameters: - name – A name for the material.
- state_of_matter – The material’s state of matter, e.g. liquid.
- file_path – The location of the file containing the material’s data.
- description – the material’s description
-
Cp
(**state)¶ Calculate the Cp value given the material state.
Parameters: **state – material state
Returns: float
-
alpha
(**state)¶ Calculate the alpha value given the material state.
Parameters: **state – material state
Returns: float
-
beta
(**state)¶ Calculate the alpha value given the material state.
Parameters: **state – material state
Returns: float
-
k
(**state)¶ Calculate the k value given the material state.
Parameters: **state – material state
Returns: float
-
mstate
= None¶ State of matter.
-
mu
(**state)¶ Calculate the mu value given the material state.
Parameters: **state – material state
Returns: float
-
nu
(**state)¶ Calculate the nu value given the material state.
Parameters: **state – material state
Returns: float
-
rho
(**state)¶ Calculate the rho value given the material state.
Parameters: **state – material state
Returns: float