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: Undefined array key "DOKU_PREFS" in /home/np29546/public_html/elmerice/wiki/inc/common.php on line 2082

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/common.php on line 2090

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

Warning: Undefined array key -1 in /home/np29546/public_html/elmerice/wiki/inc/html.php on line 1458

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
solvers:temperature [2012/11/29 14:31]
tzwinger [SIF contents]
solvers:temperature [2018/10/28 14:28]
tzwinger [Examples]
Line 16: Line 16:
  
 The volumetric heat source term can be estimated from the ice flow deformational heat using the [[:solvers:deformationalheat|DeformationalHeat Solver]].  The volumetric heat source term can be estimated from the ice flow deformational heat using the [[:solvers:deformationalheat|DeformationalHeat Solver]]. 
 +
 +**Looping option, added 6th June 2013 (version 6205)**: It is possible in some cases that the nonlinear convergence tolerance can be reached before all nodes have been properly constrained.  At this point the solver can exit with some nodes retaining temperatures above the upper limit. A new option was added to check for nodes with temperatures above the limit and to continue looping if such nodes exist.  Using this option may cause more iterations but should ensure the upper limit is properly applied at all nodes.  To use it add the following line to the temperate ice solver section in the sif file (default is False):
 +<code>
 +Loop While Unconstrained Nodes = Logical True
 +</code>
  
 ==== Known bugs ==== ==== Known bugs ====
Line 22: Line 27:
  
 ==== SIF contents ==== ==== SIF contents ====
-The required keywords in the SIF file for this solver are:+The required keywords in the SIF file for this solver are given below. The MATC functions used here are explain and given on this [[tips:thermoprop|page]]. 
 <code> <code>
-Some useful MATC functions +Units : MPa yr 
-!! conductivity +$yearinsec 365.25*24*60*60
-$ function conductivity(T)  { _conductivity=9.828*exp(-5.7E-03*T)} +
-!! capacity +
-function capacity(T) { _capacity=146.3+(7.253*T)} +
- +
-!! pressuremeltingpoint +
-$ function pressuremeltingpoint(PIN) {\ +
-  P = PIN;\ +
-  if (P<0.0) P=0.0;\ +
-  beta=9.8E-08*1.0E06;\ +
-  _pressuremeltingpoint=273.15-(beta*P);\ +
-}+
  
 !Compute the heat generated by ice deformation !Compute the heat generated by ice deformation
Line 44: Line 38:
   Variable DOFs = 1   Variable DOFs = 1
  
-  procedure =  "./DeformationalHeat" "DeformationalHeatSolver"+  procedure =  "ElmerIceSolvers" "DeformationalHeatSolver"
  
   Linear System Solver = direct   Linear System Solver = direct
Line 52: Line 46:
 Solver 4 Solver 4
   Equation = String "Homologous Temperature Equation"   Equation = String "Homologous Temperature Equation"
-  Procedure =  File "TemperateIce" "TemperateIceSolver"+  Procedure =  File "ElmerIceSolvers" "TemperateIceSolver"
   ! Comment next line in parallel, as EliminateDirichlet does   ! Comment next line in parallel, as EliminateDirichlet does
   ! not work in parallel   ! not work in parallel
Line 94: Line 88:
    !-----------------------------------------------------------    !-----------------------------------------------------------
    Temp Heat Capacity = Variable Temp    Temp Heat Capacity = Variable Temp
-    Real MATC "capacity(tx)*1.0E06*(31556926.0)"+    Real MATC "capacity(tx)*yearinsec^2"
    ! the heat conductivity as a MATC function of temperature itself    ! the heat conductivity as a MATC function of temperature itself
    !--------------------------------------------------------------    !--------------------------------------------------------------
    Temp Heat Conductivity = Variable Temp    Temp Heat Conductivity = Variable Temp
-    Real MATC "conductivity(tx)"+    Real MATC "conductivity(tx)*yearinsec*1.0E-06"
    ! Upper limit - pressure melting point    ! Upper limit - pressure melting point
     as a MATC function of the pressure (what else?)     as a MATC function of the pressure (what else?)
Line 122: Line 116:
   !--------------------   !--------------------
   Temp Flux BC = Logical True   Temp Flux BC = Logical True
-  Temp Heat Flux = Real 56.05E-03+  Temp Heat Flux = Real $56.05E-03*yearinsec*1.0E-6 
 +  !------------------- 
 +  ! frictional heat 
 +  !-------------------- 
 +  Temp Load = Variable Velocity 1 
 +    Real Procedure  "ElmerIceUSF" "getFrictionLoads"
 End End
 </code> </code>
 +
 +See also [[:tips:thermoprop|Thermodynamic Properties]] for heat capacity and conductivity functions.
  
 ==== Examples ==== ==== Examples ====
-Download an example using the TemperateIce Solver. TODO+An example demonstrating the use of the thermal properties of ice can be found in ''[ELMER_TRUNK]/elmerice/Tests/TemperateIceTest''
  
 ==== Reference ==== ==== Reference ====
 When used this solver can be cited using the following reference:\\ When used this solver can be cited using the following reference:\\
 Zwinger T. , R. Greve, O. Gagliardini , T. Shiraiwa and M. Lyly, 2007. A full Stokes-flow thermo-mechanical model for firn and ice applied to the Gorshkov crater glacier, Kamchatka. Annals of Glaciol., 45, p. 29-37. Zwinger T. , R. Greve, O. Gagliardini , T. Shiraiwa and M. Lyly, 2007. A full Stokes-flow thermo-mechanical model for firn and ice applied to the Gorshkov crater glacier, Kamchatka. Annals of Glaciol., 45, p. 29-37.
solvers/temperature.txt · Last modified: 2018/10/28 14:28 by tzwinger
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