Appendix C; List of GENTRA FORTRAN variables

The main GENTRA variables are listed in this Appendix. These variables are available through the COMMON blocks in the file TRACMN, a copy of which can be found in the d_gentra directory.

In the tables below, the numbers in square brackets indicate the built-in default value of the variable.

Additionally, all the GENTRA-PIL variables, listed in Appendix B, are also available in FORTRAN, and are automatically assigned the value specified for them in the Q1 file.

(Variables in italics should not be modified by the user.)

C.1 Variables for continuous phase

Name

Type

Meaning

CPVAPO

REAL

Cp of vapour

DENGAS

REAL

Density of the continuous phase

GASPRE

REAL

Pressure of the continuous phase

GCONGS

REAL

Vapour mass fraction

GCPGAS

REAL

Cp of cont. phase-vapour mixture

GEDLIF

REAL

Eddy life time

GEPSIL

REAL

Local dissipation rate of turbulence kinetic energy

GKINET

REAL

Local turbulence kinetic energy

GLENGT

REAL

Turbulence length scale

GSENUL

REAL

Laminar viscosity of the continuous phase

GVFLOW

REAL

Magnitude of velocity of cont. phase

HEAT

INT.

Index of energy source

PRINDX

INT.

Property index Threshold for solid

PROPS

INT.

Index of properties for cont. phase

RESMET

BOOL

Cal. of cont. phase has met the residual criterion

REST

INT.

Index of particle residence time

TEMGAS

REAL

Temperature of the continuous phase

THRMKC

REAL

Thermal conduct. of the cont. phase without vapour

TSOLVE

BOOL

Switch for solving particle energy equation

UCDASH

REAL

Vel. fluctuation of the cont. phase in Cart. system

UCGASN

REAL

Velocity of the continuous phase in Cartesian system

UPGASN

REAL

Velocity of the continuous phase in polar system

VAPO

INT.

Index of vapour concentration

VCDASH

REAL

Vel. fluctuation of the cont. phase in Cart. system

VCGASN

REAL

Velocity of the continuous phase in Cartesian system

VPGASN

REAL

Velocity of the continuous phase in polar system

WCDASH

REAL

Vel. fluctuation of the cont. phase in Cart. system

WCGASN

REAL

Velocity of the continuous phase in Cartesian system

C.2 Variables for particle phase

Name

Type

Meaning

DIAMAX

REAL

Maximum particle diameter

DIAMIN

REAL

Minimum particle diameter

DIPARN

REAL

New particle diameter

DIPARO

REAL

Old particle diameter

EPS

REAL

Restitution coefficient

GCPPAR

REAL

Cp of particle

GDT

REAL

Lagrangian time step size

GEDTIM

REAL

Traverse time for particle through eddy

GHCSAA

REAL

Coefficient in particle energy equation

GHCSBB

REAL

Coefficient in particle energy equation

GHCSCC

REAL

Source in particle energy equation

GMCSAA

REAL

Coefficient in particle mass equation

GMCSBB

REAL

Coefficient in particle mass equation

GMCSCC

REAL

Source in particle mass equation

GMINDX

REAL

Index of solid fraction formula

GNUSLT

REAL

Nusselt number

GPRYVS

REAL

Vapour mass fraction under saturation condition

GTIMED

REAL

Total particle-eddy interaction time

GTLIQD

REAL

Liquidus temperature

GTSOLD

REAL

Solidus temperature

GVCSAA

REAL

Coefficient in particle momentum equation

GVCSBB

REAL

Coefficient in particle momentum equation

GVCSCX

REAL

Source in particle momentum equation

GVCSCY

REAL

Source in particle momentum equation

GVCSCZ

REAL

Source in particle momentum equation

GVPART

REAL

Magnitude of particle velocity

HFGLIQ

REAL

Latent heat of evaporation

IP

INT.

ID of the current particle

IUPARN

INT.

New index of particle containing momentum cell

IUPARO

INT.

Old index of particle containing momentum cell

IVPARN

INT.

New index of particle containing momentum cell

IVPARO

INT.

Old index of particle containing momentum cell

IWPARN

INT.

New index of particle containing momentum cell

IWPARO

INT.

Old index of particle containing momentum cell

IXPARN

INT.

New index of particle containing cell

IXPARO

INT.

Old index of particle containing cell

IYPARN

INT.

New index of particle containing cell

IYPARO

INT.

Old index of particle containing cell

IZPARN

INT.

New index of particle containing cell

IZPARO

INT.

Old index of particle containing cell

KILPAR

BOOL

Current particle is killed

LABPAR

INT.

Particle ID (internal use only)

LASTF

INT.

Last F-array address used

LSTLAB

INT.

ID of last particle

MASS

INT.

Index of mass source

MOMX

INT.

Index of X-momentum source

MOMY

INT.

Index of Y-momentum source

MOMZ

INT.

Index of Z-momentum source

NPORTS

INT.

Number of parcels introduced in the current Eulerian time step

NTRACK

INT.

Total number of parcels in the domain

PARNUM

REAL

Number of particles in the current parcel

PMASSN

REAL

New parcel mass

PMASSO

REAL

Old parcel mass

PRVLIN

REAL

Internal variable for particle init. condition

RELVEC

REAL

Magnitude of relative velocity (slip velocity)

REYNOL

REAL

Particle Reynolds number

ROLIQD

REAL

Liquid density of particle

ROPARN

REAL

New particle density

ROPARO

REAL

Old particle density

ROSOLD

REAL

Solid density of particle

ROTCOO

BOOL

Simulation is in rotating co-ordinate system

SATPRS

REAL

Vapour saturation pressure

SOLFR0

REAL

Initial particle solid-fraction

SOLFRN

REAL

New particle solid fraction

SOLFRO

REAL

Old particle solid fraction

SOLIDF

BOOL

Switch for solid./melt.

SOLLAT

REAL

Latent heat of solidification

SPALD

REAL

Spalding number

STARAT

REAL

Velocity criterion for particle stagnation

THRMKV

REAL

Thermal conduct. of vapour

TPARTN

REAL

New particle temperature

TPARTO

REAL

Old particle temperature

TUROFF

BOOL

Turning off turb. stochastic model (Internal use)

UCNDRG

REAL

Internal variable for particle momentum calculation

UCPARN

REAL

New particle velocity in Cartesian system

UCPARO

REAL

Old particle velocity in Cartesian system

UPPARN

REAL

New particle velocity in polar system

UPPARO

REAL

Old particle velocity in polar system

VAPSOL

BOOL

Flag for solving vapour concentration

VCNDRG

REAL

Internal variable for particle momentum calculation

VCPARN

REAL

New particle velocity in Cartesian system

VCPARO

REAL

Old particle velocity in Cartesian system

VPPARN

REAL

New particle velocity in polar system

VPPARO

REAL

Old particle velocity in polar system

WCNDRG

REAL

Internal variable for particle momentum calculation

WCPARN

REAL

New particle velocity in Cartesian system

WCPARO

REAL

Old particle velocity in Cartesian system

WPGASN

REAL

Velocity of the continuous phase in polar system

WPPARN

REAL

New particle velocity in polar system

WPPARO

REAL

Old particle velocity in polar system

XCPARN

REAL

New particle position in Cartesian system

XCPARO

REAL

Old particle position in Cartesian system

XPPARN

REAL

New particle position in polar system

XPPARO

REAL

Old particle position in polar system

YCPARN

REAL

New particle position in Cartesian system

YCPARO

REAL

Old particle position in Cartesian system

YPPARN

REAL

New particle position in polar system

YPPARO

REAL

Old particle position in polar system

ZCPARN

REAL

New particle position in Cartesian system

ZCPARO

REAL

Old particle position in Cartesian system

ZPPARN

REAL

New particle position in polar system

ZPPARO

REAL

Old particle position in polar system

C.3 Printout variables

Name

Type

Meaning

LUFAT

INT.

Logical unit for GENTRA fatal error

LUHIS

INT.

Logical unit for GENTRA global history file

LUPRO

INT.

Logical unit for screen output

LUTRA

INT.

Logical unit for PHOTON use file

LUWAR

INT.

Logical unit for GENTRA warning message

TRCOLO

INT.

Colour index of trajectory

TRDASH

INT.

line style index of trajectory

C.4 Auxiliary variables

Name

Type

Meaning

ANODAL

REAL

Internal variable

AXISYM

BOOL

Axi-symmetric case

AXIXRY

BOOL

Internal variable

AXIXRZ

BOOL

Internal variable

AXIYRX

BOOL

Internal variable

AXIYRZ

BOOL

Internal variable

AXIZRX

BOOL

Internal variable

AXIZRY

BOOL

Internal variable

BNODAL

REAL

Internal variable

CCHLIM

REAL

Internal variable

CCLLIM

REAL

Internal variable

CCNMAX

REAL

Internal variable

CCNMIN

REAL

Internal variable

CELMIN

REAL

Internal variable

CENTRA

REAL

Internal variable

CHARVL

REAL

Characteristic velocity

CNODAL

REAL

Internal variable

DBGLEV

INT.

For internal debugging only

DBGPAR

INT.

For internal debugging only

DBGSWP

INT.

For internal debugging only

DIHLIM

REAL

Internal variable

DILLIM

REAL

Internal variable

DISAX

REAL

Internal variable

DISAY

REAL

Internal variable

DISAZ

REAL

Internal variable

DISBX

REAL

Internal variable

DISBY

REAL

Internal variable

DISBZ

REAL

Internal variable

DNODAL

REAL

Internal variable

ENODAL

REAL

Internal variable

FACEVS

REAL

Internal variable

FNODAL

REAL

Internal variable

FULCYC

BOOL

The domain covers full cycle

FVISIT

BOOL

Internal variable

GBUOYA

BOOL

PIL variable

GCARTE

BOOL

Cartesian system

GCPCON

REAL

PIL variable

GCPLIQ

REAL

PIL variable

GCPSOL

REAL

PIL variable

GCPVAP

REAL

PIL variable

GDRAG

REAL

PIL variable

GDTMAX

REAL

PIL variable

GDTMIN

REAL

Minimum time step size allowed

GDTRCT

REAL

PIL variable

GFASWP

INT.

First actual GENTRA sweep

GGRAX

REAL

PIL variable

GGRAY

REAL

PIL variable

GGRAZ

REAL

PIL variable

GH1STC

CHAR

PIL variable

GHFILE

CHAR

PIL variable

GHLIQD

REAL

PIL variable

GINFIL

CHAR

PIL variable

GKONC

REAL

PIL variable

GKONV

REAL

PIL variable

GLAGTS

INT.

PIL variable

GLATVP

REAL

PIL variable

GLHEAS

REAL

PIL variable

GLIQST

REAL

PIL variable

GMWCON

REAL

PIL variable

GMWVAP

REAL

PIL variable

GNODAL

REAL

Internal variable

GNUSS

REAL

PIL variable

GOUTFR

INT.

PIL variable

GPOLAR

BOOL

Polar system

GPOROS

REAL

PIL variable

GPTYPE

INT.

PIL variable

GRESTI

INT.

PIL variable

GRSTRT

CHAR

PIL variable GRSFIL

GRTFRC

REAL

PIL variable

GSOLIN

REAL

PIL variable

GSOLST

REAL

PIL variable

GSTEMX

INT.

PIL variable

GSTOCH

BOOL

PIL variable

GSTPRE

REAL

PIL variable

GSURPR

BOOL

PIL variable

GSWEP1

INT.

PIL variable

GSWEPF

INT.

PIL variable

GSWOUT

INT.

PIL variable

GT1STC

CHAR

PIL variable

GTIMMX

REAL

PIL variable

GVAPST

REAL

PIL variable

GWALLC

INT.

PIL variable

GWREST

REAL

PIL variable

GXCYCL

BOOL

Cyclic boundary condition

HNODAL

REAL

Internal variable

IBODRY

INT.

Internal variable

IBONCF

INT.

Internal variable

IGAXI

INT.

Internal variable

ILOC0

INT.

Internal variable

INTLEV

INT.

For internal debugging only

IPRDIA

INT.

Internal variable

IPRLAB

INT.

Internal variable

IPRLIQ

INT.

Internal variable

IPRNUM

INT.

Internal variable

IPRSOF

INT.

Internal variable

IPRSOL

INT.

Internal variable

IPRSTN

INT.

Internal variable

IPRT0

INT.

Internal variable

IPRTEM

INT.

Internal variable

IPRVEL

INT.

Internal variable

ITEMIN

INT.

Internal variable

IVARBL

INT.

Internal variable

JCOUNT

INT.

Internal variable

JGAXI

INT.

Internal variable

JTEM1

INT.

Internal variable

JUCRT

INT.

Internal variable

JVCRT

INT.

Internal variable

JWCRT

INT.

Internal variable

KGAXI

INT.

Internal variable

LSTSWP

BOOL

Flag for PHOENICS last sweep

LUEND

INT.

Internal variable

NFACE

INT.

Internal variable

NGWEND

INT.

PIL variable

NGWINT

INT.

PIL variable

NGWSTR

INT.

PIL variable

PI

REAL

3.1415926

POLTRC

BOOL

Tracking in polar system

SUBEDY

BOOL

Internal variable

TCHLIM

REAL

Internal variable

TCLLIM

REAL

Internal variable

TCNMAX

REAL

Internal variable

TCNMIN

REAL

Internal variable

TCONST

BOOL

Internal variable

TPHLIM

REAL

Internal variable

TPLLIM

REAL

Internal variable

TPRMAX

REAL

Internal variable

TPRMIN

REAL

Internal variable

UA

REAL

Internal variable

UB

REAL

Internal variable

VA

REAL

Internal variable

VB

REAL

Internal variable

VPHLIM

REAL

Internal variable

VPLLIM

REAL

Internal variable

VPRMAX

REAL

Internal variable

VPRMIN

REAL

Internal variable

WA

REAL

Internal variable

WB

REAL

Internal variable

XCFACE

REAL

Internal variable

XLASTM

REAL

Internal variable

YLASTM

REAL

Internal variable

ZLASTM

REAL

Internal variable


Top Previous Next