Viewfactor > Data File Specifications > 9.6 TEMPLATEDAT (Surface Pointer Data)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
9.6 TEMPLATEDAT (Surface Pointer Data)
The TEMPLATEDAT file is fully specified in the Patran Thermal User’s Guide. Look there for additional information. This section contains the specification for a VFAC Template in this file. Comment lines may be interspersed at any place in the file, except in the midst of a data line. Comment lines are those lines which begin with an asterisk or a semicolon.
and the length of the VFAC Template Data must be less than or equal to 80­ characters.
Parameter
Description
del
(,|blank)[(blank)*]
VFAC
VFAC|'VFAC
V
V|v
F
F|f
A
A|a
C
C|c
TID
positive integer
nbands
non-negative integer, default = 0
anything
any character string representable on the machine
CRLF
carriage return line feed
epsilon
real
tau
real, default = 1.0
empid
integer, default = 0
tmpid
integer, default = 0
lambda1
real, default = 0.0
lambda2
real, default = 0.0
kflag
integer, default = 0
collapse
non-negative integer, default = 0
real
Real number representable on the machine in default real type variable and having 20 or less digits, including +, -, ., E, etc. Default format is G20.10
integer
Integer number representable on the machine in default integer type variable and having 20 or less digits, including +, -, etc.
In addition to the above form requirements, only certain combinations of data values are valid. These are determined by the following tests:
1. If nbands equals 0 and either lambda1 not equal to 0.0 or lambda2 not equal to 0.0, then this is an error.
2. If nbands greater than 0 and either lambda1 greater than or equal to lambda2 or lambda 1 less than 0.0, then this is an error.
3. If kflag is not equal to 0 or 1, then this is an error.
4. If empid equals 0 and either epsilon is less than or equal to 0.0 or epsilon is greater than 1.0, then this is an error.
5. If empid is not equal to 0 and epsilon is not equal to 0.0, then this is an error.
6. If tmpid equals 0 and kflag equals 0 and either tau is less than or equal to 0.0 or tau is greater than 1.0, then this is an error.
7. If tmpid equals 0 and kflag equals 1 and tau is less than 0.0, then this is an error.
8. If tmpid is not equal to 0 and tau is not equal to 0.0, then this is an error.
Additionally, an error will occur in Viewfactor if tmpid is not equal to 0, and there is not a MEDNOD available with the referenced surface or if kflag equals 1, and an AMBNOD is associated with the reverenced surface.