CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   surface sampling all zero values (https://www.cfd-online.com/Forums/openfoam-post-processing/213795-surface-sampling-all-zero-values.html)

yewi January 9, 2019 01:44

surface sampling all zero values
 
2 Attachment(s)
Hi, i am wondering if anyone can help me with the sampling of fields U on triangulated surface.

I keep getting zero values, while the global slice at that location gives me some values. I need this function to sample all iterations as proof of convergence.

relevant images are attached

sampleDict file:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

interpolationScheme cellPoint;

surfaceFormat vtk;

surfaces
(
triSurfaceSampling
{
// Sampling on triSurface
type sampledTriSurfaceMesh;
surface T301.stl;
source boundaryFaces;
interpolate true;
}

);

fields (U);


All times are GMT -4. The time now is 23:31.