Elmer FEM solver Elmer is an open source finite element software for multiphysical problems
materialmodels Module Reference

## Public Member Functions

real(kind=dp) function secondinvariant (Velo, dVelodx, CtrMetric, Symb)

subroutine frictionheat (Heat, Viscosity, Ux, Uy, Uz, Element, Nodes)

real(kind=dp) function effectiveviscosity (Viscosity, Density, Ux, Uy, Uz, Element, Nodes, n, nd, u, v, w, muder)

real(kind=dp) function effectiveconductivity (Conductivity, Density, Element, Temperature, Ux, Uy, Uz, Nodes, n, nd, u, v, w)

subroutine elementdensity (Density, n)

## Public Attributes

integer, parameter incompressible = 0

integer, parameter userdefined1 = 1

integer, parameter userdefined2 = 2

integer, parameter perfectgas1 = 3

integer, parameter perfectgas2 = 4

integer, parameter perfectgas3 = 5

integer, parameter thermal = 6

## Member Function/Subroutine Documentation

 real(kind=dp) function materialmodels::effectiveconductivity ( real(kind=dp) Conductivity, real(kind=dp) Density, type(element_t), pointer Element, real(kind=dp), dimension(:) Temperature, real(kind=dp), dimension(:) Ux, real(kind=dp), dimension(:) Uy, real(kind=dp), dimension(:) Uz, type(nodes_t) Nodes, integer n, integer nd, real(kind=dp) u, real(kind=dp) v, real(kind=dp) w )

Returns effective heat conductivity mainly related to turbulence models.

Here is the call graph for this function:

Here is the caller graph for this function:

 real(kind=dp) function materialmodels::effectiveviscosity ( real(kind=dp) Viscosity, real(kind=dp) Density, real(kind=dp), dimension(:) Ux, real(kind=dp), dimension(:) Uy, real(kind=dp), dimension(:) Uz, type(element_t), pointer Element, type(nodes_t) Nodes, integer n, integer nd, real(kind=dp) u, real(kind=dp) v, real(kind=dp) w, real(kind=dp), optional muder )

Returns effective viscosity for Navier-Stokes equation. The viscosity model may be either some nonnewtonian material law, or from turbulence models, but not from both at the same time.

Here is the call graph for this function:

Here is the caller graph for this function:

 subroutine materialmodels::elementdensity ( real(kind=dp), dimension(:) Density, integer n )

Returns density stemming from various equations of state.

Referenced by localmatrix().

Here is the call graph for this function:

Here is the caller graph for this function:

 subroutine materialmodels::frictionheat ( real(kind=dp), dimension(:) Heat, real(kind=dp), dimension(:) Viscosity, real(kind=dp), dimension(:) Ux, real(kind=dp), dimension(:) Uy, real(kind=dp), dimension(:) Uz, type(element_t) Element, type(nodes_t) Nodes )

Here is the call graph for this function:

Here is the caller graph for this function:

 real(kind=dp) function materialmodels::secondinvariant ( real(kind=dp), dimension(3) Velo, real(kind=dp), dimension(3,3) dVelodx, real(kind=dp), dimension(3,3), optional CtrMetric, real(kind=dp), dimension(3,3,3), optional Symb )

Return second invariant. Note: Actually SQUARE of the second invariant of velocity is returned.

Here is the call graph for this function:

Here is the caller graph for this function:

## Member Data Documentation

 integer, parameter materialmodels::incompressible = 0
 integer, parameter materialmodels::perfectgas1 = 3
 integer, parameter materialmodels::perfectgas2 = 4
 integer, parameter materialmodels::perfectgas3 = 5
 integer, parameter materialmodels::thermal = 6
 integer, parameter materialmodels::userdefined1 = 1
 integer, parameter materialmodels::userdefined2 = 2

The documentation for this module was generated from the following file: