Copyright 2005 by gINT Software. All rights reserved worldwide.
GR011.TXT
gINT Rules Code Samples - 011
Requires gINT version 6.1.016 or later.
NOTE: Code samples are provided free of charge and as-is. gINT Software makes no claim or warranty as to the accuracy of the samples. It is the responsibility of the user to ensure that the code performs as it should. Comments, suggestions, and error reports are appreciated.
Description
===========
Creates a profile of effective overburden stress at fixed intervals of depth based on a profile of densities with depth and the depth to groundwater. The resultant stress versus depth values are stored in another table for plotting on graph reports or plot vs depth entities. The EFFECTIVE OVERBURDEN table is exposed in this sample but would probably be hidden in actual usage.
Our thanks to Arran Armstrong of GEMS of Bath, Avon, UK for the suggestion for this sample.
Usage
=====
The EFFECTIVE OVERBURDEN table stores Depth, Density, and Effective Overburden Pressure. The Effective Overburden Pressure is calculated at set depth increments based on the data in the DENSITY PROFILE table and the Water Depth value in the POINT table. On making a change in the DENSITY PROFILE table, the EFFECTIVE OVERBURDEN table is cleared for the current PointID and recalculated. On making a change to the Water Depth field in the POINT table, the Effective Overburden Pressure values are recalculated for the associated PointID in the EFFECTIVE OVERBURDEN table.
The sample is set up for metric units (meters for depth and Mg/m3 for density) and 0.25m is used for the depth increment for calculating the effective overburden pressures. If your units and/or increment are different, change the constants that determine the these values appropriately (md_DepthInc, md_StressConversionFactor, md_UnitWtWater) in the Declarations section of the GR011 module.
Revision History
================
11 May 2005:
Initial upload
*************************************************
INCLUDED FILES:
GR011.GLB:
gINT Rules code modules:
GR011 Main
BulkDensityIncrement
DensityProfile
EffectiveOverburdenPressure
EffOverburdenRecordsetGetFnB
Point
GR011 COMMON PROCEDURES AddBracketsFnS
FieldValueStatusFnEnum
InitFieldsFnB
RecordsetClose
GR011.GPJ:
Sample project that makes use of the code modules.
*************************************************
INSTALLATION PROCEDURE:
Copy the files wherever you prefer. To see the gINT Rules code modules you must either merge the GLB into your library (Utilities:Lib Merge/Copy) or change to the included library (File:Change Library).
*************************************************
SPECIAL NOTES:
None
*************************************************