physics_eulerisotherm_mod Module Reference

physics module for 1D,2D and 3D isothermal Euler equations More...

Data Types

interface  cons2prim
 
type  physics_eulerisotherm
 
interface  prim2cons
 
interface  setflux
 
interface  statevector_eulerisotherm
 

Functions/Subroutines

pure subroutine calcfluxesx (this, Mesh, nmin, nmax, prim, cons, xfluxes)
 Calculate Fluxes in x-direction. More...
 

Variables

character(len=32), parameter problem_name = "Euler isotherm"
 

Variables

subroutine initphysics (this, Mesh, config, IO)
 Intialization of isothermal physics. More...
 
subroutine setoutput (this, Mesh, config, IO)
 Enables output of certain arrays defined in this class. More...
 
subroutine new_statevector (this, new_sv, flavour, num)
 allocate and initialize new isothermal state vector More...
 
subroutine setsoundspeeds_center (this, Mesh, bccsound)
 Sets soundspeeds at cell-centers. More...
 
subroutine setsoundspeeds_faces (this, Mesh, fcsound)
 Sets soundspeeds at cell-faces. More...
 
pure subroutine convert2primitive_all (this, cvar, pvar)
 Converts to primitives at cell centers using state vectors. More...
 
pure subroutine convert2primitive_subset (this, i1, i2, j1, j2, k1, k2, cvar, pvar)
 Converts to primitives at cell centers using state vectors. More...
 
pure subroutine convert2conservative_all (this, pvar, cvar)
 Converts primitive to conservative variables on the whole mesh. More...
 
pure subroutine convert2conservative_subset (this, i1, i2, j1, j2, k1, k2, pvar, cvar)
 Converts to primitive to conservative variables on a subset of the data. More...
 
pure subroutine calcwavespeeds_center (this, Mesh, pvar, minwav, maxwav)
 Calculates wave speeds at cell-centers. More...
 
pure subroutine calcwavespeeds_faces (this, Mesh, prim, cons, minwav, maxwav)
 Calculates wave speeds at cell-faces. More...
 
pure subroutine geometricalsources (this, Mesh, pvar, cvar, sterm)
 Calculates geometrical sources. More...
 
pure subroutine calcfluxesy (this, Mesh, nmin, nmax, prim, cons, yfluxes)
 Calculate Fluxes in y-direction. More...
 
pure subroutine calcfluxesz (this, Mesh, nmin, nmax, prim, cons, zfluxes)
 Calculate Fluxes in z-direction. More...
 
subroutine viscositysources (this, Mesh, pvar, btxx, btxy, btxz, btyy, btyz, btzz, sterm)
 compute viscous source terms More...
 
pure subroutine calcstresses (this, Mesh, pvar, dynvis, bulkvis, btxx, btxy, btxz, btyy, btyz, btzz)
 calculate components of the stress tensor More...
 
subroutine externalsources (this, accel, pvar, cvar, sterm)
 compute momentum sources given an external force More...
 
pure subroutine addbackgroundvelocityx (this, Mesh, w, pvar, cvar)
 
pure subroutine addbackgroundvelocityy (this, Mesh, w, pvar, cvar)
 
pure subroutine addbackgroundvelocityz (this, Mesh, w, pvar, cvar)
 
pure subroutine subtractbackgroundvelocityx (this, Mesh, w, pvar, cvar)
 
pure subroutine subtractbackgroundvelocityy (this, Mesh, w, pvar, cvar)
 
pure subroutine subtractbackgroundvelocityz (this, Mesh, w, pvar, cvar)
 
pure subroutine addfargosourcesx (this, Mesh, w, pvar, cvar, sterm)
 sources terms for fargo advection along x-direction More...
 
pure subroutine addfargosourcesy (this, Mesh, w, pvar, cvar, sterm)
 sources terms for fargo advection along y-direction More...
 
pure subroutine addfargosourcesz (this, Mesh, w, pvar, cvar, sterm)
 sources terms for fargo advection along z-direction More...
 
pure subroutine reflectionmasks (this, Mesh, reflX, reflY, reflZ)
 return masks for reflecting boundaries More...
 
pure subroutine axismasks (this, Mesh, reflX, reflY, reflZ)
 return masks for axis boundaries More...
 
pure subroutine calculatecharsystemx (this, Mesh, i1, i2, pvar, lambda, xvar)
 
pure subroutine calculatecharsystemy (this, Mesh, j1, j2, pvar, lambda, xvar)
 
pure subroutine calculatecharsystemz (this, Mesh, k1, k2, pvar, lambda, xvar)
 
pure subroutine calculateboundarydatax (this, Mesh, i1, i2, xvar, pvar)
 
pure subroutine calculateboundarydatay (this, Mesh, j1, j2, xvar, pvar)
 
pure subroutine calculateboundarydataz (this, Mesh, k1, k2, xvar, pvar)
 
pure subroutine calculateprim2riemannx (this, Mesh, i, pvar, lambda, Rinv)
 Conversion from primitive to riemann invariants for farfield boundaries. More...
 
pure subroutine calculateprim2riemanny (this, Mesh, j, pvar, lambda, Rinv)
 Conversion from primitive to riemann invariants for farfield boundaries. More...
 
pure subroutine calculateprim2riemannz (this, Mesh, k, pvar, lambda, Rinv)
 Conversion from primitive to riemann invariants for farfield boundaries. More...
 
pure subroutine calculateriemann2primx (this, Mesh, i, Rinv, pvar)
 Convert Riemann invariants to primitives for farfield boundaries. More...
 
pure subroutine calculateriemann2primy (this, Mesh, j, Rinv, pvar)
 Convert Riemann invariants to primitives for farfield boundaries. More...
 
pure subroutine calculateriemann2primz (this, Mesh, k, Rinv, pvar)
 Convert Riemann invariants to primitives for farfield boundaries. More...
 
subroutine finalize (this)
 Destructor of the physics_eulerisotherm class. More...
 
type(statevector_eulerisotherm) function createstatevector (Physics, flavour, num)
 Constructor of statevector_eulerisotherm. More...
 
subroutine assignmarray_0 (this, ma)
 assigns one state vector to another state vector More...
 
subroutine finalize_statevector (this)
 destructor of statevector_eulerisotherm More...
 
elemental subroutine setwavespeeds (cs, v, minwav, maxwav)
 set minimal and maximal wave speeds More...
 
elemental subroutine seteigenvalues1d (cs, v, l1, l2)
 compute all eigenvalues More...
 
elemental subroutine seteigenvalues2d (cs, v, l1, l2, l3)
 
elemental subroutine seteigenvalues3d (cs, v, l1, l2, l3, l4)
 
elemental subroutine setflux1d (cs, rho, u, mu, f1, f2)
 set mass and 1D momentum flux for transport along the 1st dimension More...
 
elemental subroutine setflux2d (cs, rho, u, mu, mv, f1, f2, f3)
 set mass and 2D momentum flux for transport along the 1st dimension More...
 
elemental subroutine setflux3d (cs, rho, u, mu, mv, mw, f1, f2, f3, f4)
 set mass and 3D momentum flux for transport along the 1st dimension More...
 
elemental subroutine cons2prim1d (rho_in, mu, rho_out, u)
 Convert from 1D conservative to primitive variables. More...
 
elemental subroutine cons2prim2d (rho_in, mu, mv, rho_out, u, v)
 Convert from 2D conservative to primitive variables. More...
 
elemental subroutine cons2prim3d (rho_in, mu, mv, mw, rho_out, u, v, w)
 Convert from 3D conservative to primitive variables. More...
 
elemental subroutine prim2cons1d (rho_in, u, rho_out, mu)
 Convert from 1D primitive to conservative variables. More...
 
elemental subroutine prim2cons2d (rho_in, u, v, rho_out, mu, mv)
 Convert from 2D primitive to conservative variables. More...
 
elemental subroutine prim2cons3d (rho_in, u, v, w, rho_out, mu, mv, mw)
 Convert from 3D primitive to conservative variables. More...
 
elemental subroutine setcharvars1d (cs, rho1, rho2, u1, u2, xvar1, xvar2)
 compute characteristic variables using adjacent primitve states More...
 
elemental subroutine setcharvars2d (cs, rho1, rho2, u1, u2, v1, v2, xvar1, xvar2, xvar3)
 compute characteristic variables using adjacent primitve states More...
 
elemental subroutine setcharvars3d (cs, rho1, rho2, u1, u2, v1, v2, w1, w2, xvar1, xvar2, xvar3, xvar4)
 compute characteristic variables using adjacent primitve states More...
 
elemental subroutine setboundarydata1d (delta, cs, rho1, u1, xvar1, xvar2, rho2, u2)
 extrapolate boundary values using primitve and characteristic variables More...
 
elemental subroutine setboundarydata2d (delta, cs, rho1, u1, v1, xvar1, xvar2, xvar3, rho2, u2, v2)
 
elemental subroutine setboundarydata3d (delta, cs, rho1, u1, v1, w1, xvar1, xvar2, xvar3, xvar4, rho2, u2, v2, w2)
 
elemental subroutine prim2riemann1d (cs, rho, vx, Rminus, Rplus)
 
elemental subroutine prim2riemann2d (cs, rho, vx, vy, Rminus, Rvt, Rplus)
 
elemental subroutine prim2riemann3d (cs, rho, vx, vy, vz, Rminus, Rvt, Rwt, Rplus)
 
elemental subroutine riemann2prim1d (cs, Rminus, Rplus, rho, vx)
 
elemental subroutine riemann2prim2d (cs, Rminus, Rvt, Rplus, rho, vx, vy)
 
elemental subroutine riemann2prim3d (cs, Rminus, Rvt, Rwt, Rplus, rho, vx, vy, vz)
 
elemental real function getgeometricalsourcex (cxyx, cxzx, cyxy, czxz, vx, vy, vz, P, my, mz)
 geometrical momentum source terms P is the either isothermal pressure rho*cs**2 or the real pressure. More...
 
elemental real function getgeometricalsourcey (cxyx, cyxy, cyzy, czyz, vx, vy, vz, P, mx, mz)
 y-momentum geometrical source term More...
 
elemental real function getgeometricalsourcez (cxzx, cyzy, czxz, czyz, vx, vy, vz, P, mx, my)
 z-momentum geometrical source term More...
 

Detailed Description

physics module for 1D,2D and 3D isothermal Euler equations

Author
Tobias Illenseer
Björn Sperling
Manuel Jung
Lars Boesch
Jannes Klee

Function/Subroutine Documentation

◆ addbackgroundvelocityx()

pure subroutine physics_eulerisotherm_mod::addbackgroundvelocityx ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1229 of file physics_eulerisotherm.f90.

◆ addbackgroundvelocityy()

pure subroutine physics_eulerisotherm_mod::addbackgroundvelocityy ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1263 of file physics_eulerisotherm.f90.

◆ addbackgroundvelocityz()

pure subroutine physics_eulerisotherm_mod::addbackgroundvelocityz ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1305 of file physics_eulerisotherm.f90.

◆ addfargosourcesx()

pure subroutine physics_eulerisotherm_mod::addfargosourcesx ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)

sources terms for fargo advection along x-direction

If the background velocity \(\vec{w}=w\,\hat{e}_\xi\) with \(w\) independent of \(\xi\) and \(t\) is subtracted from the overall velocity of the flow, an additional source term occurs in the \(\xi\)-momentum equation:

\[ S_\mathrm{Fargo} = -\varrho \vec{v} \cdot \nabla \vec{w} \]

where \(\vec{v}\) is the real velocity (including the background velocity \(\vec{w}\) ).

Definition at line 1462 of file physics_eulerisotherm.f90.

◆ addfargosourcesy()

pure subroutine physics_eulerisotherm_mod::addfargosourcesy ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)

sources terms for fargo advection along y-direction

If the background velocity \(\vec{w}=w\,\hat{e}_\eta\) with \(w\) independent of \(\eta\) and \(t\) is subtracted from the overall velocity of the flow, an additional source term occurs in the \(\eta\)-momentum equation:

\[ S_\mathrm{Fargo} = -\varrho \vec{v} \cdot \nabla \vec{w} \]

where \(\vec{v}\) is the real velocity (including the background velocity \(\vec{w}\) ).

Definition at line 1531 of file physics_eulerisotherm.f90.

◆ addfargosourcesz()

pure subroutine physics_eulerisotherm_mod::addfargosourcesz ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)

sources terms for fargo advection along z-direction

If the background velocity \(\vec{w}=w\,\hat{e}_phi\) with \(w\) independent of \(\phi\) and \(t\) is subtracted from the overall velocity of the flow, an additional source term occurs in the \(\phi\)-momentum equation:

\[ S_\mathrm{Fargo} = -\varrho \vec{v} \cdot \nabla \vec{w} \]

where \(\vec{v}\) is the real velocity (including the background velocity \(\vec{w}\) ).

Definition at line 1599 of file physics_eulerisotherm.f90.

◆ assignmarray_0()

subroutine physics_eulerisotherm_mod::assignmarray_0 ( class(statevector_eulerisotherm), intent(inout)  this,
class(marray_base), intent(in)  ma 
)
private

assigns one state vector to another state vector

Todo:
make this more generic, i.e. this should not depend on the position in the list of compound items

Definition at line 2668 of file physics_eulerisotherm.f90.

◆ axismasks()

pure subroutine physics_eulerisotherm_mod::axismasks ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
logical, dimension(this%vnum), intent(out)  reflX,
logical, dimension(this%vnum), intent(out)  reflY,
logical, dimension(this%vnum), intent(out)  reflZ 
)
private

return masks for axis boundaries

Warning
Not rigorously tested!

At axis boundaries we change the sign of normal velocities as in reflecting boundary conditions and in addition the sign of the tangential velocity in the plane perpendicular to the axis is changed.

Definition at line 1701 of file physics_eulerisotherm.f90.

◆ calcfluxesx()

pure subroutine physics_eulerisotherm_mod::calcfluxesx ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  nmin,
integer, intent(in)  nmax,
class(marray_compound), intent(inout)  prim,
class(marray_compound), intent(inout)  cons,
class(marray_compound), intent(inout)  xfluxes 
)

Calculate Fluxes in x-direction.

Definition at line 835 of file physics_eulerisotherm.f90.

◆ calcfluxesy()

pure subroutine physics_eulerisotherm_mod::calcfluxesy ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  nmin,
integer, intent(in)  nmax,
class(marray_compound), intent(inout)  prim,
class(marray_compound), intent(inout)  cons,
class(marray_compound), intent(inout)  yfluxes 
)
private

Calculate Fluxes in y-direction.

Definition at line 884 of file physics_eulerisotherm.f90.

◆ calcfluxesz()

pure subroutine physics_eulerisotherm_mod::calcfluxesz ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  nmin,
integer, intent(in)  nmax,
class(marray_compound), intent(inout)  prim,
class(marray_compound), intent(inout)  cons,
class(marray_compound), intent(inout)  zfluxes 
)
private

Calculate Fluxes in z-direction.

Definition at line 933 of file physics_eulerisotherm.f90.

◆ calcstresses()

pure subroutine physics_eulerisotherm_mod::calcstresses ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(marray_compound), intent(inout)  pvar,
class(marray_base), intent(inout)  dynvis,
class(marray_base), intent(inout)  bulkvis,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btxx,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btxy,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btxz,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btyy,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btyz,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(out)  btzz 
)
private

calculate components of the stress tensor

The components are computed at cell bary centers inside the computational domain including one slice of ghost cells.

Definition at line 1023 of file physics_eulerisotherm.f90.

◆ calculateboundarydatax()

pure subroutine physics_eulerisotherm_mod::calculateboundarydatax ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  i1,
integer, intent(in)  i2,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(in)  xvar,
class(marray_compound), intent(inout)  pvar 
)
private

Definition at line 2027 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateboundarydatay()

pure subroutine physics_eulerisotherm_mod::calculateboundarydatay ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  j1,
integer, intent(in)  j2,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(in)  xvar,
class(marray_compound), intent(inout)  pvar 
)
private

Definition at line 2088 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateboundarydataz()

pure subroutine physics_eulerisotherm_mod::calculateboundarydataz ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  k1,
integer, intent(in)  k2,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(in)  xvar,
class(marray_compound), intent(inout)  pvar 
)
private

Definition at line 2160 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculatecharsystemx()

pure subroutine physics_eulerisotherm_mod::calculatecharsystemx ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  i1,
integer, intent(in)  i2,
class(marray_compound), intent(inout)  pvar,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  xvar 
)
private

Definition at line 1764 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculatecharsystemy()

pure subroutine physics_eulerisotherm_mod::calculatecharsystemy ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  j1,
integer, intent(in)  j2,
class(marray_compound), intent(inout)  pvar,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  xvar 
)
private

Definition at line 1852 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculatecharsystemz()

pure subroutine physics_eulerisotherm_mod::calculatecharsystemz ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  k1,
integer, intent(in)  k2,
class(marray_compound), intent(inout)  pvar,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(out)  xvar 
)
private

Definition at line 1946 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateprim2riemannx()

pure subroutine physics_eulerisotherm_mod::calculateprim2riemannx ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  i,
class(marray_compound), intent(in)  pvar,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  Rinv 
)
private

Conversion from primitive to riemann invariants for farfield boundaries.

Definition at line 2222 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateprim2riemanny()

pure subroutine physics_eulerisotherm_mod::calculateprim2riemanny ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  j,
class(marray_compound), intent(in)  pvar,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(out)  Rinv 
)
private

Conversion from primitive to riemann invariants for farfield boundaries.

Definition at line 2295 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateprim2riemannz()

pure subroutine physics_eulerisotherm_mod::calculateprim2riemannz ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  k,
class(marray_compound), intent(in)  pvar,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(out)  lambda,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(out)  Rinv 
)
private

Conversion from primitive to riemann invariants for farfield boundaries.

Definition at line 2370 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateriemann2primx()

pure subroutine physics_eulerisotherm_mod::calculateriemann2primx ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  i,
real, dimension(mesh%jmin:mesh%jmax,mesh%kmin:mesh%kmax,this%vnum), intent(in)  Rinv,
class(marray_compound), intent(inout)  pvar 
)
private

Convert Riemann invariants to primitives for farfield boundaries.

Definition at line 2446 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateriemann2primy()

pure subroutine physics_eulerisotherm_mod::calculateriemann2primy ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  j,
real, dimension(mesh%imin:mesh%imax,mesh%kmin:mesh%kmax,this%vnum), intent(in)  Rinv,
class(marray_compound), intent(inout)  pvar 
)
private

Convert Riemann invariants to primitives for farfield boundaries.

Definition at line 2494 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calculateriemann2primz()

pure subroutine physics_eulerisotherm_mod::calculateriemann2primz ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
integer, intent(in)  k,
real, dimension(mesh%imin:mesh%imax,mesh%jmin:mesh%jmax,this%vnum), intent(in)  Rinv,
class(marray_compound), intent(inout)  pvar 
)
private

Convert Riemann invariants to primitives for farfield boundaries.

Definition at line 2542 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calcwavespeeds_center()

pure subroutine physics_eulerisotherm_mod::calcwavespeeds_center ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(marray_compound), intent(inout)  pvar,
type(marray_base), intent(inout)  minwav,
type(marray_base), intent(inout)  maxwav 
)
private

Calculates wave speeds at cell-centers.

Definition at line 530 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ calcwavespeeds_faces()

pure subroutine physics_eulerisotherm_mod::calcwavespeeds_faces ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,mesh%nfaces,this%vnum), intent(in)  prim,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,mesh%nfaces,this%vnum), intent(in)  cons,
type(marray_base), intent(inout)  minwav,
type(marray_base), intent(inout)  maxwav 
)
private

Calculates wave speeds at cell-faces.

Definition at line 555 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ cons2prim1d()

elemental subroutine physics_eulerisotherm_mod::cons2prim1d ( real, intent(in)  rho_in,
real, intent(in)  mu,
real, intent(out)  rho_out,
real, intent(out)  u 
)
private

Convert from 1D conservative to primitive variables.

Definition at line 2820 of file physics_eulerisotherm.f90.

◆ cons2prim2d()

elemental subroutine physics_eulerisotherm_mod::cons2prim2d ( real, intent(in)  rho_in,
real, intent(in)  mu,
real, intent(in)  mv,
real, intent(out)  rho_out,
real, intent(out)  u,
real, intent(out)  v 
)
private

Convert from 2D conservative to primitive variables.

Definition at line 2831 of file physics_eulerisotherm.f90.

◆ cons2prim3d()

elemental subroutine physics_eulerisotherm_mod::cons2prim3d ( real, intent(in)  rho_in,
real, intent(in)  mu,
real, intent(in)  mv,
real, intent(in)  mw,
real, intent(out)  rho_out,
real, intent(out)  u,
real, intent(out)  v,
real, intent(out)  w 
)
private

Convert from 3D conservative to primitive variables.

Definition at line 2846 of file physics_eulerisotherm.f90.

◆ convert2conservative_all()

pure subroutine physics_eulerisotherm_mod::convert2conservative_all ( class(physics_eulerisotherm), intent(in)  this,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Converts primitive to conservative variables on the whole mesh.

Definition at line 421 of file physics_eulerisotherm.f90.

◆ convert2conservative_subset()

pure subroutine physics_eulerisotherm_mod::convert2conservative_subset ( class(physics_eulerisotherm), intent(in)  this,
integer, intent(in)  i1,
integer, intent(in)  i2,
integer, intent(in)  j1,
integer, intent(in)  j2,
integer, intent(in)  k1,
integer, intent(in)  k2,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Converts to primitive to conservative variables on a subset of the data.

Definition at line 456 of file physics_eulerisotherm.f90.

◆ convert2primitive_all()

pure subroutine physics_eulerisotherm_mod::convert2primitive_all ( class(physics_eulerisotherm), intent(in)  this,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  pvar 
)
private

Converts to primitives at cell centers using state vectors.

Definition at line 312 of file physics_eulerisotherm.f90.

◆ convert2primitive_subset()

pure subroutine physics_eulerisotherm_mod::convert2primitive_subset ( class(physics_eulerisotherm), intent(in)  this,
integer, intent(in)  i1,
integer, intent(in)  i2,
integer, intent(in)  j1,
integer, intent(in)  j2,
integer, intent(in)  k1,
integer, intent(in)  k2,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  pvar 
)
private

Converts to primitives at cell centers using state vectors.

Definition at line 347 of file physics_eulerisotherm.f90.

◆ createstatevector()

type(statevector_eulerisotherm) function physics_eulerisotherm_mod::createstatevector ( class(physics_eulerisotherm), intent(in)  Physics,
integer, intent(in), optional  flavour,
integer, intent(in), optional  num 
)

Constructor of statevector_eulerisotherm.

methods of class statevector_eulerisotherm

This is not a class member itself, instead its an ordinary module procedure. The function name is overloaded with the class name.

Definition at line 2605 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ externalsources()

subroutine physics_eulerisotherm_mod::externalsources ( class(physics_eulerisotherm), intent(in)  this,
class(marray_base), intent(in)  accel,
class(marray_compound), intent(in)  pvar,
class(marray_compound), intent(in)  cvar,
class(marray_compound), intent(inout)  sterm 
)
private

compute momentum sources given an external force

Definition at line 1201 of file physics_eulerisotherm.f90.

◆ finalize()

subroutine physics_eulerisotherm_mod::finalize ( class(physics_eulerisotherm), intent(inout)  this)

Destructor of the physics_eulerisotherm class.

Definition at line 2588 of file physics_eulerisotherm.f90.

◆ finalize_statevector()

subroutine physics_eulerisotherm_mod::finalize_statevector ( type(statevector_eulerisotherm), intent(inout)  this)
private

destructor of statevector_eulerisotherm

Definition at line 2727 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ geometricalsources()

pure subroutine physics_eulerisotherm_mod::geometricalsources ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)
private

Calculates geometrical sources.

Definition at line 689 of file physics_eulerisotherm.f90.

Here is the call graph for this function:

◆ getgeometricalsourcex()

elemental real function physics_eulerisotherm_mod::getgeometricalsourcex ( real, intent(in)  cxyx,
real, intent(in)  cxzx,
real, intent(in)  cyxy,
real, intent(in)  czxz,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(in)  vz,
real, intent(in)  P,
real, intent(in)  my,
real, intent(in)  mz 
)
private

geometrical momentum source terms P is the either isothermal pressure rho*cs**2 or the real pressure.

Attention
These elemental functions exist multiple times for performance reasons (inlining). Please keep this in mind for changes. Other modules with this function:

x-momentum geometrical source term

Definition at line 3069 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getgeometricalsourcey()

elemental real function physics_eulerisotherm_mod::getgeometricalsourcey ( real, intent(in)  cxyx,
real, intent(in)  cyxy,
real, intent(in)  cyzy,
real, intent(in)  czyz,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(in)  vz,
real, intent(in)  P,
real, intent(in)  mx,
real, intent(in)  mz 
)
private

y-momentum geometrical source term

Definition at line 3080 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getgeometricalsourcez()

elemental real function physics_eulerisotherm_mod::getgeometricalsourcez ( real, intent(in)  cxzx,
real, intent(in)  cyzy,
real, intent(in)  czxz,
real, intent(in)  czyz,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(in)  vz,
real, intent(in)  P,
real, intent(in)  mx,
real, intent(in)  my 
)
private

z-momentum geometrical source term

Definition at line 3091 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initphysics()

subroutine physics_eulerisotherm_mod::initphysics ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)
private

Intialization of isothermal physics.

methods of class physics_eulerisotherm
  • calls intialization of base routines of physics
  • set array indices, names and number of dimensions
Todo:
remove / improve in future version set array indices for 1st,2nd,3rd non-vanishing velocities this may actually not coincide with the x,y and z-velocities

Definition at line 161 of file physics_eulerisotherm.f90.

◆ new_statevector()

subroutine physics_eulerisotherm_mod::new_statevector ( class(physics_eulerisotherm), intent(in)  this,
class(marray_compound), pointer  new_sv,
integer, intent(in), optional  flavour,
integer, intent(in), optional  num 
)

allocate and initialize new isothermal state vector

Definition at line 270 of file physics_eulerisotherm.f90.

◆ prim2cons1d()

elemental subroutine physics_eulerisotherm_mod::prim2cons1d ( real, intent(in)  rho_in,
real, intent(in)  u,
real, intent(out)  rho_out,
real, intent(out)  mu 
)
private

Convert from 1D primitive to conservative variables.

Definition at line 2862 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ prim2cons2d()

elemental subroutine physics_eulerisotherm_mod::prim2cons2d ( real, intent(in)  rho_in,
real, intent(in)  u,
real, intent(in)  v,
real, intent(out)  rho_out,
real, intent(out)  mu,
real, intent(out)  mv 
)
private

Convert from 2D primitive to conservative variables.

Definition at line 2873 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ prim2cons3d()

elemental subroutine physics_eulerisotherm_mod::prim2cons3d ( real, intent(in)  rho_in,
real, intent(in)  u,
real, intent(in)  v,
real, intent(in)  w,
real, intent(out)  rho_out,
real, intent(out)  mu,
real, intent(out)  mv,
real, intent(out)  mw 
)
private

Convert from 3D primitive to conservative variables.

Definition at line 2884 of file physics_eulerisotherm.f90.

◆ prim2riemann1d()

elemental subroutine physics_eulerisotherm_mod::prim2riemann1d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  vx,
real, intent(out)  Rminus,
real, intent(out)  Rplus 
)
private

Definition at line 2973 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ prim2riemann2d()

elemental subroutine physics_eulerisotherm_mod::prim2riemann2d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(out)  Rminus,
real, intent(out)  Rvt,
real, intent(out)  Rplus 
)
private

Definition at line 2991 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ prim2riemann3d()

elemental subroutine physics_eulerisotherm_mod::prim2riemann3d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  vx,
real, intent(in)  vy,
real, intent(in)  vz,
real, intent(out)  Rminus,
real, intent(out)  Rvt,
real, intent(out)  Rwt,
real, intent(out)  Rplus 
)
private

Definition at line 3005 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reflectionmasks()

pure subroutine physics_eulerisotherm_mod::reflectionmasks ( class(physics_eulerisotherm), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
logical, dimension(this%vnum), intent(out)  reflX,
logical, dimension(this%vnum), intent(out)  reflY,
logical, dimension(this%vnum), intent(out)  reflZ 
)
private

return masks for reflecting boundaries

At axis boundaries we change the sign of normal velocities at each boundary.

Definition at line 1659 of file physics_eulerisotherm.f90.

◆ riemann2prim1d()

elemental subroutine physics_eulerisotherm_mod::riemann2prim1d ( real, intent(in)  cs,
real, intent(in)  Rminus,
real, intent(in)  Rplus,
real, intent(out)  rho,
real, intent(out)  vx 
)
private

Definition at line 3017 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ riemann2prim2d()

elemental subroutine physics_eulerisotherm_mod::riemann2prim2d ( real, intent(in)  cs,
real, intent(in)  Rminus,
real, intent(in)  Rvt,
real, intent(in)  Rplus,
real, intent(out)  rho,
real, intent(out)  vx,
real, intent(out)  vy 
)
private

Definition at line 3031 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ riemann2prim3d()

elemental subroutine physics_eulerisotherm_mod::riemann2prim3d ( real, intent(in)  cs,
real, intent(in)  Rminus,
real, intent(in)  Rvt,
real, intent(in)  Rwt,
real, intent(in)  Rplus,
real, intent(out)  rho,
real, intent(out)  vx,
real, intent(out)  vy,
real, intent(out)  vz 
)
private

Definition at line 3047 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setboundarydata1d()

elemental subroutine physics_eulerisotherm_mod::setboundarydata1d ( integer, intent(in)  delta,
real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  u1,
real, intent(in)  xvar1,
real, intent(in)  xvar2,
real, intent(out)  rho2,
real, intent(out)  u2 
)
private

extrapolate boundary values using primitve and characteristic variables

Definition at line 2936 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setboundarydata2d()

elemental subroutine physics_eulerisotherm_mod::setboundarydata2d ( integer, intent(in)  delta,
real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  u1,
real, intent(in)  v1,
real, intent(in)  xvar1,
real, intent(in)  xvar2,
real, intent(in)  xvar3,
real, intent(out)  rho2,
real, intent(out)  u2,
real, intent(out)  v2 
)
private

Definition at line 2947 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setboundarydata3d()

elemental subroutine physics_eulerisotherm_mod::setboundarydata3d ( integer, intent(in)  delta,
real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  u1,
real, intent(in)  v1,
real, intent(in)  w1,
real, intent(in)  xvar1,
real, intent(in)  xvar2,
real, intent(in)  xvar3,
real, intent(in)  xvar4,
real, intent(out)  rho2,
real, intent(out)  u2,
real, intent(out)  v2,
real, intent(out)  w2 
)
private

Definition at line 2959 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setcharvars1d()

elemental subroutine physics_eulerisotherm_mod::setcharvars1d ( real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  rho2,
real, intent(in)  u1,
real, intent(in)  u2,
real, intent(out)  xvar1,
real, intent(out)  xvar2 
)
private

compute characteristic variables using adjacent primitve states

Definition at line 2895 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setcharvars2d()

elemental subroutine physics_eulerisotherm_mod::setcharvars2d ( real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  rho2,
real, intent(in)  u1,
real, intent(in)  u2,
real, intent(in)  v1,
real, intent(in)  v2,
real, intent(out)  xvar1,
real, intent(out)  xvar2,
real, intent(out)  xvar3 
)
private

compute characteristic variables using adjacent primitve states

Definition at line 2911 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setcharvars3d()

elemental subroutine physics_eulerisotherm_mod::setcharvars3d ( real, intent(in)  cs,
real, intent(in)  rho1,
real, intent(in)  rho2,
real, intent(in)  u1,
real, intent(in)  u2,
real, intent(in)  v1,
real, intent(in)  v2,
real, intent(in)  w1,
real, intent(in)  w2,
real, intent(out)  xvar1,
real, intent(out)  xvar2,
real, intent(out)  xvar3,
real, intent(out)  xvar4 
)
private

compute characteristic variables using adjacent primitve states

Definition at line 2922 of file physics_eulerisotherm.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ seteigenvalues1d()

elemental subroutine physics_eulerisotherm_mod::seteigenvalues1d ( real, intent(in)  cs,
real, intent(in)  v,
real, intent(out)  l1,
real, intent(out)  l2 
)
private

compute all eigenvalues

Definition at line 2753 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ seteigenvalues2d()

elemental subroutine physics_eulerisotherm_mod::seteigenvalues2d ( real, intent(in)  cs,
real, intent(in)  v,
real, intent(out)  l1,
real, intent(out)  l2,
real, intent(out)  l3 
)
private

Definition at line 2763 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ seteigenvalues3d()

elemental subroutine physics_eulerisotherm_mod::seteigenvalues3d ( real, intent(in)  cs,
real, intent(in)  v,
real, intent(out)  l1,
real, intent(out)  l2,
real, intent(out)  l3,
real, intent(out)  l4 
)
private

Definition at line 2774 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setflux1d()

elemental subroutine physics_eulerisotherm_mod::setflux1d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  u,
real, intent(in)  mu,
real, intent(out)  f1,
real, intent(out)  f2 
)
private

set mass and 1D momentum flux for transport along the 1st dimension

Definition at line 2787 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setflux2d()

elemental subroutine physics_eulerisotherm_mod::setflux2d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  u,
real, intent(in)  mu,
real, intent(in)  mv,
real, intent(out)  f1,
real, intent(out)  f2,
real, intent(out)  f3 
)
private

set mass and 2D momentum flux for transport along the 1st dimension

Definition at line 2798 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setflux3d()

elemental subroutine physics_eulerisotherm_mod::setflux3d ( real, intent(in)  cs,
real, intent(in)  rho,
real, intent(in)  u,
real, intent(in)  mu,
real, intent(in)  mv,
real, intent(in)  mw,
real, intent(out)  f1,
real, intent(out)  f2,
real, intent(out)  f3,
real, intent(out)  f4 
)
private

set mass and 3D momentum flux for transport along the 1st dimension

Definition at line 2809 of file physics_eulerisotherm.f90.

◆ setoutput()

subroutine physics_eulerisotherm_mod::setoutput ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)
private

Enables output of certain arrays defined in this class.

Definition at line 248 of file physics_eulerisotherm.f90.

◆ setsoundspeeds_center()

subroutine physics_eulerisotherm_mod::setsoundspeeds_center ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  bccsound 
)
private

Sets soundspeeds at cell-centers.

Definition at line 288 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setsoundspeeds_faces()

subroutine physics_eulerisotherm_mod::setsoundspeeds_faces ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,mesh%nfaces), intent(in)  fcsound 
)
private

Sets soundspeeds at cell-faces.

Definition at line 300 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ setwavespeeds()

elemental subroutine physics_eulerisotherm_mod::setwavespeeds ( real, intent(in)  cs,
real, intent(in)  v,
real, intent(out)  minwav,
real, intent(out)  maxwav 
)
private

set minimal and maximal wave speeds

elemental non-class subroutines / functions

Definition at line 2742 of file physics_eulerisotherm.f90.

Here is the caller graph for this function:

◆ subtractbackgroundvelocityx()

pure subroutine physics_eulerisotherm_mod::subtractbackgroundvelocityx ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1339 of file physics_eulerisotherm.f90.

◆ subtractbackgroundvelocityy()

pure subroutine physics_eulerisotherm_mod::subtractbackgroundvelocityy ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%kgmin:mesh%kgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1373 of file physics_eulerisotherm.f90.

◆ subtractbackgroundvelocityz()

pure subroutine physics_eulerisotherm_mod::subtractbackgroundvelocityz ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax), intent(in)  w,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar 
)
private

Definition at line 1415 of file physics_eulerisotherm.f90.

◆ viscositysources()

subroutine physics_eulerisotherm_mod::viscositysources ( class(physics_eulerisotherm), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(marray_compound), intent(inout)  pvar,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btxx,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btxy,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btxz,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btyy,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btyz,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax), intent(in)  btzz,
class(marray_compound), intent(inout)  sterm 
)
private

compute viscous source terms

Definition at line 982 of file physics_eulerisotherm.f90.

Variable Documentation

◆ problem_name

character(len=32), parameter physics_eulerisotherm_mod::problem_name = "Euler isotherm"
private

Definition at line 54 of file physics_eulerisotherm.f90.