CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

Extract a vertical profile in volScalarField

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

LinkBack Thread Tools Display Modes
Old   June 3, 2009, 11:35
Default Extract a vertical profile in volScalarField
New Member
Patrick Begou
Join Date: Mar 2009
Location: Grenoble, France
Posts: 17
Rep Power: 8
begou is on a distinguished road
I'm quite new with OpenFOAM and I have to help a student who want to extract vertical profiles in his calculation domain.
I've find all that I need in volScalarField class (mesh and scalar values): I can print the cell center position and scalar value for each cell.
But I do not understand how to find (select) the cells along a vertical axis located at the (X,Y) position where I wont to extract the vertical profile.

I think this is a common thing when working with openFoam. Any help or starting point to read is welcome.


begou is offline   Reply With Quote

Old   June 3, 2009, 13:31
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,629
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Patrick

Look into the "sample" utility. You will be able to find the required sampleDict in:


Reading the above should be quite self-explanatory.

Best regards,

ngj is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsteady Boundary Profile with data file Arianna FLUENT 27 August 9, 2015 14:56
3D UDF Paraboilc Velocity Profile (Can't Maintain) Sing FLUENT 9 November 26, 2014 08:58
Extract pressure from NACA0012 profile luigi_sala OpenFOAM Post-Processing 1 September 18, 2008 02:57
problem with importing and exporting profile BC Gui CFX 2 July 26, 2007 08:50
Wind profile tom Phoenics 2 September 28, 2005 10:51

All times are GMT -4. The time now is 11:19.