CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

Free surface - interFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2011, 00:30
Default Free surface - interFoam
  #1
New Member
 
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 6
Pallav is on a distinguished road
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
Attached Images
File Type: jpeg interFoam - free surface.jpeg (14.2 KB, 40 views)

Last edited by Pallav; June 7, 2011 at 03:20.
Pallav is offline   Reply With Quote

Old   June 10, 2011, 01:35
Default
  #2
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
All tutorials on multiphase can be found in OpenFOAM/OpenFOAM-1.7.x/tutorials/multiphase.
flowris is offline   Reply With Quote

Old   June 10, 2011, 09:02
Default
  #3
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
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.


Quote:
Originally Posted by flowris View Post
All tutorials on multiphase can be found in OpenFOAM/OpenFOAM-1.7.x/tutorials/multiphase.
No, not this one.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   June 12, 2011, 02:19
Default
  #4
New Member
 
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 6
Pallav is on a distinguished road
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.
Attached Images
File Type: jpg choose gamma in display tab.jpg (45.3 KB, 18 views)
File Type: jpg Hit Play button.jpg (45.5 KB, 15 views)
Pallav is offline   Reply With Quote

Old   June 12, 2011, 03:43
Default
  #5
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Pallav,

Quote:
Originally Posted by Pallav View Post
could not find cAlpha in PISO
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;
where option "i" means ignore case, "r" means recursive, and "n" means display line number.

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.
Attached Images
File Type: jpg fillingBottle_0-5_s.jpg (14.8 KB, 14 views)
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   June 13, 2011, 02:13
Default
  #6
New Member
 
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 6
Pallav is on a distinguished road
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
Pallav is offline   Reply With Quote

Old   June 14, 2011, 00:15
Default
  #7
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Pallav,

No problem, here is the case I used.
__________________
Regards, Gijs
gwierink is offline   Reply With Quote

Old   June 14, 2011, 15:17
Default
  #8
New Member
 
Pallav Jha
Join Date: Apr 2011
Posts: 17
Rep Power: 6
Pallav is on a distinguished road
Thanks a lot, Gijs.
Pallav is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thermocapillary free surface flow zakifoam OpenFOAM Running, Solving & CFD 6 August 24, 2014 03:24
Submarine Free Surface samwh CFX 7 August 30, 2009 07:14
Multiphase flow. Dispersed and free surface model Luis CFX 8 May 29, 2007 18:13
Equilibrium of a free surface under surface tensio Ryan Main CFD Forum 1 August 7, 2001 16:14
Modeling Free Surface Flows Elliot Schwartz Main CFD Forum 5 August 25, 1998 21:03


All times are GMT -4. The time now is 07:55.