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
tips:boundary [Elmer/Ice Wiki]

Boundary Condition Examples

Some examples of typical boundary conditions.

Marine boundary

!! water pressure at glacier front
$ function waterpressure(Z) {\
  rhow = 1025.0;\
  waterline = 0.0;\
  G = 9.81;\
  _waterpressure = 0.0;\
  if (Z>waterline) {\
       _waterpressure = 0.0;\
  }else {\
       _waterpressure = 1.0 * rhow * G * (waterline - Z);\
  }\
}

Boundary Condition 4
  Name = "sides"
....
 External Pressure = Variable Coordinate 3 !we are in MPa units
        Real MATC "-1.0*waterpressure(tx)*1.0E-06"
End  

The same can be done using the user function Buoyancy.

other examples (inflow/outflow, dome,…) to come…

tips/boundary.txt · Last modified: 2013/05/07 16:46 by gag
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