MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Recipe for Foam conductivity application. More...
Public Member Functions | |
def | task (self, fw_spec) |
This task is executed when fitting the surrogate model. | |
Recipe for Foam conductivity application.
This FireTask controls the execution of the detailed model of the Foam conductivity model. The detailed model is based on homogeneous phase approach. It predicts the conductivite and radiative properties of an effective homogenous medium and then simulates coupled conductive-radiative heat transfer in this medium.
In order to start the detailed model, the input values for the model are first written to the file "foamConductivity.json". The detailed model code picks them up from this file and performs the according calculation. Once it is done, the output value is written to the file "foamConductivity.out". This FireTask then reads in the calculated foam conductivity from the output file and inserts this value into the database.
Definition at line 89 of file foamConductivity.py.