how to read in a position file
I am trying to ask openFoam to read in a position file using the "lookup" like the following:
position position [0 1 0 0 0 0 0] (x1 y1 z1 x2 y2 z2 x3 y3 z3 ...)
the above is defined in the dictionary file.
if it is just one particular position
position position [0 1 0 0 0 0 0] (x1 y1 z1)
Then I can use
my problem is I am not too sure how to define this position variable in the code as it is a nx3 matrix, which means I can not use vector or tensor for the type.
I am think using vectorField but could not find much from the UserGuide.
Does anyone have an idea about this?
Thanks a lot.
|All times are GMT -4. The time now is 00:54.|