|November 25, 2015, 12:53||
extracting phi along a line
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 42Rep Power: 4
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!
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 11:41.
|phi, sampledict, surfacescalarfield|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12||keepfit||OpenFOAM Paraview & paraFoam||60||September 18, 2013 03:23|
|non-orthogonal faces and incorrect orientation?||nennbs||OpenFOAM Native Meshers: blockMesh||7||April 17, 2013 05:42|
|OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3||flakid||OpenFOAM Installation||16||December 28, 2010 09:48|
|boundaries with gmshToFoam||ouafa||Open Source Meshers: Gmsh, Netgen, CGNS, ...||7||May 21, 2010 12:43|
|Problems of Duns Codes!||Martin J||Main CFD Forum||8||August 14, 2003 23:19|