extracting phi along a line
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? |
All times are GMT -4. The time now is 07:33. |