MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
phys_prop.f90 File Reference

Physical properties. More...

Go to the source code of this file.

Functions/Subroutines

pure subroutine, public phys_prop::volume_balance (y, vt, fs)
 Checks whether we are losing some mass or not. More...
 
pure subroutine, public phys_prop::dispress (h, dispr, dph)
 Disjoining pressure. More...
 
subroutine, public phys_prop::min_film_thickness (y, hmin, hloc, havg)
 Minimum film thickness and its distance from the center. More...
 
real(dp) function, public phys_prop::rb_der (t)
 Time derivation of bubble radius as function of time. More...
 
real(dp) function, public phys_prop::rb (t)
 Bubble radius as function of time. More...
 
subroutine, public phys_prop::rb_spline_ini (bblgr_res)
 Initialization of spline for bubble radius. More...
 
real(dp) function, public phys_prop::porosity (t)
 Porosity as function of time. More...
 
subroutine, public phys_prop::porosity_spline_ini (bblgr_res)
 Initialization of spline for porosity. More...
 
real(dp) function, public phys_prop::visc (t)
 Viscosity as function of time. More...
 
subroutine, public phys_prop::visc_spline_ini (bblgr_res)
 Initialization of spline for viscosity. More...
 

Detailed Description

Physical properties.

Author
Pavel Ferkl

Holds subroutines, which evaluate the current value of physical or foam properties.

Definition in file phys_prop.f90.

Function/Subroutine Documentation

◆ dispress()

pure subroutine, public phys_prop::dispress ( real(dp), intent(in)  h,
real(dp), intent(out)  dispr,
real(dp), intent(out)  dph 
)

Disjoining pressure.

Parameters
[in]hfilm half-thickness
[out]disprdisjoining pressure
[out]dphderivative of disjoining pressure

Definition at line 50 of file phys_prop.f90.

References globals::bdp, globals::cdp, globals::hdp, globals::mdp, and globals::ndp.

◆ min_film_thickness()

subroutine, public phys_prop::min_film_thickness ( real(dp), dimension(:), intent(in)  y,
real(dp), intent(out)  hmin,
real(dp), intent(out)  hloc,
real(dp), intent(out)  havg 
)

Minimum film thickness and its distance from the center.

Parameters
[in]yintegrated variables
[out]hminminimum film half-thickness
[out]hlocradius at minumum film half-thickness
[out]havgaverage film half-thickness

Definition at line 64 of file phys_prop.f90.

References globals::dr, and globals::strutfilmparameter.

◆ porosity()

real(dp) function, public phys_prop::porosity ( real(dp), intent(in)  t)

Porosity as function of time.

Parameters
[in]ttime

Definition at line 145 of file phys_prop.f90.

References porosity().

◆ porosity_spline_ini()

subroutine, public phys_prop::porosity_spline_ini ( real(dp), dimension(:,:), intent(in)  bblgr_res)

Initialization of spline for porosity.

Parameters
[in]bblgr_resresults of the bubble growth simulation

Definition at line 161 of file phys_prop.f90.

◆ rb()

real(dp) function, public phys_prop::rb ( real(dp), intent(in)  t)

Bubble radius as function of time.

Interpolates using a spline.

Parameters
[in]ttime
[in]ttime

Definition at line 254 of file phys_prop.f90.

◆ rb_der()

real(dp) function, public phys_prop::rb_der ( real(dp), intent(in)  t)

Time derivation of bubble radius as function of time.

Parameters
[in]ttime

Definition at line 89 of file phys_prop.f90.

◆ rb_spline_ini()

subroutine, public phys_prop::rb_spline_ini ( real(dp), dimension(:,:), intent(in)  bblgr_res)

Initialization of spline for bubble radius.

Parameters
[in]bblgr_resresults of the bubble growth simulation

Definition at line 122 of file phys_prop.f90.

◆ visc()

real(dp) function, public phys_prop::visc ( real(dp), intent(in)  t)

Viscosity as function of time.

Parameters
[in]ttime

Definition at line 184 of file phys_prop.f90.

◆ visc_spline_ini()

subroutine, public phys_prop::visc_spline_ini ( real(dp), dimension(:,:), intent(in)  bblgr_res)

Initialization of spline for viscosity.

Parameters
[in]bblgr_resresults of the bubble growth simulation

Definition at line 200 of file phys_prop.f90.

◆ volume_balance()

pure subroutine, public phys_prop::volume_balance ( real(dp), dimension(:), intent(in)  y,
real(dp), intent(out)  vt,
real(dp), intent(out)  fs 
)

Checks whether we are losing some mass or not.

Parameters
[out]fsstrut content
[out]vttotal volume
[in]yintegrated variables

Definition at line 24 of file phys_prop.f90.

References globals::dr, globals::rc, globals::rd, and globals::strutfilmparameter.