September 16, 2022, 16:52
|
Post Processing Cutting Planes
|
#1
|
|
New Member
Join Date: Jul 2022
Posts: 14
Rep Power: 5
|
Hello, I am doing the postprocessing of my data and I want to get the velocity, pressure, and the water level in my cross, for this purpose I defined the attached code, however, after running the command "postProcess -func surfaces" or "interFoam -postProcess -func surfaces" no folders neither VKT file format are created. The code is running; however, I do not know where is saving the files. If someone could help, I would be grateful, maybe it is something wrong in the code, and I did not notice.
Thank you in advance
Code:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Version: v2012
\\ / A nd | Website: www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes out surface files with interpolated field data in VTK format, e.g.
cutting planes, iso-surfaces and patch boundary surfaces.
This file includes a selection of example surfaces, each of which the user
should configure and/or remove.
\*---------------------------------------------------------------------------*/
//#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg"
surfaces
{
type surfaces;
libs ("libsampling.so");
writeControl writeTime;
surfaceFormat vtk;
interpolationScheme cellPoint;
fields
(
p
U
alpha.water
);
x (1 0 0);
y (0 1 0);
z (0 0 1);
origin (0 0 0);
cuttingPlane
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (15.992500305175781 9.192850112915039 3.3970142900943756);//$origin;
normalVector $x;
}
interpolate true;
}
isosurface
{
type isoSurfaceCell;
interpolate true;
}
patchSurface
{
type patch;
interpolate true;
}
}
// ************************************************************************* //
|
|
|