CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Read cloud of points and interpolate on face centers (http://www.cfd-online.com/Forums/openfoam-pre-processing/62112-read-cloud-points-interpolate-face-centers.html)

bramdejager September 5, 2007 05:01

Dear Foam community, Has an
 
Dear Foam community,

Has anyone experience in prescribing a velocity field on an inlet, using a raw data file as input?

What I want to do is use a cloud of points (x,y, value) as input for an inlet boundary condition. Is there an efficient way to do this? (patchToPatch interpolation? mapFields?). I saw some threads discussing 2d interpolation (x, value), but could not find too much on surface interpolation. Is there for example someone out there who coupled the 'nonuniform' boundary condition directly to a raw data file?

Many thanks in advance for any advice,

Bram

mattijs September 5, 2007 05:17

Did you check out timeVaryingM
 
Did you check out timeVaryingMappedFixedValue? Read a point cloud with assorted values and interpolates to the fixedValue. See the simpleFoam/pitzDailyExptInlet tutorial for an example.

bramdejager September 5, 2007 06:13

Beste Mattijs, Thanks for y
 
Beste Mattijs,

Thanks for your reply. I had a quick look at the mentioned folder and I think I can derive my own solution from this.

When time allows I'll update the forum on it.


All times are GMT -4. The time now is 16:49.