|May 23, 2011, 05:38||
how to read in a position file
Join Date: Jan 2010
Posts: 119Rep Power: 5
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3||flakid||OpenFOAM Installation||16||December 28, 2010 09:48|
|BlockMesh FOAM warning||gaottino||OpenFOAM Native Meshers: blockMesh||7||July 19, 2010 15:11|
|tecio compilation errors in latest 1.6.x||rsamuel||OpenFOAM Bugs||1||December 22, 2009 04:34|
|Problem with rhoSimpleFoam||matteo_gautero||OpenFOAM Running, Solving & CFD||0||February 28, 2008 07:51|
|Results saving in CFD||hawk||Main CFD Forum||16||July 21, 2005 21:51|