sources_viscosity.f90 File Reference

Go to the source code of this file.

Data Types

type  sources_viscosity_mod::sources_viscosity
 

Modules

module  sources_viscosity_mod
 computes momentum and energy sources due to shear stresses
 

Functions/Subroutines

subroutine sources_viscosity_mod::initsources_viscosity (this, Mesh, Physics, Fluxes, config, IO)
 
subroutine sources_viscosity_mod::setoutput (this, Mesh, Physics, config, IO)
 
subroutine sources_viscosity_mod::infosources (this, Mesh)
 
subroutine sources_viscosity_mod::updateviscosity (this, Mesh, Physics, Fluxes, time, pvar, cvar)
 updates dynamic and bulk viscosity More...
 
pure real function, dimension(size(ephir%data2d, dim=1)) omega (ephir, velocity)
 
elemental real function etafkt_alpha (alpha, density, cs, omega)
 
elemental real function etafkt_beta (beta, r, density, omega)
 
elemental real function etafkt_powerlaw (beta, q, r, density, omega)
 
subroutine sources_viscosity_mod::externalsources_single (this, Mesh, Physics, Fluxes, Sources, time, dt, pvar, cvar, sterm)
 
subroutine sources_viscosity_mod::calctimestep_single (this, Mesh, Physics, Fluxes, pvar, cvar, time, dt)
 
subroutine sources_viscosity_mod::finalize (this)
 

Variables

integer, parameter, public sources_viscosity_mod::molecular = 1
 
integer, parameter, public sources_viscosity_mod::alpha = 2
 
integer, parameter, public sources_viscosity_mod::beta = 3
 
integer, parameter, public sources_viscosity_mod::powerlaw = 4
 
integer, parameter, public sources_viscosity_mod::alpha_alt = 5
 
character(len=32), dimension(5), parameter, public sources_viscosity_mod::viscosity_name = (/ "constant viscosity ", "turbulent Shakura-Sunyaev ", "turbulent Duschl ", "power law viscosity ", "alternative Shakura-Sunyaev "/)
 

Function/Subroutine Documentation

◆ etafkt_alpha()

elemental real function updateviscosity::etafkt_alpha ( real, intent(in)  alpha,
real, intent(in)  density,
real, intent(in)  cs,
real, intent(in)  omega 
)
private

Definition at line 453 of file sources_viscosity.f90.

◆ etafkt_beta()

elemental real function updateviscosity::etafkt_beta ( real, intent(in)  beta,
real, intent(in)  r,
real, intent(in)  density,
real, intent(in)  omega 
)
private

Definition at line 463 of file sources_viscosity.f90.

◆ etafkt_powerlaw()

elemental real function updateviscosity::etafkt_powerlaw ( real, intent(in)  beta,
real, intent(in)  q,
real, intent(in)  r,
real, intent(in)  density,
real, intent(in)  omega 
)
private

Definition at line 475 of file sources_viscosity.f90.

◆ omega()

pure real function, dimension(size(ephir%data2d,dim=1)) updateviscosity::omega ( class(marray_base), intent(in)  ephir,
class(marray_base), intent(in)  velocity 
)

Definition at line 436 of file sources_viscosity.f90.