CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] how to load surface data with paraview? (https://www.cfd-online.com/Forums/paraview/227399-how-load-surface-data-paraview.html)

gns4566 May 27, 2020 14:48

how to load surface data with paraview?
 
Hello

I would like to save surface data during runtime.

My controlDict file is like this

functions
{
cuttingPlane
{
type surfaces;
functionObjectLibs ("libsampling.so");
outputControl outputTime;

surfaceFormat foamfile;
fields ( p U );

interpolationScheme cellPoint;

surfaces
(
yNormal
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0 0 0);
normalVector (0 0 1);
}
interpolate true;
}
);
}

if i use surfaceFormat foamfile, there are no post processing file in it.

or if i use surfaceForamt VTK, I don't know what is this result..

Could anyone help? I want to know I write down controdict file correctly..

jnanabrao December 30, 2020 08:40

Facing same issue. Any updates?

olesen January 29, 2021 14:53

Quote:

Originally Posted by jnanabrao (Post 791955)
Facing same issue. Any updates?

Use "surfaceFormat vtk;" and it will load properly.
Can use a dictionary of formatOptions { vtk { format ascii;} } to adjust things. Note the "vtk" will produce a vtp output surface.


All times are GMT -4. The time now is 15:38.