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

Calculates material properties of the system. More...

Go to the source code of this file.

Functions/Subroutines

subroutine, public phys_prop::set_initial_physical_properties
 Determines physical properties at the beginning. More...
 
subroutine, public phys_prop::physical_properties (temp, conv, radius)
 Calculates values of physical properties. More...
 
real(dp) function, public phys_prop::rderiv (t)
 Time derivation of bubble radius as a function of time. More...
 
real(dp) function, public phys_prop::rb (t)
 Bubble radius as function of time. More...
 
subroutine phys_prop::rb_spline_ini
 Initialization of spline for bubble radius. More...
 

Variables

logical, public phys_prop::rb_initialized
 

Detailed Description

Calculates material properties of the system.

Author
Pavel Ferkl

Results are stored in global variables.

Definition in file phys_prop.f90.

Function/Subroutine Documentation

◆ physical_properties()

subroutine, public phys_prop::physical_properties ( real(dp), intent(in)  temp,
real(dp), intent(in)  conv,
real(dp), intent(in)  radius 
)

Calculates values of physical properties.

Updates viscosity, solubility, etc.

Parameters
[in]temptemperature
[in]convconversion
[in]radiusbubble radius

Definition at line 108 of file phys_prop.f90.

References globals::cbl, globals::cp, globals::cpbll, globals::cppol, globals::d, globals::diff_model, globals::eta, globals::gelpoint, globals::gelpointconv, globals::geometry, globals::itens_model, globals::kh, globals::mbl, globals::ngas, globals::pamb, globals::rhop, globals::sigma, globals::sol_model, globals::solcorr, and globals::visc_model.

◆ 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_spline_ini()

subroutine phys_prop::rb_spline_ini ( )

Initialization of spline for bubble radius.

Automatically called the first time the spline is used.

Definition at line 283 of file phys_prop.f90.

◆ rderiv()

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

Time derivation of bubble radius as a function of time.

Interpolates using a spline.

Parameters
[in]ttime

Definition at line 228 of file phys_prop.f90.

◆ set_initial_physical_properties()

subroutine, public phys_prop::set_initial_physical_properties ( )

Determines physical properties at the beginning.

Some properties can be set only at the beginning and they don't need to be updated durin the integration.

Definition at line 28 of file phys_prop.f90.

References globals::conv, globals::d, globals::d0, globals::gelpoint, globals::geometry, globals::its, globals::nb0, globals::pair0, globals::pamb, globals::r0, globals::radius, globals::rhop, globals::rhop_model, globals::s0, globals::sigma, globals::sn, globals::temp, globals::temp0, globals::time, globals::timestep, globals::vsh, and globals::xgas.