MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
functions related to the calculations of partial pressures More...
Go to the source code of this file.
Functions | |
void | ddtpartialPressure (const state_type &y, const double t, const double dt, double *dpdt, double *pOld, const double p_1, const double p_2, const double R) |
time derivative of partial pressure More... | |
bool | isNaN (double var) |
double | bubbleRadius (const double m0, const double m1) |
double | nodeRadius (const double &v) |
double | partialPressureBA (const state_type &y) |
partial pressure of the physical blowing agent More... | |
double | partialPressureCO2 (const state_type &y) |
partial pressure of CO2 More... | |
functions related to the calculations of partial pressures
Definition in file partialPressure.h.
void ddtpartialPressure | ( | const state_type & | y, |
const double | t, | ||
const double | dt, | ||
double * | dpdt, | ||
double * | pOld, | ||
const double | p_1, | ||
const double | p_2, | ||
const double | R | ||
) |
time derivative of partial pressure
y | vector of all the variables |
t | time |
dpdt | time derivative of pressure |
pOld | pressure values at the previous time step |
p_1 | partial pressure of blowing agent |
p_2 | partial pressure of CO2 |
R | bubble radius |
Definition at line 36 of file partialPressure.h.
double partialPressureBA | ( | const state_type & | y | ) |
partial pressure of the physical blowing agent
y | vector of all the variables |
Definition at line 65 of file partialPressure.h.
References air_g, bubbleRadius(), M_air, M_B, M_CO2, Pr, and surfaceTension.
double partialPressureCO2 | ( | const state_type & | y | ) |
partial pressure of CO2
y | vector of all the variables |
Definition at line 89 of file partialPressure.h.
References air_g, bubbleRadius(), M_air, M_B, M_CO2, Pr, and surfaceTension.