CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   question on sampleDict (https://www.cfd-online.com/Forums/openfoam/82268-question-sampledict.html)

gorgon November 22, 2010 06:45

question on sampleDict
 
Hello there,
I'm trying to use sampleDict to postprox data on a plane
It is working, yet it interpolates only velocity (mean and instantaneous) fields
Can anybody explain if there a way to get also k, omega and all the other scalars?

Thanks in advance,
Giovanni Delibra

here follows the content of sampleDict
setFormat raw;

surfaceFormat vtk;

interpolationScheme cellPoint;

fields
(
kMean
omegaMean
pMean
U
UMean
);


sets
(

);


surfaces
(
constantPlane
{
type plane; // always triangulated
basePoint (3.84326 1.72726 0.785149);
normalVector (.607379 .794399 -0.0000028);
interpolate true;
triangulate true;
}

);

stevenvanharen November 22, 2010 09:22

Just add any field you want to the 'fields' list.

Off course, these fields should be available in your time-directory.

musahossein December 8, 2011 19:07

Quote:

Originally Posted by stevenvanharen (Post 284342)
Just add any field you want to the 'fields' list.

Off course, these fields should be available in your time-directory.

I have the same problem with sampleDict. If you list a number of variables, it will read one and not the other. This may be a bug and I have submitted to the bug forum.


All times are GMT -4. The time now is 13:36.