|
[Sponsors] |
[OpenFOAM] How to plot alpha vs time graph in multiphase solver of openFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 1, 2015, 09:58 |
How to plot alpha vs time graph in multiphase solver of openFOAM
|
#1 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi to everyone,
I am using interPhaseChangeFoam to simulate the phase cavitation inside the nozzle in OpenFOAM. I found out that To plot alpha vs time graph using foamCalcEx with volIntegrate is one way and i did it. But i would like to ask that does anyone know how to plot this graph directly inside paraview when i view the case? Thanks in advance. |
|
March 3, 2015, 01:38 |
|
#2 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Ok it is found...
If someone also wants learn the way how to plot please leave message here... Thank you |
|
April 15, 2015, 06:11 |
|
#3 |
New Member
Duong Tung
Join Date: Nov 2014
Location: Ho Chi Minh city, Viet Nam
Posts: 28
Rep Power: 12 |
||
April 22, 2015, 13:31 |
|
#4 |
New Member
Noraa
Join Date: Aug 2014
Posts: 4
Rep Power: 12 |
Hello Duong ,
I had the same problem just follow this link it will work: http://www.cfd-online.com/Forums/ope...-paraview.html good luck, |
|
April 24, 2015, 02:27 |
|
#5 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi Duong,
Sorry again to late answer. As i said i am great busy with PhD thesis stuffs. As Noraa said that it is one way to get alhpa vs time. Another and simple way is to use foamCalcEx volIntegrate. How to use this is explained here: https://openfoamwiki.net/index.php/Contrib_foamCalcEx Hope this helps. BR Baris |
|
June 10, 2015, 12:57 |
|
#6 |
New Member
Konstantin
Join Date: Jun 2015
Posts: 8
Rep Power: 11 |
Hi to everyone,
I have some problem with ploting over time. I'm using OpFm and Paraview over 3 months, but can't understand how using "plot variables over time" or "plot selection over time". I'm solving "damBreak" problem by InterFoam solver, so i need to plot changing of "alpha1" over time in certain plane. For now i trying to use "sampleDict", but it write only the data in separate files, so this is not very convenient. I can't using foamCalcEx, because my version of OpenFoam (OF-Ex 3.1) is not supported. And I read this topic http://www.cfd-online.com/Forums/ope...-paraview.html, but I see that my version of Paraview is 4.3.1... Can someone explain to me in details how to use Paraview for solving my "stupid" problem? P.S.: sorry for my english. Thanks for all, DzhoniD |
|
August 6, 2018, 00:22 |
|
#7 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
Hi, I have used foamCalc with different options. One of them is Code:
foamCalcEx volIntegrate alpha.water -latestTime Code:
Create time Create mesh for time = 0 Time = 0 Reading alpha.water Calculating volIntegrate(alpha.water): domainIntegrate(alpha.water) [0 3 0 0 0 0 0] 3.34545e-09 End Cheers, Elham |
||
|
|
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 03:36 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
OpenCL linear solver for OpenFoam 1.7 (alpha) will come out very soon | qinmaple | OpenFOAM Announcements from Other Sources | 4 | August 10, 2012 12:00 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |