MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
macro-scale tool for the foaming process. More...
#include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
#include <math.h>
#include <vector>
#include <boost/array.hpp>
#include <boost/numeric/odeint.hpp>
#include <boost/range/numeric.hpp>
#include "modena.h"
#include "experimentalInputs.h"
#include "readParameters.h"
#include "initializeMoments.h"
#include "pda.h"
#include "growth.h"
#include "coalescence.h"
#include "liquidBA.h"
#include "partialPressure.h"
#include "modenaData.h"
#include "momentsConverter.h"
#include "write_kinetics.h"
#include "determinant.h"
#include "HankelHadamard.h"
#include "differenceTable.h"
#include "McGrawCorrection.h"
#include "WrightCorrection.h"
#include "modenaCalls.h"
Go to the source code of this file.
Typedefs | |
typedef std::vector< double > | state_type |
typedef runge_kutta_cash_karp54< state_type > | error_stepper_type |
typedef controlled_runge_kutta< error_stepper_type > | controlled_stepper_type |
Functions | |
void | dsteqr_ (char &, int *, double *, double *, double *, int *, double *, int *) |
void | QmomKinetics (const state_type &y, state_type &dydt, double t) |
This is to calculate the RHD of all the ODEs. More... | |
Variables | |
controlled_stepper_type | controlled_stepper |
double | dpdt [2] = {} |
This is used to compute the partial pressures. | |
double | pOld [2] = {} |
This is to hold the old pressure values during the partial pressure calculations. | |
macro-scale tool for the foaming process.
This is a macro-scale modeling tool for the foaming process. The code utilizes the MoDeNa interface library to connect different models including nano, and meso scale models. The code returns the evolution of foam properties such as density, temperature and bubble/cell size distribution.
Definition in file QmomKinetics.cpp.
QmomKinetics | ( | const state_type & | y, |
state_type & | dydt, | ||
double | t | ||
) |
This is to calculate the RHD of all the ODEs.
[in] | y | vector<double> to hold the results. |
[in] | dydt | vector<double> to hold the RHDs of ODEs. |
[in] | t | time |
Definition at line 109 of file QmomKinetics.cpp.
controlled_stepper |
Definition at line 80 of file QmomKinetics.cpp.