CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

cutPlaneSurface - vtk files are not created

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2022, 15:36
Default cutPlaneSurface - vtk files are not created
  #1
New Member
 
Mary
Join Date: Sep 2021
Posts: 16
Rep Power: 4
limpideyes is on a distinguished road
Hello,

I've tried "cutPlaneSurface" with a tutorial "windAroundBuildings" in OpenFOAM v 9.

In order to get a cutPlaneSurface file under a system folder,
Code:
foamGet cutPlaneSurface
And the cutPlaneSurface file was modified as followed:

Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes out cut-plane surface files with interpolated field data in VTK
    format.

\*---------------------------------------------------------------------------*/

point       (0 0 0);
normal      (0 0 1);

fields      (U p);

interpolate true; // If false, write cell data to the surface triangles.
                  // If true, write interpolated data at the surface points.

#includeEtc "caseDicts/postProcessing/surface/cutPlaneSurface.cfg"

// ************************************************************************* //
And inserted
Code:
#includeFunc cutPlaneSurface
under the system/controlDict/(sub-directory) functions.

After implementing as follows:
Code:
surfaceFeatures
blockMesh
snappyHexMesh -overwrite
simpleFoam
When I checked my case directory, the postProcessing folder and cutPlaneSurface folder were created. However, under the folders, "vtk files" were not created. Each time folder under the cutPlaneSurface folder was empty.

So, I inserted,
Code:
libs	    ("libsampling.so");
in the cutPlaneSurface code. But vtk files were not created either.




So, I tried a tutorial "pitzDaily",

Code:
foamGet cutPlaneSurface
And
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
-------------------------------------------------------------------------------
Description
    Writes out cut-plane surface files with interpolated field data in VTK
    format.

\*---------------------------------------------------------------------------*/

point       (0 0 0);
normal      (0 0 1);

fields      (p U);

interpolate true; // If false, write cell data to the surface triangles.
                  // If true, write interpolated data at the surface points.

#includeEtc "caseDicts/postProcessing/surface/cutPlaneSurface.cfg"

// ************************************************************************* //
And inserted
Code:
#includeFunc cutPlaneSurface
under the system/controlDict/(sub-directory) functions.

Then,
blockmesh
simpleFoam

After that, it worked well. Under each time folder of the postProcessing folder and cutPlaneSurface folder, vtk files were well created.

I do not know why 'cutPlaneSurface' worked for the tutorial 'pitzDaily' but does not work for the tutorial 'windAroundBuilding'. I have compared them but I could not figure out what the reasons were.

Can anyone help?

Thanks in advance!
limpideyes is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting vtk files in a single binary file raviramesh10 SU2 0 May 18, 2021 04:50
Error code 2 memory exceed no *. res files created Alejandro Garcia CFX 2 February 3, 2016 02:11
[General] Creating VTK image compatible to Paraview Visualizer het ParaView 0 January 7, 2016 08:20
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 12:47.