/FUNC_2D
Block Format Keyword Defines a scalar value or a vector value defined on a subset of .
Format
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
/FUNC_2D/fct2d_ID | |||||||||
fct2d_title | |||||||||
dim |
(1) | (2) | (3) | (4) | (5) | (6) | (7) | (8) | (9) | (10) |
---|---|---|---|---|---|---|---|---|---|
X | Y | Z1 | Z2 | Z3 |
Definitions
Field | Contents | SI Unit Example |
---|---|---|
fct2d_ID | 2D function identifier
(mandatory) (Integer, maximum 10 digits) |
|
fct2d_title | 2D function
title (Character, maximum 100 characters) |
|
dim | Dimension of the 2D
function values
|
|
X | Coordinate
1 (Real) |
|
Y | Coordinate
2 (Real) |
|
Z1 | 2D function value along first basis axis | |
Z2 | 2D function value along second basis axis, only used when dim=2 or 3 | |
Z3 | 2D function value along third basis axis, only used when dim= 3 |
Example
/FUNC_2D/1
for density initialization
# dim
1
# X Y Z1
# X-coord Y-Coord density
0.00000000 0.00000000 109.00000000
0.00195695 0.00000000 114.00000000
0.00391389 0.00000000 111.00000000
0.00587084 0.00000000 109.00000000
0.00782779 0.00000000 114.00000000
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
/FUNC_2D/3
for velocity initialization
# dim
2
# X Y Z1 Z2
# X-coord Y-Coord velocity x velocity y
0.00097656 0.00097656 -0.00026680 -0.02174114
0.00097656 0.00292969 -0.00080037 -0.02173459
0.00097656 0.00488281 -0.00133382 -0.02172149
0.00097656 0.00683594 -0.00186707 -0.02170185
0.00097656 0.00878906 -0.00240003 -0.02167567
#---1----|----2----|----3----|----4----|----5----|----6----|----7----|----8----|----9----|---10----|
#enddata
Comments
- The function may contain any number of points.