sources_rotframe_mod Module Reference

source terms module for inertial forces caused by a rotating grid More...

Data Types

type  sources_rotframe
 

Functions/Subroutines

subroutine initsources_rotframe (this, Mesh, Physics, Fluxes, config, IO)
 Constructor of the rotating reference frame module. More...
 
subroutine infosources (this, Mesh)
 
subroutine externalsources_single (this, Mesh, Physics, Fluxes, Sources, time, dt, pvar, cvar, sterm)
 
subroutine convert2rotatingframe (this, Mesh, Physics, pvar)
 
subroutine finalize (this)
 

Variables

character(len=32), parameter source_name = "inertial forces"
 

Detailed Description

source terms module for inertial forces caused by a rotating grid

Author
Tobias Illenseer
Jannes Klee
Attention
This module works currently only in 2D. MeshOMEGA is only one value and assumened to point in z-direction.

Function/Subroutine Documentation

◆ convert2rotatingframe()

subroutine sources_rotframe_mod::convert2rotatingframe ( class(sources_rotframe), intent(in)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
real, dimension(mesh%igmin:mesh%igmax,mesh%jgmin:mesh%jgmax,mesh%kgmin:mesh%kgmax,physics%vnum), intent(inout)  pvar 
)
private

Definition at line 212 of file sources_rotframe.f90.

◆ externalsources_single()

subroutine sources_rotframe_mod::externalsources_single ( class(sources_rotframe), intent(inout)  this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(inout)  Physics,
class(fluxes_base), intent(in)  Fluxes,
class(sources_base), intent(inout)  Sources,
real, intent(in)  time,
real, intent(in)  dt,
class(marray_compound), intent(inout)  pvar,
class(marray_compound), intent(inout)  cvar,
class(marray_compound), intent(inout)  sterm 
)
private

Definition at line 162 of file sources_rotframe.f90.

◆ finalize()

subroutine sources_rotframe_mod::finalize ( class(sources_rotframe), intent(inout)  this)
private

Definition at line 234 of file sources_rotframe.f90.

◆ infosources()

subroutine sources_rotframe_mod::infosources ( class(sources_rotframe), intent(in)  this,
class(mesh_base), intent(in)  Mesh 
)

Definition at line 149 of file sources_rotframe.f90.

◆ initsources_rotframe()

subroutine sources_rotframe_mod::initsources_rotframe ( class(sources_rotframe this,
class(mesh_base), intent(in)  Mesh,
class(physics_base), intent(in)  Physics,
class(fluxes_base), intent(in)  Fluxes,
type(dict_typ), pointer  config,
type(dict_typ), pointer  IO 
)

Constructor of the rotating reference frame module.

Definition at line 73 of file sources_rotframe.f90.

Variable Documentation

◆ source_name

character(len=32), parameter sources_rotframe_mod::source_name = "inertial forces"
private

Definition at line 51 of file sources_rotframe.f90.