CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] velocity vs time plot in paraFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes
  • 10 Post By raagh77

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2009, 08:37
Default velocity vs time plot in paraFoam
  #1
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hello all,

I have a very basic question in using paraFoam ..

Anyone please tell me know how do I plot velocity as a function of time..

My simulation domain is 2D rectangular region (xmax = 0.2 and ymax = 0.6). I have velocities for every time T upto 500 seconds. I have to plot velocity vs time plot at a particular value of x and y (x = 0.05 and y = 0.25).

I was able to plot velocity vs x - coordinate (or y - coordinate ) for each time T (i.e. for constant T and varying X or Y coordinates) but I was not successful plotting velocity vs time T for constant X and Y coordinates (i.e. at fixed position but varying time T).

Awaiting for replies

Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   March 23, 2009, 09:14
Default plot selection over time
  #2
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
I used plot selection over time in th filter menu ..but when I click apply nothing is displayed..

I think I have some problem in giving time data range

Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   March 29, 2009, 15:08
Default credits goes to Alberto..
  #3
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
  • The first step is selecting the point in paraFoam, so after loading your case, do the following:
    • Show your case as usual, by clicking on "Apply" in the "Properties" tab.
    • Select the field you want to plot, for example the pressure "p", in the "Display" tab.
    • Now, go to the "View" menu, and choose "Selection inspector".
    • Click on "Create Selection".
    • In "Selection type", choose "Locations".
    • In "Field type", choose "POINT".
    • In the "Locations" table that appears, insert the coordinates of the point where you want to measure your data.
    • Now the selection is created.
  • The next step is to plotting the selection:
    • Go to the "Filters -> Data Analysis -> Plot selection over time" menu.
    • On the left on the screen, you will see a button "Copy Active Selection", push it.
    • Click on "Apply" above that button.
    • You should now see your data plotted against time.
sharonyue, Mehrez, jimbean and 7 others like this.
raagh77 is offline   Reply With Quote

Old   February 7, 2011, 14:23
Default
  #4
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18
nandiganavishal is on a distinguished road
Dear Ragg,

I followed your procedure, and it was displaying the time plot, but along with the variable that I wanted it is also plotting the probe location and when I deselct the probe location using the display tab, I get the following error


ASSERT failure in QList<T>:perator[]: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 399
Aborted


Further, I wanted to plot valocity so when I change from U_mag to U_x component I get the same error and paraview exits on its own..

Kindly let me know what could be the issue.

Thanks
nandiganavishal is offline   Reply With Quote

Old   February 8, 2011, 02:52
Default
  #5
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 95
Rep Power: 17
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hi Vishal,

Initially even I struggled to plot flow variables vs Time..
Later with the perlscripts I was able to extract data and plot variables vs Time (Thanks to my supervisor who helped me in this)

Regards
Raghu
raagh77 is offline   Reply With Quote

Old   February 8, 2011, 11:18
Default
  #6
Senior Member
 
Vishal Nandigana
Join Date: Mar 2009
Location: Champaign, Illinois, U.S.A
Posts: 208
Rep Power: 18
nandiganavishal is on a distinguished road
Dear Raghu,

Thanks for the reply. could you elaborate on the pearl scripts which you had mentioned.. Did you use paraview to view the time plots ??
nandiganavishal is offline   Reply With Quote

Old   January 29, 2017, 03:09
Default
  #7
Senior Member
 
A. Min
Join Date: Mar 2015
Posts: 308
Rep Power: 12
alimea is on a distinguished road
Quote:
Originally Posted by raagh77 View Post
  • The first step is selecting the point in paraFoam, so after loading your case, do the following:
    • Show your case as usual, by clicking on "Apply" in the "Properties" tab.
    • Select the field you want to plot, for example the pressure "p", in the "Display" tab.
    • Now, go to the "View" menu, and choose "Selection inspector".
    • Click on "Create Selection".
    • In "Selection type", choose "Locations".
    • In "Field type", choose "POINT".
    • In the "Locations" table that appears, insert the coordinates of the point where you want to measure your data.
    • Now the selection is created.
  • The next step is to plotting the selection:
    • Go to the "Filters -> Data Analysis -> Plot selection over time" menu.
    • On the left on the screen, you will see a button "Copy Active Selection", push it.
    • Click on "Apply" above that button.
    • You should now see your data plotted against time.

Dear Raghavendra
Thanks for the procedure. I want to select a point by giving it's coordinates, not manual selecting on domain. How can I do that?
Regards
alimea 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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


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