CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Extract a vertical profile in volScalarField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2009, 11:35
Default Extract a vertical profile in volScalarField
  #1
New Member
 
Patrick Begou
Join Date: Mar 2009
Location: Grenoble, France
Posts: 17
Rep Power: 17
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.

Thanks

Patrick
begou is offline   Reply With Quote

Old   June 3, 2009, 13:31
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
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:

~/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/sampling/sample

Reading the above should be quite self-explanatory.

Best regards,

Niels
ngj is offline   Reply With Quote

Reply


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
Unsteady Boundary Profile with data file Arianna FLUENT 34 July 29, 2019 16:35
3D UDF Paraboilc Velocity Profile (Can't Maintain) Sing FLUENT 12 August 7, 2017 06:25
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 03:35.