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

how to plot a variable chaning over the geometry for a specific time value

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nimasam

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2018, 12:03
Default how to plot a variable chaning over the geometry for a specific time value
  #1
New Member
 
Nigel Bruce Khan
Join Date: Jul 2017
Location: Ankara, Turkey
Posts: 7
Rep Power: 9
Nigel Bruce Khan is on a distinguished road
Could someone please guide me how to re-create the attached graph?
In the attached photo, a variable called alpha is changing across the rectangular geometry that forms the boundary of the figure in the photograph. The changing phase front of alpha has been plotted for specific time values. Here are the problems i'm facing:
1) I think it was made using ParaView but i don't know how to make it using ParaView.
2) I do not know how to make this graph using another software, like Matlab, because I do not understand how the data in the time directory files is structured.

Any help would be greatly appreciated. Thank You.
Attached Images
File Type: png Screenshot from 2018-01-23 18-33-59.png (45.9 KB, 11 views)
Nigel Bruce Khan is offline   Reply With Quote

Old   January 27, 2018, 11:47
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
if you are using interFoam as solver then:
1- use contour filter and create iso-contour alpha=0.5 to grab the interface
2- save data in csv format
3-create the plot of front in different time with gnuplot or matlab
Nigel Bruce Khan likes this.
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Reply

Tags
graphing, post-processing


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
[General] Extracting data by plot selection over time for a specific region in the geometry sinhavivekananda318 ParaView 0 June 21, 2017 06:27
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 15:13.