SlideShare a Scribd company logo
1 of 7
Download to read offline
Tubini et al.
LINKERS
OMS Richards 1D integrator
Niccol`o Tubini*†
, Aaron Iemma†
and Francesco Serafin†
*
Correspondence:
niccolo.tubini@unitn.it
Dipartimento di Ingegneria Civile
Ambientale e Meccanica, Trento,
Mesiano di Povo, Trento, IT
Full list of author information is
available at the end of the article
†
Code Author
Abstract
These pages teach how to run the solver for Richards’ equation 1D case inside the
OMS 3 console. Some preliminary knowledge and installation of OMS is mandatory
(see @Also useful). To perform the solution of the nonlinear system a nested Newton’s
type algorithm is used (Casulli and Zanolli, 2010).
@License:
GPL v. 3
@Inputs:
• SWRC model and its own parameters;
• θs (−);
• θr (−);
• Ks (m/s);
• Soil column discretization and initial condition for the water pressure (m);
• Type of the top boundary condition;
• Top boundary condition values;
• Type of the bottom boundary condition;
• Bottom boundary condition values;
• Type of algorithm to solve the nonlinear system;
• Error tolerance solving the nonlinear system.
@Outputs:
• Profile of water suction ψ for each time step of the simulation (m);
• Profile of dimensionless water content θ for each time step of the simulation (−).
@Doc Author: Niccol`o Tubini
@References:
• See References section below
Keywords: OMS; Richards’ equation 1D case
Tubini et al. Page 2 of 7
Code Information
Executables
This link points to the jar file that, once downloaded can be used in the OMS console:
https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/
lib
Developer Info
This link points to useful information for the developers, i.e. information about the code
internals, algorithms and the source code
https://github.com/geoframecomponents
Also useful
To run a OMS project it is necessary to know how to use the OMS console. Information
at: ”How to install and run the OMS console”,
https://alm.engr.colostate.edu/cb/project/oms).
JGrasstools are required for preparing some input data (information at:
http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian.
html
To visualize results you need a GIS. Use your preferred GIS, following its installation
instructions. To make statistics on the results, you can probably get benefits from R:
http://www.r-project.org/ and follow its installation instruction.
To whom address questions
niccolo.tubini@unitn.it
Authors of documentation
Niccol`o Tubini (niccolo.tubini@unitn.it)
This documentation is released under Creative Commons 4.0 Attribution International
Tubini et al. Page 3 of 7
Component Description
To study the time evolution of the water suction and hence of the dimensionless water
content one has to solve Richards’ equation. Richards’ equation for the one-dimensional
case is
∂θ(ψ)
∂t
=
∂
∂z
K(ψ)
∂
∂z
(ψ + z) (1)
where θ(ψ) is the dimensionless water content related to the water suction ψ through a
prescribed parametric function usually referred to as soil water retention curve (SWRC),
K(ψ) is the soil hydraulic conductivity, z is the positive upward vertical coordinate, and t
is time. The above equation is the so called mixed form of the Richards’ equation (Casulli
an Zanolli, 2010).
To solve Eq.(1) is necessary to provide a domain discretization, an initial condition for
the water suction, and two boundary conditions one at the soil surface and one at the
bottom.
Detailed Inputs description
General description
The input file for both the top and bottom boundary condition is a .csv file containing a
header and one series of input data.
The file must have the following header:
• The first 3 rows with general information such as the date of the creation of the file
and the author;
• the fourth and fifth rows contain the ID of the station;
• the sixth row contains the information about the type of the input data (in this
case, one column with the date and one column with double values);
• the seventh row specifies the date format (YYYY-MM-dd HH:mm).
All this information shown in the figure 1.
Figure 1 Heading of the .csv input file for the boundary conditions.
The input file for the initial condition is a .csv file containing two columns: the first
one the depth (m), and the second one the initial condition for the water suction (m).
Tubini et al. Page 4 of 7
It is worthwhile to point out that the first line refers to the deepest layer of the soil
column, whilst the last one to the uppermost one. Furthermore, the first column provides
a discretization of the domain. Indeed, the depth refers to the centroid of each control
volume in which the domain is discretized.
Figure 2 Example of a .csv input file for the initial condition.
Initial condition for the water pressure
The initial condition for the water pressure (m) is given for each control volume.
SWRC model
Three types of SWRC models are available: Van Genuchten (Van Genuchten, 1980),
Brooks an Corey (Brooks and Corey, 1964), and two-parameters lognormal distribution
(Kosugi, 1996).
Type of the top boundary condition
It is possible to assign either the water pressure at the soil surface (Dirichlet boundary
condition), or the water flux though the soil surface (Neumann boundary condition).
Top boundary condition
The rainfall time series (mm). In case one wants to assign a Neumann top boundary
condition the code handles the computation of the of the water flux related to the time
series.
Type of the bottom boundary condition
It is possible to assign either the water pressure at the bottom of the soil column (Dirichlet
boundary condition), or the free drainage boundary condition.
Bottom boundary condition
To assign a Dirichlet boundary condition it is necessary to provide a theoretical time
series of the water pressure a the bottom of the domain. This means to hypothesize the
water table time evolution.
When a free drainage boundary condition it is necessary to provide however a time
series, even thou its values will not be taken into account by the the solver (this will be
fixed in the next release).
Tubini et al. Page 5 of 7
Algorithm to solve the nonlinear system
It is possible to choose between Newton’s algorithm and the nested Newton’s one. The
first one is faster but its convergence is not alway guaranteed, by the contrast the nested
Newton’s algorithm is slower but always converges.
Algorithm tolerance
Defines a threshold on the error of the system solution.
Detailed Outputs description
water pressure and dimensionless water content
The computed water pressure and dimensionless water content are given as time series.
Respectively, their units are (m) and (−).
Examples
The following .sim file is customized for the use of the solver for Richards’ equation 1D
case. The .sim file can be downloaded from here:
https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/
simulation
/*
* Solver for Richards ’ equation 1D
* water pressure initial condition is assigned by the user
* boundary conditions assigned by the user
*
* Numerical scheme :
* Casulli , Vincenzo , and Paola Zanolli .
* "A nested Newton -type algorithm for finite volume methods
solving Richards ’ equation in mixed form ."
* SIAM Journal on Scientific Computing 32.4 (2010) :
2255 -2273.
*/
import static oms3.SimBuilder.instance as OMS3
def home = oms_prj
// start and end date of the simulation
def startDate= "2017 -01 -01 00:00"
def endDate="2017 -05 -24 00:00"
// time interval of temporal series [ minutes ]
def tTimestep = 5
OMS3.sim {
resource "$oms_prj/lib"
// model () {
model(while : " reader_data_topBC .doProcess" ){
components {
"solver" " Richards1DSolver . Richards1DSolver "
" reader_data_topBC " "org.jgrasstools .gears.io. timedependent .
OmsTimeSeriesIteratorReader "
" reader_data_bottomBC " "org. jgrasstools .gears.io. timedependent .
OmsTimeSeriesIteratorReader "
"read_iC" "readTxt. ReadTxtMultiColumn "
}
parameter {
Tubini et al. Page 6 of 7
// hydraulic conductivity at saturation [m/s]
"solver.ks" "0.000000556 "
// dimensionless water content at saturation [-]
"solver.thetaS" "0.38"
// dimensionless residual water content [-]
"solver.thetaR" "0.068"
// parameters of Van Genuchten ’s SWRC model (Van Genuchten ,
1980)
"solver.n" "1.09"
"solver.alpha" "0.8" // [1/m]
// parameters of Brooks ’ and Corey ’s SWRC model ( Brooks and
Corey , 1964)
"solver.psiE" "1.9" // [m]
"solver.lambda" "1.9"
// parameters of two - paramaters lognormal distribution
// for SWRC model (Kosugi , 1996)
// median of the pore size distribution [m]
"solver.rMedian" " 0.0000020781 "
// standard deviation of the pore size distribution
"solver.sigma" "0.6"
// Available SWRC models :
// - "Van Genuchten "
// - " Kosugi "
// - " Brooks and Corey"
"solver. soilHydraulicModel " "Van Genuchten"
// Type of the top boundary condition :
// - "Top Dirichlet " the water pressure value is assigned
// - "Top Neumann " the water flux through the soil surface is
assigned
"solver.topBCType" "Top Dirichlet";
// Type of the bottom boundary condition :
// - " Bottom Dirichlet " the water pressure value is assigned
// - " Bottom Free Drainage " the water flux is controlled only
// by the gravitational gradient
"solver. bottomBCType " "Bottom Dirichlet";
// Height of the soil column [m]
"solver.spaceBottom" "2.0"
// nested Newton tolerance , range (10^( -3) ; 10^( -14))
"solver. newtonTolerance " "0.00000001"
// Algorithm to solve the nonlinear system :
// - 0 --> Newton ’s method
// - 1 --> nested Newton :
"solver. nestedNewton " "1"
// time step [s], it must be consistent
// with tTimestep defined at line 22
"solver.tTimestep" "300"
// parameters reader data input top boundary condition
" reader_data_topBC .file" "$oms_prj // data/
Trento_TopBC .csv"
" reader_data_topBC .idfield" "ID"
" reader_data_topBC .tStart" "${startDate}"
" reader_data_topBC .tEnd" "${endDate}"
" reader_data_topBC .tTimestep" "${tTimestep}"
" reader_data_topBC .fileNovalue" " -9999"
// parameters reader data input bottom boundary condition
" reader_data_bottomBC .file" "$oms_prj // data/
Trento_BottomBC_0 .csv"
" reader_data_bottomBC .idfield" "ID"
" reader_data_bottomBC .tStart" "${startDate}"
" reader_data_bottomBC .tEnd" "${endDate}"
" reader_data_bottomBC .tTimestep" "${tTimestep}"
Tubini et al. Page 7 of 7
" reader_data_bottomBC . fileNovalue" " -9999"
// file path for the initial condition
"read_iC.filePath" "$oms_prj/data/ InitialConditionHydrostatic .
csv"
// folder path for the output files
"solver.dir" "$oms_prj/output"
}
connect{
"read_iC.depth" "solver.depth"
"read_iC.suctionIC" "solver.iC"
" reader_data_topBC .outData" "solver.inTopBC"
" reader_data_bottomBC .outData" "solver.inBottomBC"
" reader_data_topBC .tCurrent" "solver. inCurrentDate "
}
}
}
Data and Project
The following link is for the download of the input data necessaries to execute the com-
ponent (as shown in the .sim file in the previous section ):
https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/
data
The following link is for the download of the OMS project for the component:
https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D
%
References

More Related Content

What's hot

Experimental conceptualisation of the Flow Net system construction inside the...
Experimental conceptualisation of the Flow Net system construction inside the...Experimental conceptualisation of the Flow Net system construction inside the...
Experimental conceptualisation of the Flow Net system construction inside the...Dr.Costas Sachpazis
 
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)takuyayamamoto1800
 
Determination of shock losses and pressure losses in ug mine openings
Determination of shock losses and pressure losses in ug mine openingsDetermination of shock losses and pressure losses in ug mine openings
Determination of shock losses and pressure losses in ug mine openingsSafdar Ali
 
A New Free Surface Capturing Finite Elements Methods
A New Free Surface Capturing Finite Elements MethodsA New Free Surface Capturing Finite Elements Methods
A New Free Surface Capturing Finite Elements MethodsAleix Valls
 
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pump
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage PumpNumerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pump
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pumptheijes
 
17. seepage through anisotropic soil
17. seepage through anisotropic soil17. seepage through anisotropic soil
17. seepage through anisotropic soilKingshukMukherjee10
 
Hooman_Rezaei_asme_paper2
Hooman_Rezaei_asme_paper2Hooman_Rezaei_asme_paper2
Hooman_Rezaei_asme_paper2rezaeiho
 
Ejercicio 1. Ecuación Darcy W.
Ejercicio 1. Ecuación Darcy W.Ejercicio 1. Ecuación Darcy W.
Ejercicio 1. Ecuación Darcy W.yeisyynojos
 
Numerical study on free-surface flow
Numerical study on free-surface flowNumerical study on free-surface flow
Numerical study on free-surface flowmiguelpgomes07
 
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta WingAerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta WingIJRES Journal
 
The laminar turbulent transition zone in the boundary layer
The laminar turbulent transition zone in the boundary layerThe laminar turbulent transition zone in the boundary layer
The laminar turbulent transition zone in the boundary layerParag Chaware
 
Frank slug flow_nureth-11_2005
Frank slug flow_nureth-11_2005Frank slug flow_nureth-11_2005
Frank slug flow_nureth-11_2005abdoganawa
 
A study on evacuation performance of sit type water closet by computational f...
A study on evacuation performance of sit type water closet by computational f...A study on evacuation performance of sit type water closet by computational f...
A study on evacuation performance of sit type water closet by computational f...combi07
 
2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!Jiannan Tan
 

What's hot (19)

Experimental conceptualisation of the Flow Net system construction inside the...
Experimental conceptualisation of the Flow Net system construction inside the...Experimental conceptualisation of the Flow Net system construction inside the...
Experimental conceptualisation of the Flow Net system construction inside the...
 
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)
Setting and Usage of OpenFOAM multiphase solver (S-CLSVOF)
 
Floods
FloodsFloods
Floods
 
Determination of shock losses and pressure losses in ug mine openings
Determination of shock losses and pressure losses in ug mine openingsDetermination of shock losses and pressure losses in ug mine openings
Determination of shock losses and pressure losses in ug mine openings
 
Unit4 kvv
Unit4 kvvUnit4 kvv
Unit4 kvv
 
A New Free Surface Capturing Finite Elements Methods
A New Free Surface Capturing Finite Elements MethodsA New Free Surface Capturing Finite Elements Methods
A New Free Surface Capturing Finite Elements Methods
 
Laminar Flow
Laminar FlowLaminar Flow
Laminar Flow
 
EJERCICIO 2
EJERCICIO 2EJERCICIO 2
EJERCICIO 2
 
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pump
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage PumpNumerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pump
Numerical Calculation of Solid-Liquid two-Phase Flow Inside a Small Sewage Pump
 
17. seepage through anisotropic soil
17. seepage through anisotropic soil17. seepage through anisotropic soil
17. seepage through anisotropic soil
 
Hooman_Rezaei_asme_paper2
Hooman_Rezaei_asme_paper2Hooman_Rezaei_asme_paper2
Hooman_Rezaei_asme_paper2
 
Avinash_PPT
Avinash_PPTAvinash_PPT
Avinash_PPT
 
Ejercicio 1. Ecuación Darcy W.
Ejercicio 1. Ecuación Darcy W.Ejercicio 1. Ecuación Darcy W.
Ejercicio 1. Ecuación Darcy W.
 
Numerical study on free-surface flow
Numerical study on free-surface flowNumerical study on free-surface flow
Numerical study on free-surface flow
 
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta WingAerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
Aerodynamic Analysis of Low Speed Turbulent Flow Over A Delta Wing
 
The laminar turbulent transition zone in the boundary layer
The laminar turbulent transition zone in the boundary layerThe laminar turbulent transition zone in the boundary layer
The laminar turbulent transition zone in the boundary layer
 
Frank slug flow_nureth-11_2005
Frank slug flow_nureth-11_2005Frank slug flow_nureth-11_2005
Frank slug flow_nureth-11_2005
 
A study on evacuation performance of sit type water closet by computational f...
A study on evacuation performance of sit type water closet by computational f...A study on evacuation performance of sit type water closet by computational f...
A study on evacuation performance of sit type water closet by computational f...
 
2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!
 

Similar to Oms richards-1 d-integrator

CFD Class Final Paper
CFD Class Final PaperCFD Class Final Paper
CFD Class Final PaperNathan Butt
 
JGrass-NewAge LongWave radiation Balance
JGrass-NewAge LongWave radiation BalanceJGrass-NewAge LongWave radiation Balance
JGrass-NewAge LongWave radiation BalanceMarialaura Bancheri
 
CFD Analysis Of Multi-Phase Flow And Its Measurements
CFD Analysis Of Multi-Phase Flow And Its MeasurementsCFD Analysis Of Multi-Phase Flow And Its Measurements
CFD Analysis Of Multi-Phase Flow And Its MeasurementsIOSR Journals
 
IRJET - Effect of Local Scour on Foundation of Hydraulic Structure
IRJET - Effect of Local Scour on Foundation of Hydraulic StructureIRJET - Effect of Local Scour on Foundation of Hydraulic Structure
IRJET - Effect of Local Scour on Foundation of Hydraulic StructureIRJET Journal
 
Hydraulic Calculator Manual
Hydraulic Calculator ManualHydraulic Calculator Manual
Hydraulic Calculator ManualFrancis Mitchell
 
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFSANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFSIJCI JOURNAL
 
JGrass-NewAge rain-snow separation
JGrass-NewAge rain-snow separationJGrass-NewAge rain-snow separation
JGrass-NewAge rain-snow separationMarialaura Bancheri
 
Open channel flow velocity profiles for different
Open channel flow velocity profiles for differentOpen channel flow velocity profiles for different
Open channel flow velocity profiles for differenteSAT Publishing House
 
Open channel flow velocity profiles for different reynolds numbers and roughn...
Open channel flow velocity profiles for different reynolds numbers and roughn...Open channel flow velocity profiles for different reynolds numbers and roughn...
Open channel flow velocity profiles for different reynolds numbers and roughn...eSAT Journals
 
Changes in dam break hydrodynamic modelling practice - Suter et al
Changes in dam break hydrodynamic modelling practice - Suter et alChanges in dam break hydrodynamic modelling practice - Suter et al
Changes in dam break hydrodynamic modelling practice - Suter et alStephen Flood
 
Determination of shock losses and pressure losses in ug mine openings (1)
Determination of shock losses and pressure losses in ug mine openings (1)Determination of shock losses and pressure losses in ug mine openings (1)
Determination of shock losses and pressure losses in ug mine openings (1)Safdar Ali
 
788072013031501802412
788072013031501802412788072013031501802412
788072013031501802412SOE
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentNiccolò Tubini
 

Similar to Oms richards-1 d-integrator (20)

JGrass-NewAge water budget
JGrass-NewAge water budget JGrass-NewAge water budget
JGrass-NewAge water budget
 
CFD Class Final Paper
CFD Class Final PaperCFD Class Final Paper
CFD Class Final Paper
 
JGrass-NewAge LongWave radiation Balance
JGrass-NewAge LongWave radiation BalanceJGrass-NewAge LongWave radiation Balance
JGrass-NewAge LongWave radiation Balance
 
100-423-1-PB.pdf
100-423-1-PB.pdf100-423-1-PB.pdf
100-423-1-PB.pdf
 
Fluent summary
Fluent summaryFluent summary
Fluent summary
 
Lwrb linkers
Lwrb linkersLwrb linkers
Lwrb linkers
 
JGrass-Newage SWRB
JGrass-Newage SWRBJGrass-Newage SWRB
JGrass-Newage SWRB
 
CFD Analysis Of Multi-Phase Flow And Its Measurements
CFD Analysis Of Multi-Phase Flow And Its MeasurementsCFD Analysis Of Multi-Phase Flow And Its Measurements
CFD Analysis Of Multi-Phase Flow And Its Measurements
 
Rosetta
RosettaRosetta
Rosetta
 
IRJET - Effect of Local Scour on Foundation of Hydraulic Structure
IRJET - Effect of Local Scour on Foundation of Hydraulic StructureIRJET - Effect of Local Scour on Foundation of Hydraulic Structure
IRJET - Effect of Local Scour on Foundation of Hydraulic Structure
 
Hydraulic Calculator Manual
Hydraulic Calculator ManualHydraulic Calculator Manual
Hydraulic Calculator Manual
 
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFSANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
ANALYSIS OF VORTEX INDUCED VIBRATION USING IFS
 
JGrass-NewAge rain-snow separation
JGrass-NewAge rain-snow separationJGrass-NewAge rain-snow separation
JGrass-NewAge rain-snow separation
 
Open channel flow velocity profiles for different
Open channel flow velocity profiles for differentOpen channel flow velocity profiles for different
Open channel flow velocity profiles for different
 
Open channel flow velocity profiles for different reynolds numbers and roughn...
Open channel flow velocity profiles for different reynolds numbers and roughn...Open channel flow velocity profiles for different reynolds numbers and roughn...
Open channel flow velocity profiles for different reynolds numbers and roughn...
 
Changes in dam break hydrodynamic modelling practice - Suter et al
Changes in dam break hydrodynamic modelling practice - Suter et alChanges in dam break hydrodynamic modelling practice - Suter et al
Changes in dam break hydrodynamic modelling practice - Suter et al
 
Re_Equation.pdf
Re_Equation.pdfRe_Equation.pdf
Re_Equation.pdf
 
Determination of shock losses and pressure losses in ug mine openings (1)
Determination of shock losses and pressure losses in ug mine openings (1)Determination of shock losses and pressure losses in ug mine openings (1)
Determination of shock losses and pressure losses in ug mine openings (1)
 
788072013031501802412
788072013031501802412788072013031501802412
788072013031501802412
 
Jgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging componentJgrass-NewAge: Kriging component
Jgrass-NewAge: Kriging component
 

Recently uploaded

Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxMohamedFarag457087
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspectsmuralinath2
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY1301aanya
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticssakshisoni2385
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...Scintica Instrumentation
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)AkefAfaneh2
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceAlex Henderson
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Silpa
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .Poonam Aher Patil
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Silpa
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bSérgio Sacani
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformationAreesha Ahmad
 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptRakeshMohan42
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsOrtegaSyrineMay
 

Recently uploaded (20)

Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
(May 9, 2024) Enhanced Ultrafast Vector Flow Imaging (VFI) Using Multi-Angle ...
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.Selaginella: features, morphology ,anatomy and reproduction.
Selaginella: features, morphology ,anatomy and reproduction.
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
Velocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.pptVelocity and Acceleration PowerPoint.ppt
Velocity and Acceleration PowerPoint.ppt
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 

Oms richards-1 d-integrator

  • 1. Tubini et al. LINKERS OMS Richards 1D integrator Niccol`o Tubini*† , Aaron Iemma† and Francesco Serafin† * Correspondence: niccolo.tubini@unitn.it Dipartimento di Ingegneria Civile Ambientale e Meccanica, Trento, Mesiano di Povo, Trento, IT Full list of author information is available at the end of the article † Code Author Abstract These pages teach how to run the solver for Richards’ equation 1D case inside the OMS 3 console. Some preliminary knowledge and installation of OMS is mandatory (see @Also useful). To perform the solution of the nonlinear system a nested Newton’s type algorithm is used (Casulli and Zanolli, 2010). @License: GPL v. 3 @Inputs: • SWRC model and its own parameters; • θs (−); • θr (−); • Ks (m/s); • Soil column discretization and initial condition for the water pressure (m); • Type of the top boundary condition; • Top boundary condition values; • Type of the bottom boundary condition; • Bottom boundary condition values; • Type of algorithm to solve the nonlinear system; • Error tolerance solving the nonlinear system. @Outputs: • Profile of water suction ψ for each time step of the simulation (m); • Profile of dimensionless water content θ for each time step of the simulation (−). @Doc Author: Niccol`o Tubini @References: • See References section below Keywords: OMS; Richards’ equation 1D case
  • 2. Tubini et al. Page 2 of 7 Code Information Executables This link points to the jar file that, once downloaded can be used in the OMS console: https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/ lib Developer Info This link points to useful information for the developers, i.e. information about the code internals, algorithms and the source code https://github.com/geoframecomponents Also useful To run a OMS project it is necessary to know how to use the OMS console. Information at: ”How to install and run the OMS console”, https://alm.engr.colostate.edu/cb/project/oms). JGrasstools are required for preparing some input data (information at: http://abouthydrology.blogspot.it/2012/11/udig-jgrasstools-resources-in-italian. html To visualize results you need a GIS. Use your preferred GIS, following its installation instructions. To make statistics on the results, you can probably get benefits from R: http://www.r-project.org/ and follow its installation instruction. To whom address questions niccolo.tubini@unitn.it Authors of documentation Niccol`o Tubini (niccolo.tubini@unitn.it) This documentation is released under Creative Commons 4.0 Attribution International
  • 3. Tubini et al. Page 3 of 7 Component Description To study the time evolution of the water suction and hence of the dimensionless water content one has to solve Richards’ equation. Richards’ equation for the one-dimensional case is ∂θ(ψ) ∂t = ∂ ∂z K(ψ) ∂ ∂z (ψ + z) (1) where θ(ψ) is the dimensionless water content related to the water suction ψ through a prescribed parametric function usually referred to as soil water retention curve (SWRC), K(ψ) is the soil hydraulic conductivity, z is the positive upward vertical coordinate, and t is time. The above equation is the so called mixed form of the Richards’ equation (Casulli an Zanolli, 2010). To solve Eq.(1) is necessary to provide a domain discretization, an initial condition for the water suction, and two boundary conditions one at the soil surface and one at the bottom. Detailed Inputs description General description The input file for both the top and bottom boundary condition is a .csv file containing a header and one series of input data. The file must have the following header: • The first 3 rows with general information such as the date of the creation of the file and the author; • the fourth and fifth rows contain the ID of the station; • the sixth row contains the information about the type of the input data (in this case, one column with the date and one column with double values); • the seventh row specifies the date format (YYYY-MM-dd HH:mm). All this information shown in the figure 1. Figure 1 Heading of the .csv input file for the boundary conditions. The input file for the initial condition is a .csv file containing two columns: the first one the depth (m), and the second one the initial condition for the water suction (m).
  • 4. Tubini et al. Page 4 of 7 It is worthwhile to point out that the first line refers to the deepest layer of the soil column, whilst the last one to the uppermost one. Furthermore, the first column provides a discretization of the domain. Indeed, the depth refers to the centroid of each control volume in which the domain is discretized. Figure 2 Example of a .csv input file for the initial condition. Initial condition for the water pressure The initial condition for the water pressure (m) is given for each control volume. SWRC model Three types of SWRC models are available: Van Genuchten (Van Genuchten, 1980), Brooks an Corey (Brooks and Corey, 1964), and two-parameters lognormal distribution (Kosugi, 1996). Type of the top boundary condition It is possible to assign either the water pressure at the soil surface (Dirichlet boundary condition), or the water flux though the soil surface (Neumann boundary condition). Top boundary condition The rainfall time series (mm). In case one wants to assign a Neumann top boundary condition the code handles the computation of the of the water flux related to the time series. Type of the bottom boundary condition It is possible to assign either the water pressure at the bottom of the soil column (Dirichlet boundary condition), or the free drainage boundary condition. Bottom boundary condition To assign a Dirichlet boundary condition it is necessary to provide a theoretical time series of the water pressure a the bottom of the domain. This means to hypothesize the water table time evolution. When a free drainage boundary condition it is necessary to provide however a time series, even thou its values will not be taken into account by the the solver (this will be fixed in the next release).
  • 5. Tubini et al. Page 5 of 7 Algorithm to solve the nonlinear system It is possible to choose between Newton’s algorithm and the nested Newton’s one. The first one is faster but its convergence is not alway guaranteed, by the contrast the nested Newton’s algorithm is slower but always converges. Algorithm tolerance Defines a threshold on the error of the system solution. Detailed Outputs description water pressure and dimensionless water content The computed water pressure and dimensionless water content are given as time series. Respectively, their units are (m) and (−). Examples The following .sim file is customized for the use of the solver for Richards’ equation 1D case. The .sim file can be downloaded from here: https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/ simulation /* * Solver for Richards ’ equation 1D * water pressure initial condition is assigned by the user * boundary conditions assigned by the user * * Numerical scheme : * Casulli , Vincenzo , and Paola Zanolli . * "A nested Newton -type algorithm for finite volume methods solving Richards ’ equation in mixed form ." * SIAM Journal on Scientific Computing 32.4 (2010) : 2255 -2273. */ import static oms3.SimBuilder.instance as OMS3 def home = oms_prj // start and end date of the simulation def startDate= "2017 -01 -01 00:00" def endDate="2017 -05 -24 00:00" // time interval of temporal series [ minutes ] def tTimestep = 5 OMS3.sim { resource "$oms_prj/lib" // model () { model(while : " reader_data_topBC .doProcess" ){ components { "solver" " Richards1DSolver . Richards1DSolver " " reader_data_topBC " "org.jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorReader " " reader_data_bottomBC " "org. jgrasstools .gears.io. timedependent . OmsTimeSeriesIteratorReader " "read_iC" "readTxt. ReadTxtMultiColumn " } parameter {
  • 6. Tubini et al. Page 6 of 7 // hydraulic conductivity at saturation [m/s] "solver.ks" "0.000000556 " // dimensionless water content at saturation [-] "solver.thetaS" "0.38" // dimensionless residual water content [-] "solver.thetaR" "0.068" // parameters of Van Genuchten ’s SWRC model (Van Genuchten , 1980) "solver.n" "1.09" "solver.alpha" "0.8" // [1/m] // parameters of Brooks ’ and Corey ’s SWRC model ( Brooks and Corey , 1964) "solver.psiE" "1.9" // [m] "solver.lambda" "1.9" // parameters of two - paramaters lognormal distribution // for SWRC model (Kosugi , 1996) // median of the pore size distribution [m] "solver.rMedian" " 0.0000020781 " // standard deviation of the pore size distribution "solver.sigma" "0.6" // Available SWRC models : // - "Van Genuchten " // - " Kosugi " // - " Brooks and Corey" "solver. soilHydraulicModel " "Van Genuchten" // Type of the top boundary condition : // - "Top Dirichlet " the water pressure value is assigned // - "Top Neumann " the water flux through the soil surface is assigned "solver.topBCType" "Top Dirichlet"; // Type of the bottom boundary condition : // - " Bottom Dirichlet " the water pressure value is assigned // - " Bottom Free Drainage " the water flux is controlled only // by the gravitational gradient "solver. bottomBCType " "Bottom Dirichlet"; // Height of the soil column [m] "solver.spaceBottom" "2.0" // nested Newton tolerance , range (10^( -3) ; 10^( -14)) "solver. newtonTolerance " "0.00000001" // Algorithm to solve the nonlinear system : // - 0 --> Newton ’s method // - 1 --> nested Newton : "solver. nestedNewton " "1" // time step [s], it must be consistent // with tTimestep defined at line 22 "solver.tTimestep" "300" // parameters reader data input top boundary condition " reader_data_topBC .file" "$oms_prj // data/ Trento_TopBC .csv" " reader_data_topBC .idfield" "ID" " reader_data_topBC .tStart" "${startDate}" " reader_data_topBC .tEnd" "${endDate}" " reader_data_topBC .tTimestep" "${tTimestep}" " reader_data_topBC .fileNovalue" " -9999" // parameters reader data input bottom boundary condition " reader_data_bottomBC .file" "$oms_prj // data/ Trento_BottomBC_0 .csv" " reader_data_bottomBC .idfield" "ID" " reader_data_bottomBC .tStart" "${startDate}" " reader_data_bottomBC .tEnd" "${endDate}" " reader_data_bottomBC .tTimestep" "${tTimestep}"
  • 7. Tubini et al. Page 7 of 7 " reader_data_bottomBC . fileNovalue" " -9999" // file path for the initial condition "read_iC.filePath" "$oms_prj/data/ InitialConditionHydrostatic . csv" // folder path for the output files "solver.dir" "$oms_prj/output" } connect{ "read_iC.depth" "solver.depth" "read_iC.suctionIC" "solver.iC" " reader_data_topBC .outData" "solver.inTopBC" " reader_data_bottomBC .outData" "solver.inBottomBC" " reader_data_topBC .tCurrent" "solver. inCurrentDate " } } } Data and Project The following link is for the download of the input data necessaries to execute the com- ponent (as shown in the .sim file in the previous section ): https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D/tree/master/ data The following link is for the download of the OMS project for the component: https://github.com/GEOframeOMSProjects/OMS_Project_Richards1D % References