CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   interpolation with a cuttingPlane for sample utility (https://www.cfd-online.com/Forums/openfoam/72730-interpolation-cuttingplane-sample-utility.html)

lbordier February 16, 2010 12:46

interpolation with a cuttingPlane for sample utility
 
1 Attachment(s)
Hello,

I'm using the sample utility to probe magU field in a cutting plane of my geometry with the following sampleDict :

setFormat raw;

surfaceFormat vtk;

interpolationScheme cellPointFace;

fields
(
magU
);

sets
(
);

surfaces
(
Soutlet
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0.6810495315 0.06048111031 0.1470900577);
normalVector (0.4284488541 -0.1993678924 -0.8812967848);
}
interpolate true;

}

);

I've looked at the interpolate value and tried to change it to False. The results are in the image file.

Is there any reasons why the results look so different ?

If I use interpolate, in the raw and vtk export i have same points multiple times with different values

# "magU" POINT_DATA 2026
# x y z "magU"
0.611661 0.0586746 0.113765 0
0.611661 0.0586746 0.113765 0
0.611661 0.0586746 0.113765 0
0.611661 0.0586746 0.113765 1.35089e-06
0.611661 0.0586746 0.113765 2.73159e-06

Can someone tell me what this means ?
(Using OpenFOAM 1.6)

Thank you.

Toorop February 14, 2012 13:53

Hi,

I have run into the same problem, so its still present or I miss something in the options.
Anyway my actual question that brought me here:
- Is there a way to specify multiple base points? - within the same plane configuration, same normal.

Of course one can scatter all the desired points into separate plane definitions, but it would be nice to create it within one entity - so it's easier to load it into paraview.


All times are GMT -4. The time now is 00:15.