Model help:GIPL: Difference between revisions
No edit summary |
m (Text replacement - "http://csdms.colorado.edu/wiki/" to "https://csdms.colorado.edu/wiki/") |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
1) Log in to the wiki | 1) Log in to the wiki | ||
2) Create a new page for each model, by using the following URL: | 2) Create a new page for each model, by using the following URL: | ||
* | * https://csdms.colorado.edu/wiki/Model help:<modelname> | ||
* Replace <modelname> with the name of a model | * Replace <modelname> with the name of a model | ||
3) Than follow the link "edit this page" | 3) Than follow the link "edit this page" | ||
Line 14: | Line 14: | ||
__NOTOC__ | __NOTOC__ | ||
==<big><big>{{PAGENAME}}</big></big>== | ==<big><big>{{PAGENAME}}</big></big>== | ||
<span | <span > | ||
GIPL is a heat flow with phase change model use to model permafrost thermal state and active layer depth, can be used for site specific and regional ground temperature distribution modeling. | |||
</span> | |||
==Model introduction== | ==Model introduction== | ||
GIPL(Geophysical Institute Permafrost Laboratory) is an implicit finite difference transient one-dimensional heat flow model. The model simulates ground temperature dynamics and the depth of the active layer by solving non-linear heat equation with phase change numerically. The model employs the Enthalpy method which does not require explicit treatment of the freeze/thaw moving boundary. In this model the process of freezing or thawing is occurring in accordance with unfrozen water content and soil thermal properties, and depends on the degree of soil saturation. | GIPL(Geophysical Institute Permafrost Laboratory) is an implicit finite difference transient one-dimensional heat flow model. The model simulates ground temperature dynamics and the depth of the active layer by solving non-linear heat equation with phase change numerically. The model employs the Enthalpy method which does not require explicit treatment of the freeze/thaw moving boundary. In this model the process of freezing or thawing is occurring in accordance with unfrozen water content and soil thermal properties, and depends on the degree of soil saturation. | ||
Line 23: | Line 24: | ||
<div id=CMT_MODEL_PARAMETERS> | <div id=CMT_MODEL_PARAMETERS> | ||
==Model parameters== | ==Model parameters== | ||
= | = Input files and Directories = | ||
{|{{Prettytable}} class = "wikitable unsortable" cellspacing="0" cellpadding="0" style="margin:0em 0em 0em 0;" | {|{{Prettytable}} class = "wikitable unsortable" cellspacing="0" cellpadding="0" style="margin:0em 0em 0em 0;" | ||
|- | |- | ||
!Parameter!!Description!!Unit | !Parameter!!Description!!Unit | ||
|-valign="top" | |-valign="top" | ||
|width="20%"|<span class=" | |width="20%"|<span>Switcher </span> | ||
|width="60%"|<span | |width="60%"|<span>1 runs new simulation reading initial temperature distribution from initial.txt file in input folder, 0 continues simulation by reading initial temperatures from dump/start_001.txt file</span> | ||
|width="20%"|<span | |width="20%"|<span>-</span> | ||
|- | |||
|-valign="top" | |||
|width="20%"|<span>Output time step </span> | |||
|width="60%"|<span>Output calculated temperatures based on output time step input. For example, 1 correspond to 1 day time interval. The result.txt file has the temperature distribution output based on the output time interval.</span> | |||
|width="20%"|<span>days</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>Calculation step</span> | |||
|width="60%"|<span>Calculation time step used in Stefan subroutine.</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>Minimal time step</span> | |||
|width="60%"|<span>Minimum time step is a constrain for calculation time step used in Stefan subroutine.</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>Number of years</span> | |||
|width="60%"|<span>If the number is greater than 1 then the model simulates the ground temperature distribution and write mean annual temperature distribution with depth into mean_001.txt file.</span> | |||
|width="20%"|<span>years</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span> Max distance between next temperature | |||
iterations (E1) (0.001-0.1)</span> | |||
|width="60%"|<span>If the absolute difference between current and next temperature iteration is greater than E1 then apply sweep method (see Ismayil-zadeh and Tackley 2010) over again. Used in Stefan subroutine.</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span> Error of saturation for next iteration (UWK)</span> | |||
|width="60%"|<span>If the absolute difference between current and next saturated unfrozen water coefficient is greater than UWK then apply sweep method over again. Used in Stefan subroutine.</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span> Max number of iterations before dividing time step</span> | |||
|width="60%"|<span>If the current and next temperature iteration do not converge i.e. absolute difference is greater than E1 then time step divided by 2. Used in Stefan subroutine.</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span> Number of seconds per step</span> | |||
|width="60%"|<span>For output time step 1 day number of seconds is equal to 86400.</span> | |||
|width="20%"|<span>sec</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span> Average number</span> | |||
|width="60%"|<span>The average number of days in one year 365.</span> | |||
|width="20%"|<span>day</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>depth of earth surface</span> | |||
|width="60%"|<span></span> | |||
|width="20%"|<span>meters</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>maximum number of freezing fronts</span> | |||
|width="60%"|<span>For example if there case of a talik there are more than 2 freezing fronts</span> | |||
|width="20%"|<span>-</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>min depth of freezing front</span> | |||
|width="60%"|<span></span> | |||
|width="20%"|<span>meters</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>max depth of freezing front</span> | |||
|width="60%"|<span></span> | |||
|width="20%"|<span>meters</span> | |||
|- | |||
|-valign="top" | |||
|width="20%"|<span>The saturation coefficient</span> | |||
|width="60%"|<span>Used for freeze/thaw front calculation </span> | |||
|width="20%"|<span>percent</span> | |||
|} | |||
<headertabs/> | |||
</div> | |||
==GIPL INPUT FILES== | |||
= Boundary Input Files and Grid = | |||
{|{{Prettytable}} class = "wikitable unsortable" cellspacing="0" cellpadding="0" style="margin:0em 0em 0em 0;" | |||
|- | |||
!Input Data!!Description!!Unit!!File Name | |||
|-valign="top" | |||
|width="20%"|<span>The upper boundary file</span> | |||
|width="60%"|<span>Time series of the temperature, usually air temperature. The default file include daily temperature distribution. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily temperature.</span> | |||
|width="10%"|<span >days|<math>^oC</math></span> | |||
|width="10%"|<span >upbound.txt</span> | |||
|-valign="top" | |||
|width="20%"|<span>The snow depth file</span> | |||
|width="60%"|<span>Time series of the snow depth. The default file include daily snow depth. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily snow depth.</span> | |||
|width="10%"|<span >days|meters</span> | |||
|width="10%"|<span >snow.txt</span> | |||
|-valign="top" | |||
|width="20%"|<span>The snow conductivity file</span> | |||
|width="60%"|<span>Time series of the snow conductivity. The default file include daily snow conductivity. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily snow conductivity.</span> | |||
|width="10%"|<span >days|W/(mK)</span> | |||
|width="10%"|<span >rsnow.txt</span> | |||
|-valign="top" | |||
|width="20%"|<span>The grid file</span> | |||
|width="60%"|<span>The default file include number of grid points from 1.5m above the surface to 33 m depth below and id number of the output points.</span> | |||
|width="10%"|<span >meters</span> | |||
|width="10%"|<span >grid.txt</span> | |||
|-valign="top" | |||
|width="20%"|<span>Initial temperature distribution file</span> | |||
|width="60%"|<span>The first number in the file correspond to point id, the second to the number of temperature points</span> | |||
|width="10%"|<span >meters</span> | |||
|width="10%"|<span >initial.txt</span> | |||
|} | |} | ||
= | = Thermo-Physical Properties Files = | ||
{|{{Prettytable}} class = "wikitable unsortable" cellspacing="0" cellpadding="0" style="margin:0em 0em 0em 0;" | {|{{Prettytable}} class = "wikitable unsortable" cellspacing="0" cellpadding="0" style="margin:0em 0em 0em 0;" | ||
|- | |- | ||
! | !Input Data!!Description!!Unit!!File Name | ||
|-valign="top" | |||
|width="20%"|<span>Thermo-physical properties of the mineral soil layers</span> | |||
|width="60%"|<span>Number of classes. Class id and number of layers in the class. Each layer has its own volumetric water content(%), a and b empirical coefficients(dimensionless), thawed and frozen volumetric heat capacities (<math>Jm^{-3}K^{-1}</math>), thawed and frozen thermal conductivities(<math>Wm^{-1}K^{-1}</math>), depth of the corresponding layer(m).</span> | |||
|width="10%"|<span >-</span> | |||
|width="10%"|<span >mineral.txt</span> | |||
|-valign="top" | |||
|width="20%"|<span>Thermo-physical properties of the upper organic layers</span> | |||
|width="60%"|<span>See thermo-physical properties of the mineral soil layers description</span> | |||
|width="10%"|<span >-</span> | |||
|width="10%"|<span >organic.txt</span> | |||
|- | |||
|-valign="top" | |-valign="top" | ||
|width="20%"|<span | |width="20%"|<span>The input file </span> | ||
|width="60%"|<span class=" | |width="60%"|<span>The input file includes: number of simulation point (default "1"), id of the first point, number of the point's snow class, vegetation class, mineral soil class, initial temperature profile class and the corresponding geothermal heat flux at the lower boundary.</span> | ||
|width=" | |width="10%"|<span>-</span> | ||
|width="10%"|<span >input.txt</span> | |||
|} | |} | ||
==Uses ports== | ==Uses ports== | ||
Line 54: | Line 193: | ||
==Main equations== | ==Main equations== | ||
< | 1) Heat Flow Equation | ||
::::{| | |||
|width=1400px|<math> \frac{\partial H(x,t)}{\partial \tau}=\texttt{div}(k(x,t)\nabla t(x,\tau)) </math> | |||
|width=50p=x align="right"|(1) | |||
|} | |||
where <math>x\in(l_1,l_2)</math> is a spatial variable which changes with depth and <math>\tau\in(0,T]</math> is a temporal variable. | |||
2) The Enthalpy Formulation | |||
::::{| | |||
|width=1400px|<math> H(x,t)=\int\limits_0^tC(x,s)ds+L\Theta(x,t) </math> | |||
|width=50p=x align="right"|(2) | |||
|} | |||
3) The upper boundary condition | |||
::::{| | |||
|width=1400px|<math> t(l_1,\tau)=t_{air}</math> | |||
|width=50p=x align="right"|(3) | |||
|} | |||
4) The lower boundary condition | |||
::::{| | |||
|width=1400px|<math> \frac{\partial t(l_2,\tau)}{\partial x}=g</math> | |||
|width=50p=x align="right"|(4) | |||
|} | |||
5) The initial temperature distribution | |||
::::{| | |||
|width=1400px|<math> t(x,0)=t_0(x)</math> | |||
|width=50p=x align="right"|(5) | |||
|} | |||
6) The unfrozen water content <math>\Theta(x,t)</math>: | |||
::::{| | |||
|width=1400px|<math> \Theta(x,t)=\eta(x)\cdot\begin{cases} 1 , & t\ge t_* \\ a|t|^{-b}, & t< t_* \end{cases} | |||
</math> | |||
|width=50p=x align="right"|(6) | |||
|} | |||
==Notes== | ==Notes== | ||
<span | <span ></span> | ||
<span class="remove_this_tag">Numerical scheme</span> | <span class="remove_this_tag">Numerical scheme</span> | ||
Line 64: | Line 237: | ||
==Examples== | ==Examples== | ||
<span class="remove_this_tag">An example run with input parameters, BLD files, as well as a figure / movie of the output</span> | <span class="remove_this_tag">An example run with input parameters, BLD files, as well as a figure / movie of the output</span> | ||
[[File:Gipl_results.jpg]] | |||
<span class="remove_this_tag">Follow the next steps to include images / movies of simulations:</span> | <span class="remove_this_tag">Follow the next steps to include images / movies of simulations:</span> | ||
* <span class="remove_this_tag">Upload file: | * <span class="remove_this_tag">Upload file: https://csdms.colorado.edu/wiki/Special:Upload</span> | ||
* <span class="remove_this_tag">Create link to the file on your page: <nowiki>[[Image:<file name>]]</nowiki>.</span> | * <span class="remove_this_tag">Create link to the file on your page: <nowiki>[[Image:<file name>]]</nowiki>.</span> | ||
Line 75: | Line 248: | ||
==References== | ==References== | ||
<span | <span>Ismail-Zadeh A, Tackley P. 2010. Computational Methods for Geodynamics. Cambridge. | ||
</span> | |||
==Links== | ==Links== |
Latest revision as of 16:18, 19 February 2018
GIPL
GIPL is a heat flow with phase change model use to model permafrost thermal state and active layer depth, can be used for site specific and regional ground temperature distribution modeling.
Model introduction
GIPL(Geophysical Institute Permafrost Laboratory) is an implicit finite difference transient one-dimensional heat flow model. The model simulates ground temperature dynamics and the depth of the active layer by solving non-linear heat equation with phase change numerically. The model employs the Enthalpy method which does not require explicit treatment of the freeze/thaw moving boundary. In this model the process of freezing or thawing is occurring in accordance with unfrozen water content and soil thermal properties, and depends on the degree of soil saturation.
Model parameters
Input files and Directories
Parameter | Description | Unit |
---|---|---|
Switcher | 1 runs new simulation reading initial temperature distribution from initial.txt file in input folder, 0 continues simulation by reading initial temperatures from dump/start_001.txt file | - |
Output time step | Output calculated temperatures based on output time step input. For example, 1 correspond to 1 day time interval. The result.txt file has the temperature distribution output based on the output time interval. | days |
Calculation step | Calculation time step used in Stefan subroutine. | - |
Minimal time step | Minimum time step is a constrain for calculation time step used in Stefan subroutine. | - |
Number of years | If the number is greater than 1 then the model simulates the ground temperature distribution and write mean annual temperature distribution with depth into mean_001.txt file. | years |
Max distance between next temperature
iterations (E1) (0.001-0.1) |
If the absolute difference between current and next temperature iteration is greater than E1 then apply sweep method (see Ismayil-zadeh and Tackley 2010) over again. Used in Stefan subroutine. | - |
Error of saturation for next iteration (UWK) | If the absolute difference between current and next saturated unfrozen water coefficient is greater than UWK then apply sweep method over again. Used in Stefan subroutine. | - |
Max number of iterations before dividing time step | If the current and next temperature iteration do not converge i.e. absolute difference is greater than E1 then time step divided by 2. Used in Stefan subroutine. | - |
Number of seconds per step | For output time step 1 day number of seconds is equal to 86400. | sec |
Average number | The average number of days in one year 365. | day |
depth of earth surface | meters | |
maximum number of freezing fronts | For example if there case of a talik there are more than 2 freezing fronts | - |
min depth of freezing front | meters | |
max depth of freezing front | meters | |
The saturation coefficient | Used for freeze/thaw front calculation | percent |
GIPL INPUT FILES
Boundary Input Files and Grid
Input Data | Description | Unit | File Name |
---|---|---|---|
The upper boundary file | Time series of the temperature, usually air temperature. The default file include daily temperature distribution. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily temperature. | days|<math>^oC</math> | upbound.txt |
The snow depth file | Time series of the snow depth. The default file include daily snow depth. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily snow depth. | days|meters | snow.txt |
The snow conductivity file | Time series of the snow conductivity. The default file include daily snow conductivity. First number correspond to number of variables. The right column correspond to number of day. The left column correspond to daily snow conductivity. | days|W/(mK) | rsnow.txt |
The grid file | The default file include number of grid points from 1.5m above the surface to 33 m depth below and id number of the output points. | meters | grid.txt |
Initial temperature distribution file | The first number in the file correspond to point id, the second to the number of temperature points | meters | initial.txt |
Thermo-Physical Properties Files
Input Data | Description | Unit | File Name |
---|---|---|---|
Thermo-physical properties of the mineral soil layers | Number of classes. Class id and number of layers in the class. Each layer has its own volumetric water content(%), a and b empirical coefficients(dimensionless), thawed and frozen volumetric heat capacities (<math>Jm^{-3}K^{-1}</math>), thawed and frozen thermal conductivities(<math>Wm^{-1}K^{-1}</math>), depth of the corresponding layer(m). | - | mineral.txt |
Thermo-physical properties of the upper organic layers | See thermo-physical properties of the mineral soil layers description | - | organic.txt |
The input file | The input file includes: number of simulation point (default "1"), id of the first point, number of the point's snow class, vegetation class, mineral soil class, initial temperature profile class and the corresponding geothermal heat flux at the lower boundary. | - | input.txt |
Uses ports
This will be something that the CSDMS facility will add
Provides ports
This will be something that the CSDMS facility will add
Main equations
1) Heat Flow Equation
<math> \frac{\partial H(x,t)}{\partial \tau}=\texttt{div}(k(x,t)\nabla t(x,\tau)) </math> (1)
where <math>x\in(l_1,l_2)</math> is a spatial variable which changes with depth and <math>\tau\in(0,T]</math> is a temporal variable.
2) The Enthalpy Formulation
<math> H(x,t)=\int\limits_0^tC(x,s)ds+L\Theta(x,t) </math> (2)
3) The upper boundary condition
<math> t(l_1,\tau)=t_{air}</math> (3)
4) The lower boundary condition
<math> \frac{\partial t(l_2,\tau)}{\partial x}=g</math> (4)
5) The initial temperature distribution
<math> t(x,0)=t_0(x)</math> (5)
6) The unfrozen water content <math>\Theta(x,t)</math>:
<math> \Theta(x,t)=\eta(x)\cdot\begin{cases} 1 , & t\ge t_* \\ a|t|^{-b}, & t< t_* \end{cases} </math>
(6)
Notes
Numerical scheme
Examples
An example run with input parameters, BLD files, as well as a figure / movie of the output Follow the next steps to include images / movies of simulations:
- Upload file: https://csdms.colorado.edu/wiki/Special:Upload
- Create link to the file on your page: [[Image:<file name>]].
See also: Help:Images or Help:Movies
Developer(s)
Name of the module developer(s)
References
Ismail-Zadeh A, Tackley P. 2010. Computational Methods for Geodynamics. Cambridge.
Links
Any link, eg. to the model questionnaire, etc.