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

Post Processing Cutting Planes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2022, 15:52
Default Post Processing Cutting Planes
  #1
New Member
 
Join Date: Jul 2022
Posts: 14
Rep Power: 3
Pamela93 is on a distinguished road
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;
	}
}

// ************************************************************************* //
Pamela93 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
post processing for CEL expressions Niru CFX 0 May 10, 2013 13:13
Automated post processing using CFD Post shreyasr ANSYS 0 January 28, 2013 06:21
[OpenFOAM] is parallel processing available in parafoam for post processing? sachinlb ParaView 1 August 14, 2012 09:52
post processing in CFX11.0 u k jha CFX 1 September 17, 2010 05:53
post processing in CFD MANISH BHARGAVA Main CFD Forum 0 October 17, 1998 20:51


All times are GMT -4. The time now is 07:56.