# Solving for two phase, incompressible, inviscid flow (OpenFOAM)

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

 June 14, 2012, 22:27 Solving for two phase, incompressible, inviscid flow (OpenFOAM) #1 New Member   Betsy Seiffert Join Date: Feb 2011 Location: Honolulu, HI Posts: 11 Rep Power: 6 Hello - I would like to solve for incompressible, inviscid flow (Euler Equations) for two phases (waves, NOT bubbles) in OpenFOAM. I am considering 3 options and I could use some advice on which may produce the best results or what problems I may run into: 1) Simply use interFoam and set viscosity to approximately zero (i.e. 1E-10 or something like this) 2) Write a new solver based on interFoam removing the viscous term in the Navier-Stokes equation 3) Use twoPhaseEulerFoam - although I am reluctant to use this solver since it is more difficult for me to see exactly how the solver is working and it seems to be geared more towards bubbles. Any advice is appreciated. Sincerely, Betsy

 June 15, 2012, 18:32 #2 New Member   Betsy Seiffert Join Date: Feb 2011 Location: Honolulu, HI Posts: 11 Rep Power: 6 As a follow up - does OpenFOAM use Reynolds number to non-dimensionalize the equation? If so, then this would cause problems with setting viscosity to approx. zero.

 June 16, 2012, 06:58 #3 Senior Member     Anton Kidess Join Date: May 2009 Location: Delft, Netherlands Posts: 919 Rep Power: 17 No, OpenFOAM works with the dimensional equation. Keep in mind that setting the viscosity to zero or something very small will make the problem "stiff", i.e. make it tougher to obtain a stable numerical solution. __________________ *On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. *Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology

 June 18, 2012, 17:06 #4 Member   Rob Join Date: Sep 2011 Posts: 55 Rep Power: 5 I would use interFoam. I have already seen some bachelor/master thesis that successfully simulated waves (i.e. at/around ships). However writing your own solver might not be such a problem as well, the wiki gives some good hints on how to modify and expand solvers...

 June 27, 2012, 16:08 #5 Senior Member   Ralph Moolenaar Join Date: Aug 2010 Location: 's-Hertogenbosch, the Netherlands Posts: 120 Rep Power: 6 Depending on which kind of waves you want to simulate I'd suggest you to have a look into the LTSInterFoam solver which would be of use for semi-static problems. __________________ CFD for marine applications? Go to http://www.marinecfd.com/ and join the OF Ship Hydromechanics Group: http://www.cfd-online.com/Forums/gro...mechanics.html

 July 15, 2012, 01:52 #6 Member   ehsan Join Date: Mar 2009 Posts: 98 Rep Power: 8 Dear All, Please see Eq. 4 in the paper below: http://www.marinepropulsors.com/proc...0Propulsor.pdf May I ask you whether in OpenFOAM the same equation including turbulence effects are used for viscosity of two phase flow or only simple averaging from laminar values are employed? Thanks

 July 16, 2012, 05:58 #7 Senior Member   Pablo Join Date: Mar 2009 Posts: 102 Rep Power: 8 Hi Betsy, Just remove the viscous terms from interFoam, and it is going to work pretty well.

 Tags euler equations, incompressible flows, inviscid flow, two phase

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post richard OpenFOAM Running, Solving & CFD 166 September 17, 2011 03:24 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03 cyberbrain OpenFOAM 4 March 16, 2011 10:20 ronaldo OpenFOAM 4 September 14, 2009 07:11 carsten OpenFOAM Bugs 11 September 12, 2008 11:16

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