MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
QmomKinetics.cpp File Reference

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.
 

Detailed Description

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.

Authors
Mohsen Karimi, Daniele Marchisio, Pavel Ferkl
See also
http://onlinelibrary.wiley.com/doi/10.1002/mats.201500014/abstract

Definition in file QmomKinetics.cpp.

Function Documentation

◆ QmomKinetics()

QmomKinetics ( const state_type &  y,
state_type &  dydt,
double  t 
)

This is to calculate the RHD of all the ODEs.

Parameters
[in]yvector<double> to hold the results.
[in]dydtvector<double> to hold the RHDs of ODEs.
[in]ttime
Returns
void.

Definition at line 109 of file QmomKinetics.cpp.

Variable Documentation

◆ controlled_stepper