PGCALC
From BAWiki
Basic Information
Name of Program
PGCALC
Version-Date
2.x / January 2001
Description-Date
September 2022
Catchwords
Layer Thickness
Geodetic Height
Density
Pressure
Universal Direct Access Data Format
Short Description of Functionality
The Program PGCALC generates with synoptical data from numerical models further special data, e.g. Layer Thickness, Geodetic Height, Density and Pressure.
Input-Files
- general input data file (filetype pgcalc.dat)
- grid for 2D/3D-data (filetype gitter05.dat/bin or filetype untrim_grid.dat)
- or profile-topography for profile-data (filetype profil05.bin)
- or system file for specific locations (filetype location_grid.dat)
- synoptic data with the necessary physical quantities as input data (filetype dirz.bin.r, dirz.bin.i und dirz.bin)
Output-Files
- calculated data (filetype dirz.bin.r, dirz.bin.i und dirz.bin)
- informative printer file (filetype pgcalc.sdr)
- (optional) trace of program execution (filetype pgcalc.trc)
Methodology
The Program calculates independent of the numerical method additional physical quantities. These may be useful in further Postprocessors (e.g. ENERF). Depending on the input data, 2D or 3D output data is generated.
Remarks concerning the physical output quantinies:
- Geodetic Height:
- corresponds to the local centre of gravity in a water column or a layer, referred to mNN as the reference level.
- Layer Thickness:
- stands for the height of a water column or a layer.
- Density:
- calculated water density by using salt contension and temperature.
- Pressure: (Total Pressure)
- pressure in the centre of a water column or layer, calculated with density, layer thickness and gravity; the air pressure and if present the hydrodynamic water pressure
- are added to the total water pressure
Program(s) to run before this Program
DATACONVERT, DIDARENAME, DIDASPLIT, TELEMAC-2D, TM2DIDA, TR2DIDA, TR3DIDA, TRIM-2D (along profiles), TRIM-3D (along profiles), UNTRIM, VTDK
Program(s) to run after this Program
ABDF, DIDARENAME, DIDASPLIT, DIDAMINTQ, DIDAMINTZ, ENERF, GVIEW2D, HVIEW2D, LQ2PRO, VTDK, ZEITR
Additional Information
Language
Fortran90
Additional software
-
Original Version
A. Cords
Maintenance
Documentation/Literature
$PROGHOME/examples/pgcalc/pgcalc.dat
back to Program Descriptions