|
[Sponsors] |
November 25, 2015, 12:53 |
extracting phi along a line
|
#1 |
Member
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13 |
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 11:41. |
|
Tags |
phi, sampledict, surfacescalarfield |
|
|
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 04:23 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
[Gmsh] boundaries with gmshToFoam | ouafa | OpenFOAM Meshing & Mesh Conversion | 7 | May 21, 2010 13:43 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |