|
[Sponsors] |
January 23, 2012, 11:44 |
Point interpolation in OF
|
#1 |
Member
valerio
Join Date: Jun 2009
Location: Nancy
Posts: 30
Rep Power: 16 |
Goodmorning
I need to perform some interpolations in Openfoam. Imagine I've a point P(x,y) ( I know x and y) I need to find at which cell volume this point belongs and,obviously I need he cell center coordinates via the .x() and .y() functions. All this because I need to know the vector position difference between the point P and the cell center Xdiff=X(c)-X(P) (X is a vector) that I'll use later for some interpolations. Does some clever function exist in OpenFOAM?? I'm surfing in the *.C,*.H openfoam files and I'm reading the forum since four days without success . |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Face and point ordering during interpolation | Arnoldinho | OpenFOAM Programming & Development | 1 | November 29, 2011 04:54 |
block-structured mesh for t-junction | Robert@cfd | ANSYS Meshing & Geometry | 20 | November 11, 2011 04:59 |
Problem with UDF compiling for kTkLW model | Wantami | FLUENT | 0 | July 18, 2011 05:11 |
[Gmsh] Gmsh and samplesurface | touf | OpenFOAM Meshing & Mesh Conversion | 2 | December 10, 2007 02:27 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 12, 2001 23:19 |