Warning: Undefined array key 1 in /home/np29546/public_html/elmerice/wiki/inc/auth.php on line 78

Warning: Cannot modify header information - headers already sent by (output started at /home/np29546/public_html/elmerice/wiki/inc/auth.php:78) in /home/np29546/public_html/elmerice/wiki/inc/auth.php on line 431

Warning: Cannot modify header information - headers already sent by (output started at /home/np29546/public_html/elmerice/wiki/inc/auth.php:78) in /home/np29546/public_html/elmerice/wiki/inc/actions.php on line 38
solvers:2dnodalgradient [Elmer/Ice Wiki]

General Information

  • Solver Fortran File: Compute2DNodalGradient.F90
  • Solver Name: ElmerIce_MeshAdapt2D(Compute2DNodalGradient)
  • Required Output Variable(s):
    • (1) g (dofs=2)
  • Required Input Variable(s):
    • (1) v
  • Optional Output Variable(s): None
  • Optional Input Variable(s): None

General Description

This is a pseudo solver (i.e. it is not solving an equation). This solver compute the nodal 2D gradient vector g_i={{\partial v}/{\partial x_i}} of a variable v.

This is used for example by the mesh adaptation procedure to compute the hessian of v (Mesh Adaptation).

By default (FE consistent average = Logical True), this is done using a -projection on the FE mesh; If FE consistent average = False, at a given node the derivative is simply the average of the derivatives evaluated at the node in each elements sharing the node.

SIF contents

Solver 2
  Equation = "Nodal Gradient"
  Variable = -dofs 2 "g"
  Procedure = "ElmerIce_MeshAdapt2D" "Compute2DNodalGradient"

  Optimize Bandwidth = False

  Variable Name = string "v"
  FE consistent average = Logical True
End

Example

Examples for anisotropic mesh adaptation can be found under [ELMER_TRUNK]/elmerice/Tests/MMG2D_Aniso1 and [ELMER_TRUNK]/elmerice/Tests/MMG2D_Aniso2, where the mesh size is adapted using 1 or 2 variables (i.e. combining metric informations), respectively.

solvers/2dnodalgradient.txt · Last modified: 2017/07/18 14:25 by fgillet
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0