|
[Sponsors] |
June 7, 2011, 01:30 |
Free surface - interFoam
|
#1 |
New Member
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
Hello,
I am trying to follow the free surface tutorial by Hassan Hemida which can be found at http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007/HassanHemida/Hassan_Hemida_VOF.pdf I am not able to get the right outputs which should be like the attachment that I have uploaded. I have tried creating contours for the same but I do not get similar outputs as shown in the tutorial. In the tutorial it is mentioned that these outputs are taken at a particular time step. How can this be done using paraFoam? Please advise. Thank you. Regards, Pallav Last edited by Pallav; June 7, 2011 at 04:20. |
|
June 10, 2011, 02:35 |
|
#2 |
Senior Member
Join Date: Apr 2010
Posts: 151
Rep Power: 16 |
All tutorials on multiphase can be found in OpenFOAM/OpenFOAM-1.7.x/tutorials/multiphase.
|
|
June 10, 2011, 10:02 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Pallav,
The pic you uploaded is taken at 0.4 s, at least that is what the tutorial says. The field you see is gamma, the phase fraction field. In the latest version of OpenFOAM this field is called alpha. In paraFoam, select field "alpha1" and go to timestep 0.4 s with the forward button. No, not this one.
__________________
Regards, Gijs |
|
June 12, 2011, 03:19 |
|
#4 |
New Member
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
Thanks Gijsbert and Joris for your replies.
I am running OF-1.7-x and made modifications to the dambreak tutorial as per the instructions mentioned in the pdf. I did not get any output for gamma as shown in the pdf. When I choose 'Set color by' to gamma, I get output as the attachment, 'choose gamma in display tab'. This looks as it should. However, when I hit the play button I get the output as the second attachment, 'hit play button', for all time steps. So, I tried to download and run the actual case file posted at http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2008/ However, I ran into a lot of errors (eg: could not find cAlpha in PISO) Joris, I still refer to pdf files as tutorials. Sorry, my bad. I wanted to know if there are some more pdf files with instructions which will help me learn how to set up cases for studying phase fractions using VOF. |
|
June 12, 2011, 04:43 |
|
#5 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Pallav,
Have you looked in system/fvSolution, line 59 (if the file is still original)? If you're looking for something and really cannot find it, it may be handy to use e.g.: Code:
[gijsbert@orava fillingBottle]$ grep -irn calpha . ./system/fvSolution:59: cAlpha 1; When following the tutorial "1.7.x style", I do get output, although slightly different. But I must say that I did not go through every detailed setting. Just running the case with laminar interFoam I get the pic attached. Let me know if you need the case file.
__________________
Regards, Gijs |
|
June 13, 2011, 03:13 |
|
#6 |
New Member
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
Thank you Gijs.
I managed to run the case and obtain similar outputs. I had to make some more changes to the damBreak tutorial which were not mentioned in the pdf. However, I would like to compare your case file with mine for better understanding. So, please send it to me. Regards, Pallav |
|
June 14, 2011, 16:17 |
|
#8 |
New Member
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 15 |
Thanks a lot, Gijs.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Thermocapillary free surface flow | zakifoam | OpenFOAM Running, Solving & CFD | 10 | December 12, 2016 12:44 |
Submarine Free Surface | samwh | CFX | 7 | August 30, 2009 08:14 |
Multiphase flow. Dispersed and free surface model | Luis | CFX | 8 | May 29, 2007 19:13 |
Equilibrium of a free surface under surface tensio | Ryan | Main CFD Forum | 1 | August 7, 2001 17:14 |
Modeling Free Surface Flows | Elliot Schwartz | Main CFD Forum | 5 | August 25, 1998 22:03 |