MoDeNa
1.0
Software framework facilitating sequential multi-scale modelling
|
Stores global variables. More...
Go to the source code of this file.
Modules | |
module | globals |
namespace with global variables | |
Variables | |
character(len=99) | globals::fileplacein |
location of input files | |
character(len=99) | globals::fileplaceout |
location of output files | |
character(len=99) | globals::inputs |
input file | |
character(len=99) | globals::outputs_1d |
output file with scalar variables | |
character(len=99) | globals::outputs_gr |
output file for the surrogate model fitting | |
character(len=99) | globals::outputs_c |
output file with concentration profiles | |
character(len=99) | globals::outputs_kin |
output file with variables of detailed kinetic model | |
character(len=99) | globals::outputs_drain |
output file for the wall drainage | |
character(len=99) | globals::outputs_af |
final foam properties for foam cond. and foam aging | |
character(len=99) | globals::geometry |
geometry 3D=spherical, 2D=cylindrical | |
logical | globals::inertial_term |
include inertial term in equations (t/f) | |
logical | globals::solcorr |
use solubility correction on bubble radius (t/f) | |
logical | globals::surfactantpresent |
surfactant is present - pcsaft caluclation (t/f) | |
logical | globals::gelpoint |
gel point reached (t/f) | |
logical | globals::dilution |
use dilution effect for kinetics (t/f) | |
logical | globals::shooting |
am I using shooting method (t/f) | |
integer | globals::fi1 |
integer | globals::fi2 |
integer | globals::fi3 |
integer | globals::fi4 |
integer | globals::fi5 |
file indices | |
integer | globals::integrator |
integrator. 1=dlsode,2=dlsodes | |
integer | globals::int_meth |
stiff or no? See MF for ODEPACK | |
integer | globals::p |
number of internal nodes | |
integer | globals::maxts |
maximum inner time steps between t and t+h More... | |
integer | globals::its |
number of outer integration outer time steps More... | |
integer | globals::visc_model |
viscosity model. 1=constant,2=Castro and Macosko,3=modena | |
integer | globals::rhop_model |
polymer density model. 1=constant,2=modena | |
integer | globals::itens_model |
interfacial tension model. 1=constant,2=modena | |
integer | globals::kin_model |
reaction kinetics model. | |
integer | globals::ngas |
number of dissolved gases | |
integer | globals::co2_pos |
carbon dioxide position | |
integer | globals::fceq |
first concentration equation (index) | |
integer | globals::fpeq |
first pressure equation (index) | |
integer | globals::lpeq |
last pressure equation (index) | |
integer | globals::req |
radius equation (index) | |
integer | globals::teq |
temperature equation (index) | |
integer | globals::xoheq |
polyol conversion equation (index) | |
integer | globals::xweq |
water conversion equation (index) | |
real(dp) | globals::mshco |
mesh coarsening parameter | |
real(dp) | globals::temp0 |
initial temperature | |
real(dp) | globals::r0 |
initial radius | |
real(dp) | globals::nb0 |
initial bubble number density | |
real(dp) | globals::sn |
how many times is initial shell larger than initial bubble radius | |
real(dp) | globals::oh0 |
initial concentration of polyol (don't set to zero) | |
real(dp) | globals::w0 |
initial concentration of water (can be zero) | |
real(dp) | globals::nco0 |
initial concentration of isocyanate | |
real(dp) | globals::catalyst |
concentration of catalyst | |
real(dp) | globals::polyol1_ini |
initial concentration of polyol 1 | |
real(dp) | globals::polyol2_ini |
initial concentration of polyol 2 | |
real(dp) | globals::amine_ini |
initial concentration of amine | |
real(dp) | globals::isocyanate1_ini |
initial concentration of isocyanate 1 | |
real(dp) | globals::isocyanate2_ini |
initial concentration of isocyanate 2 | |
real(dp) | globals::isocyanate3_ini |
initial concentration of isocyanate 3 | |
real(dp) | globals::aoh |
frequential factor of gelling reaction | |
real(dp) | globals::eoh |
activation energy of gelling reaction | |
real(dp) | globals::aw |
frequential factor of blowing reaction | |
real(dp) | globals::ew |
activation energy of blowing reaction | |
real(dp) | globals::dhoh |
gelling reaction enthalpy | |
real(dp) | globals::dhw |
blowing reaction enthalpy | |
real(dp) | globals::time |
time (s) | |
real(dp) | globals::radius |
bubble radius (m) | |
real(dp) | globals::laplace_pres |
Laplace pressure (Pa) | |
real(dp) | globals::eqconc |
equivalent concentration for first gas | |
real(dp), dimension(2) | globals::grrate |
growth rate | |
real(dp) | globals::st |
shell thickness | |
real(dp) | globals::s0 |
initial shell thickness | |
real(dp) | globals::rel_tol |
relative tolerance | |
real(dp) | globals::abs_tol |
absolute tolerance | |
real(dp) | globals::eta |
viscosity | |
real(dp) | globals::pamb |
ambient pressure (in the liquid) | |
real(dp) | globals::sigma |
interfacial tension | |
real(dp) | globals::rhop |
polymer density | |
real(dp) | globals::cp |
heat capacity of the reaction mixture | |
real(dp) | globals::cppol |
heat capacity of polymer | |
real(dp) | globals::rhobl |
density of liquid physical blowing agent | |
real(dp) | globals::porosity |
foam porosity | |
real(dp) | globals::rhofoam |
foam density | |
real(dp) | globals::pair0 |
initial partial pressure of air | |
real(dp) | globals::pair |
partial pressure of air | |
real(dp) | globals::timestep |
timestep More... | |
real(dp) | globals::goalradius |
final radius we want to achieve | |
real(dp), dimension(2) | globals::nold |
moles in bubble | |
real(dp) | globals::vsh |
shell volume | |
real(dp) | globals::temp |
temperature (K) More... | |
real(dp) | globals::conv |
conversion of polyol | |
real(dp) | globals::gelpointconv |
conversion of polyol at gel point | |
real(dp) | globals::rey |
Reynolds number. | |
real(dp) | globals::pairst |
non-dimensional air pressure | |
real(dp) | globals::pambst |
non-dimensional ambient pressure | |
real(dp) | globals::ca |
capillary number | |
integer, dimension(:), allocatable | globals::diff_model |
diffusivity model 1=constant,2=modena | |
integer, dimension(:), allocatable | globals::sol_model |
solubility model 1=constant,2=modena | |
integer, dimension(:), allocatable | globals::kineq |
kinetics state variable equations (indexes) | |
real(dp), dimension(:), allocatable | globals::y |
state variables | |
real(dp), dimension(:), allocatable | globals::cbl |
concentration profile in reaction mixture | |
real(dp), dimension(:), allocatable | globals::xgas |
initial molar fraction of gases in the bubble | |
real(dp), dimension(:), allocatable | globals::kinsource |
kinetic source term | |
real(dp), dimension(:), allocatable | globals::d |
diffusion coefficients (for each dissolved gas) | |
real(dp), dimension(:), allocatable | globals::d0 |
initial diffusion coefficients used in non-dimensional routines | |
real(dp), dimension(:), allocatable | globals::kh |
Henry constants (for each dissolved gas) | |
real(dp), dimension(:), allocatable | globals::mbl |
blowing agent molar mass (for each dissolved gas) | |
real(dp), dimension(:), allocatable | globals::dhv |
evaporation heat of blowing agent (for each gas) | |
real(dp), dimension(:), allocatable | globals::cpblg |
heat capacity of blowing agent in gas phase (for each gas) | |
real(dp), dimension(:), allocatable | globals::cpbll |
heat capacity of blowing agent in liquid phase (for each gas) | |
real(dp), dimension(:), allocatable | globals::mb |
moles in polymer | |
real(dp), dimension(:), allocatable | globals::mb2 |
moles in bubble | |
real(dp), dimension(:), allocatable | globals::mb3 |
total moles | |
real(dp), dimension(:), allocatable | globals::avconc |
average concentration in reaction mixture | |
real(dp), dimension(:), allocatable | globals::pressure |
partial pressure(Pa) More... | |
real(dp), dimension(:), allocatable | globals::wblpol |
weight fraction of blowing agents in reaction mixture | |
real(dp), dimension(:), allocatable | globals::dz |
spatial discretization | |
Stores global variables.
Defines variables, which are used throughout the program by many functions. Usually they are not passed as arguments.
Definition in file globals.f90.