Subroutine FORMOUT
Prints the contents of an array in TMG TEMPF file format or I-DEAS element data set type 56 universal file format. Use this routine to generate I-DEAS results from any model parameter.
Calling convention:
call formout(title,filename,array,time,isdtp,type)
Arguments | Data type | Input/Output | Description |
---|---|---|---|
title
|
Character*40 | Call | The title of the I-DEAS dataset. This argument is ignored if the file is written in TMG TEMPF format. |
filename
|
Character*12 | Call |
The name of the file. If the format is I-DEAS then the extension '.unv' is added to the filename. The file is opened in append mode, existing data is not overwritten. |
array
|
Real(*) | Call |
Array that contains a value for every element in the model. The file is written using external element numbers.
|
time
|
Real | Call | The time value associated with the data. |
isdtp
|
Integer | Call |
Data type code for I-DEAS data type. The value is in the range from 0 to 18. The common values are:
This field is ignored if for TEMPF formatted files. |
type
|
Character*5 | Call |
File type. t |
Example:
call formout('voltages for heater 12','volts',v,time,0,'IDEAS')