CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Extract Data from Computational Domain

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2019, 07:38
Smile Extract Data from Computational Domain
New Member
D. N. Sarkar
Join Date: Sep 2019
Posts: 1
Rep Power: 0
DebNS is on a distinguished road
Dear All,

I am new to this forum and a new user of OpenFOAM. I have carried out a transient two-dimensional OpenFOAM simulation. I have the results for different time instants in different folders.

Now, I would like to extract data (velocity components and pressure) from a small specified portion of the computational domain for each time instant. Preferably, I would like to have the data in a file in the following format (for each time step):
x y u v p


1st column: x-coordinate of the domain
2nd column: y-coordinate of the domain
3rd column: x-component of velocity at the location (x,y)

4th column: y-component of velocity at the location (x,y)
5th column: pressure at the location (x,y)

By portion, I do not mean a line or a point. By portion, I mean a small specified 2D domain of the full computational domain. Please see the attached image.

I would be grateful if you let me know how to extract the data of the specified 2D domain.

Thank you for your time.
Attached Images
File Type: jpeg Image.jpeg (89.7 KB, 13 views)
DebNS is offline   Reply With Quote

Old   March 29, 2020, 19:21
Join Date: Jul 2019
Posts: 77
Rep Power: 3
Bodo1993 is on a distinguished road
Hi, I am wondering if you managed to do that.
Looking forward to hearing from you.
Best Regards
Bodo1993 is offline   Reply With Quote


data extraction

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
[GAMBIT] decreasing computational domain aja1345 ANSYS Meshing & Geometry 2 April 20, 2015 01:15
Floating point exception: Zero divide liladhar CFX 11 December 16, 2013 04:07
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
[General] Extract Paraview data (vtkUnstructured Grid) using pvpython lu_siyah ParaView 1 November 3, 2013 06:10
studying a valve case mina.basta OpenFOAM 33 August 30, 2013 04:46

All times are GMT -4. The time now is 11:14.