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

[General] Plot interface (alpha_water=0.5) vs time in ParaFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kkk

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2016, 19:25
Exclamation Plot interface (alpha_water=0.5) vs time in ParaFoam
  #1
New Member
 
Rimsha
Join Date: Jan 2016
Posts: 25
Rep Power: 10
block is on a distinguished road
Hi Foamers,

I would be grateful if someone can help me with plotting alpha.water value 0.5 over time, so far I only know how to view this for one time step through using the following steps on paraview:

1) make counter at alpha.water=0.5
2) then use filter pointdatatocelldata
3) then plot over line

and this shows the alpha vs height however i would like to see height for 0.5 alpha for all time steps in one graph.

The help will be extremely appreciated, i have attached a photo to help visualize the issue


Kind Regards

Rimsha

bubble.jpg.
block is offline   Reply With Quote

Old   March 22, 2016, 06:52
Default
  #2
kkk
New Member
 
kenyoh
Join Date: Apr 2012
Location: Tokyo Japan
Posts: 21
Blog Entries: 1
Rep Power: 14
kkk is on a distinguished road
Hi

I don't know if the graph including 3 axis, coordX, height and time, can be described in paraview.
But it must be possible to output csv files including coordX and height at each time.
I think you can draw the 3d graph by matlab or matlab clones, octave or scilab.
Csv files can be easily imported by matlab clones.

Regards,
kkk
kkk is offline   Reply With Quote

Old   March 23, 2016, 05:08
Default
  #3
kkk
New Member
 
kenyoh
Join Date: Apr 2012
Location: Tokyo Japan
Posts: 21
Blog Entries: 1
Rep Power: 14
kkk is on a distinguished road
Hi

I created a python script that output water height as csv file.
I attached test case too.
Please execute following after ./Allrun
Code:
pvpython waterHeight.py
It will out put waterHeight.csv with some png files.
createGraph.sce is scilab script. You can make graph of waterHeight.csv with it.
Just try it.

Regards,
kkk
Attached Images
File Type: gif waterHeight.gif (158.5 KB, 134 views)
File Type: png waterHeightGraph.png (9.1 KB, 157 views)
Attached Files
File Type: zip Test.zip (9.3 KB, 131 views)
prakashPra likes this.
kkk is offline   Reply With Quote

Old   November 6, 2020, 17:03
Default interface height along a slant wall
  #4
New Member
 
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6
prakashPra is on a distinguished road
Quote:
Originally Posted by kkk View Post
Hi

I created a python script that output water height as csv file.
I attached test case too.
Please execute following after ./Allrun
Code:
pvpython waterHeight.py
It will out put waterHeight.csv with some png files.
createGraph.sce is scilab script. You can make graph of waterHeight.csv with it.
Just try it.

Regards,
kkk
Hello Kenyoh,
Thanks for sharing your test file.
I am doing capillary dominated flow in a V-shaped container where I need to obtain the contact line motion.
I was curious if if it is possible to obtain interface height along the slant wall using your files.
Thank you!
prakashPra is offline   Reply With Quote

Reply

Tags
alpha1, capillaryrise, paraview 4.4.0, plot_over_time


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 02:36
How to export time series of variables for one point? mary mor OpenFOAM Post-Processing 8 July 19, 2017 10:54
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 05:49
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
plot over time fferroni OpenFOAM Post-Processing 7 June 8, 2012 07:56


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