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

Extract Data from Computational Domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2019, 08:38
Smile Extract Data from Computational Domain
  #1
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


where,

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, 19 views)
DebNS is offline   Reply With Quote

Old   March 29, 2020, 20:21
Default
  #2
Senior Member
 
Join Date: Jul 2019
Posts: 148
Rep Power: 7
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

Reply

Tags
data extraction


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 02:15
Floating point exception: Zero divide liladhar CFX 11 December 16, 2013 05:07
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 15:06
[General] Extract Paraview data (vtkUnstructured Grid) using pvpython lu_siyah ParaView 1 November 3, 2013 07:10
studying a valve case mina.basta OpenFOAM 33 August 30, 2013 05:46


All times are GMT -4. The time now is 19:50.