MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
partialPressure.h File Reference

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...
 

Detailed Description

functions related to the calculations of partial pressures

Definition in file partialPressure.h.

Function Documentation

◆ ddtpartialPressure()

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

Parameters
yvector of all the variables
ttime
dpdttime derivative of pressure
pOldpressure values at the previous time step
p_1partial pressure of blowing agent
p_2partial pressure of CO2
Rbubble radius
Returns
void

Definition at line 36 of file partialPressure.h.

◆ partialPressureBA()

double partialPressureBA ( const state_type &  y)

partial pressure of the physical blowing agent

Parameters
yvector of all the variables
Returns
partial pressure of the physical blowing agent

Definition at line 65 of file partialPressure.h.

References air_g, bubbleRadius(), M_air, M_B, M_CO2, Pr, and surfaceTension.

◆ partialPressureCO2()

double partialPressureCO2 ( const state_type &  y)

partial pressure of CO2

Parameters
yvector of all the variables
Returns
partial pressure of CO2

Definition at line 89 of file partialPressure.h.

References air_g, bubbleRadius(), M_air, M_B, M_CO2, Pr, and surfaceTension.