MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
This is a 0D example of the CFD code with the calls to the database using the MoDeNa interface. More...
Files | |
file | bubbleRadius.h |
functions related to the calculations of bubble radius. | |
file | coalescence.h |
Source term due to the bubble coalescence. | |
file | determinant.h |
Calcualte the determinant of an n by n matrix. | |
file | differenceTable.h |
Calculate difference table for the moments realizability check. | |
file | experimentalInputs.h |
All the experimental data required for the source terms calculations. | |
file | growth.h |
Source terms due to the bubble growth. | |
file | HankelHadamard.h |
checks for moments realizability | |
file | initializeMoments.h |
initializes the moments | |
file | liquidBA.h |
Maximum soluble physical blowing agent in the liquid mixture. | |
file | McGrawCorrection.h |
McGraw correction algorithm. | |
file | modenaCalls.h |
instantiate the surrogate models: | |
file | modenaData.h |
allocate memory for the surrogate models | |
file | momentsConverter.h |
Converts moments based on the unit volume of foam. | |
file | partialPressure.h |
functions related to the calculations of partial pressures | |
file | pda.h |
Product Difference Algorithm. | |
file | QmomKinetics.cpp |
macro-scale tool for the foaming process. | |
file | modenaCalls.h |
instantiate the surrogate models: | |
file | readParameters.h |
reads the inputs from input files. | |
file | WrightCorrection.h |
Wright corrections for moments realizability. | |
file | write_kinetics.h |
write the results into text files | |
Namespaces | |
CFD_tool_0D.QmomKinetics | |
Backward mapping Firetask for QmomKinetics model. | |
This is a 0D example of the CFD code with the calls to the database using the MoDeNa interface.
QmomKinetics( const state_type &y , state_type &dydt , double t )
function including:write_kinetics(y, t)
function appends the results into the different text files that can be later plotted. This function also computes the density of the foam based on the moments of BSD and converts the moments based on the unit volume of the foam. The main(int argc, char **argv)
function starts with the initialization of the solution. Then, a 'stepper' has been used to solve the ODEs. Further details on the integration method can be found here.sudo apt-get install libboost-dev
cmake .
make
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./eigen
./QmomKinetics