CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Extract U data on plane

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2022, 20:59
Default Extract U data on plane
  #1
New Member
 
Mary
Join Date: Sep 2021
Posts: 16
Rep Power: 5
limpideyes is on a distinguished road
Hello,

I'm trying to extract U data (velocity) from a certain plane. After I ran the simulation, I've got a whole domain from OpenFOAM to ParaView:
Whole domain.jpg

However, I don't need U values for the whole domain. What I need is U value only on the circular plane in red colour as shown below:
plane.jpg

This plane was defined in the SnappyHexMesh:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      snappyHexMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#includeEtc "caseDicts/mesh/generation/snappyHexMeshDict.cfg"

castellatedMesh on;
snap            on;
addLayers       off;

geometry
{
    buildings
    {
        type triSurfaceMesh;
        file "buildings.stl";
    }

    refinementCylinder
    {
        type searchableCylinder;
	point1          (0 0 0);
	point2          (0 0 190);
	radius          350; 
    }
};
The plane is Z = 1.5m height from the refinementCylinder.

How can I export U value only on the circular plan to the ParaView?

Which code do I have to add in OpenFOAM? Since I am new for OpenFOAM, please help.

Thanks in advance!
limpideyes is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to get the XY plane view of any variable by importing data into Ansys Fluent Ashish_21_22 Main CFD Forum 0 October 1, 2018 02:49
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
How to extract data of specific variable from PHI and Q1 file? mukut Phoenics 3 October 17, 2011 07:13
extract point data susan Siemens 4 November 27, 2007 15:04
extract data into external file DW FLUENT 0 June 3, 2005 13:36


All times are GMT -4. The time now is 03:22.