MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling

Physical model for wall formation. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public model::odesystem (neq, t, y, ydot)
 Model supplied to integrator. More...
 
subroutine, public model::set_initial_conditions (y)
 Disjoining pressure. More...
 
subroutine, public model::update_domain_size (t, y)
 Recalculates domain size and mesh spacing. More...
 

Variables

real(dp), public model::q
 flux into domain from strut
 

Detailed Description

Physical model for wall formation.

Author
Pavel Ferkl

Holds the discretized model for the wall formation simulation.

Definition in file model.f90.

Function/Subroutine Documentation

◆ odesystem()

subroutine public model::odesystem ( integer, intent(in)  neq,
real(dp), intent(in)  t,
real(dp), dimension(neq), intent(in)  y,
real(dp), dimension(neq), intent(out)  ydot 
)

Model supplied to integrator.

Implementation of the ODEs.

Bubble growth model. Discretized by FVM, nonequidistant mesh.

Parameters
[in]neqnumber of equations
[in]ttime
[in]yintegrated variables
[out]ydotderivatives of integrated variables

FVM, equidistant mesh, cylindrical geometry, sin(alpha)=(dh/dr)/(1+(dh/dr)**2)

Parameters
[in]neqnumber of equations
[in]ttime
[in]yintegrated variables
[out]ydotderivatives of integrated variables

Definition at line 22 of file model.f90.

References globals::aoh, globals::aw, globals::co2_pos, globals::cp, globals::d, globals::dhoh, globals::dhv, globals::dhw, globals::dilution, globals::dz, globals::eoh, globals::eta, globals::ew, globals::fceq, globals::fpeq, globals::geometry, globals::inertial_term, globals::kh, globals::kin_model, globals::kineq, globals::kinsource, globals::lpeq, globals::mb, globals::mbl, globals::nco0, globals::ngas, globals::oh0, globals::p, globals::pair, globals::pamb, globals::radius, globals::req, globals::rhobl, globals::rhop, globals::sigma, globals::temp, globals::teq, globals::time, globals::vsh, globals::w0, globals::xoheq, and globals::xweq.

◆ set_initial_conditions()

subroutine, public model::set_initial_conditions ( real(dp), dimension(:), intent(out)  y)

Disjoining pressure.

Parameters
[out]yintegrated variables

Definition at line 127 of file model.f90.

References globals::dr, globals::dstr, globals::growthratemodel, globals::hi, globals::initialtime, globals::its, globals::rc, globals::rc0, globals::rd, globals::timestep, and globals::viscositymodel.

◆ update_domain_size()

subroutine, public model::update_domain_size ( real(dp), intent(in)  t,
real(dp), dimension(:), intent(in)  y 
)

Recalculates domain size and mesh spacing.

Calculates rc,rd,dr.

Parameters
[in]ttime
[in]yintegrated variables

Definition at line 179 of file model.f90.

References globals::dr, globals::gr, globals::growthratemodel, globals::hi, globals::rc, globals::rc0, and globals::rd.