atl_eqn_heat_module Module

A module describing the heat equation.

The heat equation is the simple scalar equation that utilizes the Laplacian operator in space:

Where represents the temperature. The only parameter that needs to be configured for this equation is the diffusivity parameter . Thus the equation table for the heat equation takes the following form:

  equation = {
    name = 'heat',
    k = 1
  }

The heat equation is implemented for 1, 2 and 3 dimensions, which are configured by choosing the corresponding name:

  • heat (3D)
  • heat_2d (2D)
  • heat_1d (1D)

Uses

  • module~~atl_eqn_heat_module~~UsesGraph module~atl_eqn_heat_module atl_eqn_heat_module module~aotus_module aotus_module module~atl_eqn_heat_module->module~aotus_module module~aot_out_module aot_out_module module~atl_eqn_heat_module->module~aot_out_module module~env_module env_module module~atl_eqn_heat_module->module~env_module module~atl_materialfun_module atl_materialFun_module module~atl_eqn_heat_module->module~atl_materialfun_module module~atl_materialfun_module->module~aot_out_module module~atl_materialfun_module->module~env_module module~tem_varsys_module tem_varSys_module module~atl_materialfun_module->module~tem_varsys_module

Used by

  • module~~atl_eqn_heat_module~~UsedByGraph module~atl_eqn_heat_module atl_eqn_heat_module proc~atl_eqn_write atl_eqn_write proc~atl_eqn_write->module~atl_eqn_heat_module module~atl_equation_module atl_equation_module module~atl_equation_module->module~atl_eqn_heat_module module~atl_eqn_heat_hlp_module atl_eqn_heat_hlp_module module~atl_eqn_heat_hlp_module->module~atl_eqn_heat_module

Contents


Derived Types

type, public :: atl_heat_type

Components

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: k

Thermal diffusivity of the medium.

type(atl_materialFun_type), private :: penalization

Penalization terms


Subroutines

public subroutine atl_load_heat(heat, conf, eq_table)

subroutine to initialize an equation of type heat equation as defined in the configuration file

Arguments

TypeIntentOptionalAttributesName
type(atl_heat_type), intent(out) :: heat

Resulting description of the heat equation parameters.

type(flu_State) :: conf

Handle to the configuration script, to load the parameters from.

integer, intent(in) :: eq_table

Handle to the table containing the description for the equation system.

public subroutine atl_save_heat(me, eqn_name, conf)

Arguments

TypeIntentOptionalAttributesName
type(atl_heat_type), intent(in) :: me
character(len=*), intent(in) :: eqn_name
type(aot_out_type) :: conf