CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

interpolation with a cuttingPlane for sample utility

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   February 16, 2010, 13:46
Default interpolation with a cuttingPlane for sample utility
New Member
Luc Bordier
Join Date: Feb 2010
Posts: 11
Rep Power: 12
lbordier is on a distinguished road

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;



type cuttingPlane;
planeType pointAndNormal;
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.
Attached Images
File Type: png interp.png (71.2 KB, 108 views)
lbordier is offline   Reply With Quote

Old   February 14, 2012, 14:53
Tibor Nyers
Join Date: Jul 2010
Location: Hungary
Posts: 91
Rep Power: 13
Toorop is on a distinguished road

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.
Toorop is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Single v.s. double precision Confused CFX 15 November 10, 2016 05:42
problem with sampling Utility in openFOAM 1.6 carmir OpenFOAM Post-Processing 10 February 26, 2014 03:00
momentum interpolation for collocated grid Hadian Main CFD Forum 4 December 25, 2009 08:25
Interpolation CuttingPlane to Patch matthias OpenFOAM 0 December 21, 2009 14:11
sample interpolation error in inflation layer eelcovv OpenFOAM Bugs 2 July 28, 2009 18:20

All times are GMT -4. The time now is 18:02.