Solver ComputeNormal

General Informations

  • Solver Fortran File: ComputeNormal.f90
  • Solver Name: ComputeNormal
  • Required Output Variable(s): default is Normal Vector
  • Required Input Variable(s): None
  • Optional Output Variable(s): None
  • Optional Input Variable(s): None

General Description

Solver for computing nodal normal vectors on boundaries based on an averaged value of the adjacent elements. Mind that in parallel computations that needs halo-elements, such that cross-partition information is available.

SIF contents

The required keywords in the SIF file for this solver are:

Solver 1
   Exec Solver = "Before Simulation"
   Equation = "Normal vector"
   Variable = "Normal Vector"   
   ! in 3dimensional simulations we have 3 entries
   Variable DOFs = 3 
   !NB: does not need to actually solve a matrix
   !    hence no BW optimization needed
   Optimize Bandwidth = Logical False 
   Procedure = "ElmerIceSolvers" "ComputeNormalSolver"
   ! if set to True, all boundary normals would be computed by default
   ComputeAll = Logical False

! on this boundary, we want the normals to be computed
Boundary Condition 1
    ComputeNormal = Logical True

! on this boundary, we want to skip computation of the normals
!       (default, but overrulled by ComputeAll = Logical True)
Boundary Condition 2
    ComputeNormal = Logical False


A 2D example can be found in [ELMER_TRUNK]/elmerice/Tests/Contact.

solvers/normal.txt · Last modified: 2014/01/31 09:23 by ltavard
CC Attribution-Share Alike 4.0 International Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0