physics_euler.f90 File Reference

Go to the source code of this file.

Data Types

type  physics_euler_mod::physics_euler
 
type  physics_euler_mod::statevector_euler
 
interface  physics_euler_mod::setflux
 
interface  physics_euler_mod::cons2prim
 
interface  physics_euler_mod::prim2cons
 

Modules

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

Functions/Subroutines

subroutine physics_euler_mod::initphysics_euler (this, Mesh, config, IO)
 constructor of physics_euler class More...
 
subroutine physics_euler_mod::printconfiguration_euler (this)
 
subroutine physics_euler_mod::new_statevector (this, new_sv, flavour, num)
 allocate an initialize new non-isothermal state vector More...
 
pure subroutine physics_euler_mod::convert2primitive_all (this, cvar, pvar)
 Converts conservative to primitive variables on the whole mesh. More...
 
pure subroutine physics_euler_mod::convert2primitive_subset (this, i1, i2, j1, j2, k1, k2, cvar, pvar)
 Converts conservative to primitive variables on a subset of the data. More...
 
pure subroutine physics_euler_mod::convert2conservative_all (this, pvar, cvar)
 Converts primitive to conservative variables on the whole mesh. More...
 
pure subroutine physics_euler_mod::convert2conservative_subset (this, i1, i2, j1, j2, k1, k2, pvar, cvar)
 Converts primitive to conservative variables on a subset of the data. More...
 
pure subroutine physics_euler_mod::calcfluxesx (this, Mesh, nmin, nmax, prim, cons, xfluxes)
 Calculate Fluxes in x-direction. More...
 
pure subroutine physics_euler_mod::calcfluxesy (this, Mesh, nmin, nmax, prim, cons, yfluxes)
 Calculate Fluxes in y-direction. More...
 
pure subroutine physics_euler_mod::calcfluxesz (this, Mesh, nmin, nmax, prim, cons, zfluxes)
 Calculate Fluxes in z-direction. More...
 
pure subroutine physics_euler_mod::calculatecharsystemx (this, Mesh, i1, i2, pvar, lambda, xvar)
 
pure subroutine physics_euler_mod::calculatecharsystemy (this, Mesh, j1, j2, pvar, lambda, xvar)
 
pure subroutine physics_euler_mod::calculatecharsystemz (this, Mesh, k1, k2, pvar, lambda, xvar)
 
pure subroutine physics_euler_mod::calculateboundarydatax (this, Mesh, i1, i2, xvar, pvar)
 extrapolate pvar using characteristic pseudo variables (absorbing boundaries) More...
 
pure subroutine physics_euler_mod::calculateboundarydatay (this, Mesh, j1, j2, xvar, pvar)
 
pure subroutine physics_euler_mod::calculateboundarydataz (this, Mesh, k1, k2, xvar, pvar)
 
pure subroutine physics_euler_mod::geometricalsources (this, Mesh, pvar, cvar, sterm)
 Calculates geometrical sources. More...
 
pure subroutine physics_euler_mod::externalsources (this, accel, pvar, cvar, sterm)
 compute momentum and energy sources given an external force More...
 
pure subroutine physics_euler_mod::viscositysources (this, Mesh, pvar, btxx, btxy, btxz, btyy, btyz, btzz, sterm)
 
pure subroutine physics_euler_mod::addbackgroundvelocityx (this, Mesh, w, pvar, cvar)
 Adds a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::addbackgroundvelocityy (this, Mesh, w, pvar, cvar)
 Adds a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::addbackgroundvelocityz (this, Mesh, w, pvar, cvar)
 Adds a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::subtractbackgroundvelocityx (this, Mesh, w, pvar, cvar)
 Substracts a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::subtractbackgroundvelocityy (this, Mesh, w, pvar, cvar)
 Substracts a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::subtractbackgroundvelocityz (this, Mesh, w, pvar, cvar)
 Substracts a background velocity field for fargo routines. More...
 
pure subroutine physics_euler_mod::updatesoundspeed (this, pvar)
 
subroutine physics_euler_mod::finalize (this)
 Destructor of the physics_euler class. More...
 
type(statevector_euler) function physics_euler_mod::createstatevector (Physics, flavour, num)
 Constructor of statevector_euler. More...
 
subroutine, public physics_euler_mod::createstatevector_euler (Physics, new_sv, flavour, num)
 
subroutine physics_euler_mod::assignmarray_0 (this, ma)
 assigns one state vector to another state vector More...
 
elemental real function physics_euler_mod::getsoundspeed (gamma, density, pressure)
 
elemental subroutine physics_euler_mod::setroeaverages (gamma, rhoL, rhoR, ul, uR, vL, vR, pL, pR, eL, eR, u, cs)
 
elemental subroutine physics_euler_mod::setwavespeeds (cs, v, minwav, maxwav)
 set minimal and maximal wave speeds More...
 
elemental subroutine physics_euler_mod::seteigenvalues1d (gamma, rho, v, P, l1, l2, l3)
 set all eigenvalues for 1D transport (used in absorbing boundary conditions) More...
 
elemental subroutine physics_euler_mod::seteigenvalues2d (gamma, rho, v, P, l1, l2, l3, l4)
 set all eigenvalues for 2D transport (used in absorbing boundary conditions) More...
 
elemental subroutine physics_euler_mod::seteigenvalues3d (gamma, rho, v, P, l1, l2, l3, l4, l5)
 set all eigenvalues for 3D transport (used in absorbing boundary conditions) More...
 
elemental subroutine physics_euler_mod::setintermediatestate (rhoL, rhoR, uL, uR, vl, vR, pL, pR, eL, eR, amin, amax, rho, mu, mv, e, a)
 
elemental subroutine physics_euler_mod::setcharvars1d (gamma, rho1, rho2, u1, u2, P1, P2, l1, l3, xvar1, xvar2, xvar3)
 compute characteristic variables for 1D transport More...
 
elemental subroutine physics_euler_mod::setcharvars2d (gamma, rho1, rho2, u1, u2, v1, v2, P1, P2, l1, l4, xvar1, xvar2, xvar3, xvar4)
 compute characteristic variables for 2D transport More...
 
elemental subroutine physics_euler_mod::setcharvars3d (gamma, rho1, rho2, u1, u2, v1, v2, w1, w2, P1, P2, l1, l5, xvar1, xvar2, xvar3, xvar4, xvar5)
 compute characteristic variables for 3D transport More...
 
elemental subroutine physics_euler_mod::setboundarydata1d (delta, gamma, rho1, u1, P1, xvar1, xvar2, xvar3, rho2, u2, P2)
 extrapolate primitive variables using characteristic pseudo pevariables 1D transport More...
 
elemental subroutine physics_euler_mod::setboundarydata2d (delta, gamma, rho1, u1, v1, P1, xvar1, xvar2, xvar3, xvar4, rho2, u2, v2, P2)
 extrapolate primitive variables using characteristic pseudo pevariables 2D transport More...
 
elemental subroutine physics_euler_mod::setboundarydata3d (delta, gamma, rho1, u1, v1, w1, P1, xvar1, xvar2, xvar3, xvar4, xvar5, rho2, u2, v2, w2, P2)
 extrapolate primitive variables using characteristic pseudo pevariables 2D transport More...
 
elemental subroutine physics_euler_mod::setflux1d (rho, u, P, mu, E, f1, f2, f3)
 set mass, 1D momentum and energy flux for transport along the 1st dimension More...
 
elemental subroutine physics_euler_mod::setflux2d (rho, u, P, mu, mv, E, f1, f2, f3, f4)
 set mass, 2D momentum and energy flux for transport along the 1st dimension More...
 
elemental subroutine physics_euler_mod::setflux3d (rho, u, P, mu, mv, mw, E, f1, f2, f3, f4, f5)
 set mass, 3D momentum and energy flux for transport along the 1st dimension More...
 
elemental subroutine physics_euler_mod::cons2prim1d (gamma, rho_in, mu, E, rho_out, u, P)
 Convert from 1D conservative to primitive variables. More...
 
elemental subroutine physics_euler_mod::cons2prim2d (gamma, rho_in, mu, mv, E, rho_out, u, v, P)
 Convert from 2D conservative to primitive variables. More...
 
elemental subroutine physics_euler_mod::cons2prim3d (gamma, rho_in, mu, mv, mw, E, rho_out, u, v, w, P)
 Convert from 3D conservative to primitive variables. More...
 
elemental subroutine physics_euler_mod::prim2cons1d (gamma, rho_in, u, P, rho_out, mu, E)
 Convert from 1D primitive to conservative variables. More...
 
elemental subroutine physics_euler_mod::prim2cons2d (gamma, rho_in, u, v, P, rho_out, mu, mv, E)
 Convert from 2D primitive to conservative variables. More...
 
elemental subroutine physics_euler_mod::prim2cons3d (gamma, rho_in, u, v, w, P, rho_out, mu, mv, mw, E)
 Convert from 3D primitive to conservative variables. More...
 
elemental real function physics_euler_mod::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 physics_euler_mod::getgeometricalsourcey (cxyx, cyxy, cyzy, czyz, vx, vy, vz, P, mx, mz)
 y-momentum geometrical source term More...
 
elemental real function physics_euler_mod::getgeometricalsourcez (cxzx, cyzy, czxz, czyz, vx, vy, vz, P, mx, my)
 z-momentum geometrical source term More...
 

Variables

character(len=32), parameter physics_euler_mod::problem_name = "Euler"