|
[Sponsors] |
[General] Plot interface (alpha_water=0.5) vs time in ParaFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Rimsha
Join Date: Jan 2016
Posts: 25
Rep Power: 10 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
|
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
|
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 createGraph.sce is scilab script. You can make graph of waterHeight.csv with it. Just try it. Regards, kkk |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 ![]() |
Quote:
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! |
||
![]() |
![]() |
![]() |
Tags |
alpha1, capillaryrise, paraview 4.4.0, plot_over_time |
|
|
![]() |
||||
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 03:36 |
How to export time series of variables for one point? | mary mor | OpenFOAM Post-Processing | 8 | July 19, 2017 11:54 |
pressure in incompressible solvers e.g. simpleFoam | chrizzl | OpenFOAM Running, Solving & CFD | 13 | March 28, 2017 06:49 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 08:09 |
plot over time | fferroni | OpenFOAM Post-Processing | 7 | June 8, 2012 08:56 |