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/)
-   -   Thresholding in sample utility? (https://www.cfd-online.com/Forums/openfoam-post-processing/127465-thresholding-sample-utility.html)

Nucleophobe December 12, 2013 00:52

Thresholding in sample utility?
 
Hi all,

I would like to use the sample utility to export some surfaces from a case to VTK format. However, if I need to threshold the surface (say, by pressure) before exporting.

I see that there is a sampledThresholdCellFaces.C file in the source code, and that it appears to read the variables "fields", "lower limit", and "upperlimit" from a dictionary file. I cannot find further documentation on how this works.
http://foam.sourceforge.net/docs/cpp/a08424_source.html

Does anyone know how I can use sampledThresholdCellFaces?

Thanks!
-Nuc


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