Module to describe the isothermal acoustic equation system for a medium at
rest.
This is a simplification of the linearized Euler equations, where the medium
is assumed to be at rest and isothermal. These assumptions eliminate one
equation and only density and velocity are required to describe the wave
transport. Pressure and density are equivalent in this system and differ only
by a constant scaling factor.
The medium is defined by its pressure and density, which define the speed
of sound. They are referred to as background state, and accordingly a
background
table needs to be defined for the acoustic equation table.
equation = {
name = 'acoustic' ,
background = {
density = 1 ,
pressure = 1
}
}
The speed of sound derives from the provided background state by
Where is the background pressure in the medium and its
density.
The acoustic equations are available for 3D (acoustic
) and 2D
(acoustic_2d
).
module~~atl_eqn_acoustic_module~~UsesGraph
module~atl_eqn_acoustic_module
atl_eqn_acoustic_module
aot_out_general_module
aot_out_general_module
module~atl_eqn_acoustic_module->aot_out_general_module
aot_out_module
aot_out_module
module~atl_eqn_acoustic_module->aot_out_module
aot_table_module
aot_table_module
module~atl_eqn_acoustic_module->aot_table_module
aotus_module
aotus_module
module~atl_eqn_acoustic_module->aotus_module
env_module
env_module
module~atl_eqn_acoustic_module->env_module
module~atl_materialfun_module
atl_materialFun_module
module~atl_eqn_acoustic_module->module~atl_materialfun_module
tem_logging_module
tem_logging_module
module~atl_eqn_acoustic_module->tem_logging_module
tem_tools_module
tem_tools_module
module~atl_eqn_acoustic_module->tem_tools_module
module~atl_materialfun_module->aot_out_module
module~atl_materialfun_module->env_module
tem_varSys_module
tem_varSys_module
module~atl_materialfun_module->tem_varSys_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
module~~atl_eqn_acoustic_module~~UsedByGraph
module~atl_eqn_acoustic_module
atl_eqn_acoustic_module
module~atl_acoustic_2d_flux_module
atl_acoustic_2d_flux_module
module~atl_acoustic_2d_flux_module->module~atl_eqn_acoustic_module
module~atl_acoustic_numflux_module
atl_acoustic_numflux_module
module~atl_acoustic_numflux_module->module~atl_eqn_acoustic_module
module~atl_acoustic_physflux_module
atl_acoustic_physflux_module
module~atl_acoustic_physflux_module->module~atl_eqn_acoustic_module
module~atl_eqn_acoustic_hlp_module
atl_eqn_acoustic_hlp_module
module~atl_eqn_acoustic_hlp_module->module~atl_eqn_acoustic_module
module~atl_equation_module
atl_equation_module
module~atl_equation_module->module~atl_eqn_acoustic_module
module~atl_laxfriedrichflux_module
atl_laxFriedrichFlux_module
module~atl_laxfriedrichflux_module->module~atl_eqn_acoustic_module
proc~atl_eqn_write
atl_eqn_write
proc~atl_eqn_write->module~atl_eqn_acoustic_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Derived Types
Datatype for acoustic equations.
Components
Type
Visibility Attributes
Name
Initial
integer,
public
::
ndims
Number of spatial dimensions to consider.
Implemented are 2 and 3 dimensions.
real(kind=rk),
public
::
density_0
Density of the wave carrying medium.
real(kind=rk),
public,
allocatable
::
velocity_0 (:)
Velocity of the medium.
real(kind=rk),
public
::
pressure_0
Pressure of the medium.
real(kind=rk),
public
::
speedOfSound
Speed of sound of the medium.
type(atl_materialFun_type ),
public
::
penalization
Penalization terms to describe obstacles.
Subroutines
Load the configuration for acoustic equations from the Lua script.
Arguments
Type
Intent Optional Attributes
Name
type(atl_acoustic_type ),
intent(inout)
::
acoustic
type(flu_State )
::
conf
integer,
intent(in)
::
eq_table
dump the equation variables into the lua file
Arguments
Type
Intent Optional Attributes
Name
type(atl_acoustic_type ),
intent(in)
::
me
character(len=*),
intent(in)
::
eqn_name
type(aot_out_type )
::
conf
Arguments
Type
Intent Optional Attributes
Name
type(atl_acoustic_type ),
intent(in)
::
me
integer
::
dumpUnit