MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Surrogate model and Firetasks for Foam conductivity model. More...
Data Structures | |
class | FoamConductivityExactTask |
Recipe for Foam conductivity application. More... | |
Variables | |
FLOAT_REPR | |
adjust precision of floats when saving json files | |
f_foamConductivity | |
Surrogate function for thermal conductivity of the foam. More... | |
foaming_ini = json.load(fl) | |
m_foamConductivity | |
Surrogate model for foam conductivity. More... | |
m_simulation | |
Foam conductivity simulation. More... | |
Surrogate model and Firetasks for Foam conductivity model.
Contains a FireTask, which runs the detailed model and copies the results into the results folder. The relative path and name of the detailed model executable are hard coded. The FireTask is BackwardMapping, which means that if one of the lower scale backward mapping models will get out of validity range that model will be re-fitted to larger range and the detailed model will be re-run. This is repeated until the detailed model succesfully finishes (or possibly crashes for other reason, in which case an error is printed out).
Also contains a definition of surrogate function and surrogate model. The surrogate model is Backward mapping. Thus, it can be automatically re-fitted using the prepared ExactTask, which executes the detailed model, reads the results and stores them in the database.
foamConductivity.foamConductivity.f_foamConductivity |
Surrogate function for thermal conductivity of the foam.
Foam conductivity is a function of porosity, cell size, strut content, conductivity of gas and solid phase and temperature.
Definition at line 161 of file foamConductivity.py.
foamConductivity.foamConductivity.m_foamConductivity |
Surrogate model for foam conductivity.
Backward mapping model is used. Gas and polymer conductivity are taken from substitute models.
Definition at line 226 of file foamConductivity.py.
foamConductivity.foamConductivity.m_simulation |
Foam conductivity simulation.
Runs the detailed model and saves the results. For the case, when only foam conductivity and no aging is needed.
Definition at line 254 of file foamConductivity.py.