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

extracting phi along a line

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2015, 11:53
Question extracting phi along a line
  #1
Zen
Member
 
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 12
Zen is on a distinguished road
Hello,

I have a straight pipe simulation and I'd like to extract the values of phi along a line that starts at (x1,y1,z1) and ends at (x2,y2,z2).
This is possible for a volScalarField (e.g. epsilon, p, omega, k) and for a volVectorField (U) (but not for a surfaceScalarField as phi) by using sampleDict.

I guess this is because phi is defined at the face centres wheres the other quantities are defined at the cell centres.

Is there a way to overcome this problem?

Thanks for your attention!

Z

Edit: Maybe it can be done with 'probes' as a function in controlDict. A result is output but I'm wondering how this is computed. Why does 'probes' output a result for a surfaceScalarField whereas it is not possible to get it with sampleDict? Is there a way to specify the probeLocations as a file and not as a list of points?

Last edited by Zen; November 26, 2015 at 10:41.
Zen is offline   Reply With Quote

Reply

Tags
phi, sampledict, surfacescalarfield


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
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 03:23
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 flakid OpenFOAM Installation 16 December 28, 2010 08:48
[Gmsh] boundaries with gmshToFoam‏ ouafa OpenFOAM Meshing & Mesh Conversion 7 May 21, 2010 12:43
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


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