Card 9 - ARRAYTYPE Array Variable Definition

This card defines the dependent and independent variables for array N1.

Parameters: KODE, N1, T1, T2, T3

KODE = ARRAYTYPE (or 53)

N1 is the array number. An array cannot have the same number as a table in the model.

T1 is the code for the first independent variable (X).

T2 is the code for the second independent variable (Y).

T3 is the code for the dependent variable (Z).

Code Description of the code Dependent variable Independent variable
ALBEDO (or 142) Albedo value X
ABSORPTIVITY (or 45) Solar absorptivity X
ANG_INC (or 120) Angle of incidence of a ray X
ANG_REF (or 122) Angle of reflection of ray X
BRDF (or 46) Value of the bidirectional reflectance distribution function at ANG_INC and ANG_REF. Note that the BRDF array must be fully populated. BRDF are used only in conjunction with the Monte Carlo HTFRAD ray tracing option. Input BRDF data is normalized by TMG so that the integral of the probability density over all angles equals one. X
CAP (or 3) CAP is the capacitance of a single element. X
COND (or 1) COND is the current conductance value (linearized if non-linear) if it is used as the independent variable. COND is a conductance multiplier when it is used as the dependent variable. The original conductance value is multiplied by the value interpolated from the table. X
CPP (or 2015) CPP is the specific heat at constant pressure at the element. The independent variable must be one of the following: TEMP, TIME, PTOTAL, or a combination of those (if used in a bivariate fluid material). Referenced CPP from Card 9 - MAT Material Property Definition. X
CURRENT (or 30) CURRENT is a current boundary condition specified for an electrical resistance element. X
DIR_INC (or 121) Direction of incidence of a ray X
DELTAPT (or 2003) DELTAPT is the total pressure rise if it is referenced as dependent variable from a PROP FANPUMP Card. DELTAPT is positive if there is a total pressure rise over the element, and it describes a flow boundary condition. DELTAPT is the total pressure drop if it is referenced from a PROP DUCT or PROP FLOWRES Card as the independent variable, positive if there is a total pressure drop over the element. X
E (or 18) E is the emissivity of an element. The independent variable code must be TEMP or TIME or ANG_INC or DIR_INC. Should be referenced from Card 9 - MAT Material Property Definition. X
ELECRES (or 31) ELECRES is the electrical resistivity specified for an electrical resistance element. X
FLOWRES (or 2002) FLOWRES is the hydraulic flow resistance multiplier referenced by a PROP FLOWRES or PROP DUCT Card. X
KTHERM (or 2017) KTHERM is the thermal conductivity of an element. The independent variable element must be the same as the dependent variable element, it should be referenced from Card 9 - MAT Material Property Definition. X
LATITUDE (or 140) Latitude value X
LONGITUDE (or 141) Longitude value X
MASSFL (or 2005) MASSFL is the mass flow through a 2-node hydraulic element. If referenced from a FANPUMP or STREAM element, it must be the dependent variable and is then a flow boundary condition. If referenced from a PROP DUCT or PROP FLOWRES Card, it must be the independent variable. It is considered positive in the reference forward direction of the element. X
MULTIPLIER (or 84) MULTIPLIER is a multiplier value interpolated from the array. X
PABS (or 2025) PABS is the absolute pressure at a hydraulic element. X
PIR (or 143) PIR is the planet IR radiation. It is the emissive power per unit area leaving the surface of the planet. X
PTOTAL (or 2008) PTOTAL is the total pressure at a hydraulic element. If used as the dependent variable, it must be referenced by a PSINK element, and is considered to be a boundary condition. X X
QNODE (or 4) QNODE is the heat load into an element. If it is the independent variable, it is considered to be the total heat load into the element. If it is the dependent variable, it is summed with all other heat loads into the element, and is a boundary condition. X
RHOAMB (or 2012) RHOAMB is the density of the ambient fluid. X
RHO (or 2018) RHO is the density of the element referenced from Card 9 - MAT Material Property Definition. X
SPECULAR (or 83) Solar specular reflectivity of a surface X
TEMP (or 2) TEMP is the temperature of an element. If used as the dependent variable, the element must be a SINK or an AMBIENT element. If used as the independent variable, and the dependent variable is a conductance, the average temperatures of the two ends of the conductance are used as the independent variable. X X
TIME (or 0) TIME is the time value during a transient run. TIME is considered to be periodic, with a period equal to the (largest-smallest) time value in the table. X
TPHASE (or 40) TPHASE is the phase change temperature of an element. X
TPRIME (or 101) TPRIME is the temperature value of the first element of the conductance. If a Card 6e thermal coupling references a table whose independent variable is TPRIME, the independent variable will be the temperature of the N1 (primary) element. X
TRANSMISS (or 82) Solar transmissivity of a surface X
USER1ARR (or 91-99) USER1ARR…USER9ARR are codes for table interpolation to be used with the CALL USERARRAY routine in a Card 10 user-written subroutine. X
VELOC (or 2007) VELOC is the flow velocity through the hydraulic element. If referenced from a PROP FANPUMP Card it must be the dependent variable and is a flow boundary condition. X
VISC (or 2016) VISC is fluid viscosity. The independent variable must be one of the following: TEMP, TIME, PTOTAL, or a combination of those (if used in a bivariate fluid material). The table should be referenced from Card 9 - MAT Material Property Definition. X
VOLTAGE (or 29) VOLTAGE is voltage boundary conditions specified for an electrical resistance element. X
VOLUME (or 2004) VOLUME is volume flow through the hydraulic element. If referenced from a PROP FANPUMP Card, it must be the dependent variable and is a flow boundary condition. If referenced from a PROP DUCT or PROP FLOWRES Card, it must be the independent variable. It is considered positive in the referenced forward direction of the 2-node element. X
WAVELENGTH (or 116) WAVELENGTH is the wavelength value at which the spectrum-dependent dependent variable is defined. WAVELENGTH must be defined in microns μ, where 1 μ=1.E-6m. X
WAVELENGTHNUMBER (or 116) WAVELENGTHNUMBER is an integer (1,2,3..) used as the independent variable to define a wavelength-dependent spectrum. The dependent variable must be WAVELENGTH or TEMP. X X

Code examples


$
$ Define angle-dependent specular
$ reflectivity
$
ARRAYTYPE 1 DIR_INC ANG_INC SPECULARITY
$
ARRAYDATA 1 -0.18E+03 0.00E+00 .10E+00
ARRAYDATA 1 -0.18E+03 0.45E+02 .10E+00
ARRAYDATA 1 -0.18E+03 0.60E+02 .10E+00
ARRAYDATA 1 -0.18E+03 0.90E+02 .10E+00
$
ARRAYDATA 1 -0.10E+02 0.00E+00 .40E+00
ARRAYDATA 1 -0.10E+02 0.45E+02 .40E+00
ARRAYDATA 1 -0.10E+02 0.60E+02 .40E+00
ARRAYDATA 1 -0.10E+02 0.90E+02 .40E+00
$
ARRAYDATA 1  0.00E+00 0.00E+00 .50E+00
ARRAYDATA 1  0.00E+00 0.45E+02 .50E+00
ARRAYDATA 1  0.00E+00 0.60E+02 .50E+00
ARRAYDATA 1  0.00E+00 0.90E+02 .50E+00
$
ARRAYDATA 1  0.10E+02 0.00E+00 .60E+00
ARRAYDATA 1  0.10E+02 0.45E+02 .60E+00
ARRAYDATA 1  0.10E+02 0.60E+02 .60E+00
ARRAYDATA 1  0.10E+02 0.90E+02 .60E+00
$
ARRAYDATA 1  0.18E+03 0.00E+00 .90E+00
ARRAYDATA 1  0.18E+03 0.45E+02 .90E+00
ARRAYDATA 1  0.18E+03 0.60E+02 .90E+00
ARRAYDATA 1  0.18E+03 0.90E+02 .90E+00
$
$ Bidirectional reflectivity example
$
ARRAYTYPE 2 ANG_INC ANG_REF BRDF
ARRAYDATA 2   0.0   0.0  0.8
ARRAYDATA 2   0.0  44.9  0.8
ARRAYDATA 2   0.0  45.0  0.0
ARRAYDATA 2   0.0  90.0  0.0
$
ARRAYDATA 2  44.9   0.0  0.8
ARRAYDATA 2  44.9  44.9  0.8
ARRAYDATA 2  44.9  45.0  0.0
ARRAYDATA 2  44.9  90.0  0.0
$
ARRAYDATA 2  45.0   0.0  0.0
ARRAYDATA 2  45.0  44.9  0.0
ARRAYDATA 2  45.0  45.0  0.8
ARRAYDATA 2  45.0  90.0  0.8
$
ARRAYDATA 2  90.0   0.0  0.0
ARRAYDATA 2  90.0  44.9  0.0
ARRAYDATA 2  90.0  45.0  0.8
ARRAYDATA 2  90.0  90.0  0.8
$
$ Angle-dependent emissivity
$
ARRAYTYPE 14 ANG_INC DIR_INC E
ARRAYDATA 14  0.000000E+00 -1.800000E+02  5.000000E-01
ARRAYDATA 14  0.000000E+00  1.800000E+02  5.000000E-01
ARRAYDATA 14  4.500000E+01 -1.800000E+02  6.000000E-01
ARRAYDATA 14  4.500000E+01  1.800000E+02  6.000000E-01
ARRAYDATA 14  9.000000E+01 -1.800000E+02  7.000000E-01
ARRAYDATA 14  9.000000E+01  1.800000E+02  7.000000E-01
$

Arrays may be used to define bivariate fluid properties, in particular coupled pressure-temperature dependence of :

  • Mass density (RHO)
  • Thermal conductivity (KTHERM)
  • Specific heat (CPP)
  • Viscosity (VISC)

The following example shows an array that defines a bivariate CPP:


$ Water bivariate formula example   $
ARRAYTYPE 51 TEMP PTOTAL CPP
ARRAYDATA 51  0.000000E+00  1.000000E+02  4.240000E+09
ARRAYDATA 51  0.000000E+00  5.500000E+02  4.420000E+09
ARRAYDATA 51  0.000000E+00  1.000000E+03  4.600000E+09
ARRAYDATA 51  6.342500E+01  1.000000E+02  4.240000E+09
ARRAYDATA 51  6.342500E+01  5.500000E+02  4.420000E+09
ARRAYDATA 51  6.342500E+01  1.000000E+03  4.600000E+09

Notes

This card describes the nature of the dependent and independent variables for array N1.

Each array must have a single ARRAYTYPE, and one or more ARRAYDATA cards, and may be referenced from MAT Cards or INTERP cards.

If the dependent variables are SPECULAR or TRANSMISS, then the independent variables must be ANG_INC or DIR_INC. In this case angle-dependent surface properties are defined, and ray-tracing is performed. The material property coordinate system must be defined with MATVEC Cards, and Angle and Direction of incidence are defined in the following figure: