CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2012, 23:27
Default Solving for two phase, incompressible, inviscid flow (OpenFOAM)
  #1
New Member
 
Betsy Seiffert
Join Date: Feb 2011
Location: Honolulu, HI
Posts: 11
Rep Power: 15
Betsy is on a distinguished road
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
Betsy is offline   Reply With Quote

Old   June 15, 2012, 19:32
Default
  #2
New Member
 
Betsy Seiffert
Join Date: Feb 2011
Location: Honolulu, HI
Posts: 11
Rep Power: 15
Betsy is on a distinguished road
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.
Betsy is offline   Reply With Quote

Old   June 16, 2012, 07:58
Default
  #3
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
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.
akidess is offline   Reply With Quote

Old   June 18, 2012, 18:06
Default
  #4
Member
 
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 15
robbirobocop is on a distinguished road
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...
robbirobocop is offline   Reply With Quote

Old   June 27, 2012, 17:08
Default
  #5
Senior Member
 
Ralph Moolenaar
Join Date: Aug 2010
Location: 's-Hertogenbosch, the Netherlands
Posts: 120
Rep Power: 16
Ralph M is on a distinguished road
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
Ralph M is offline   Reply With Quote

Old   July 15, 2012, 02:52
Default
  #6
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
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
ehsan is offline   Reply With Quote

Old   July 16, 2012, 06:58
Default
  #7
Senior Member
 
Pablo
Join Date: Mar 2009
Posts: 102
Rep Power: 17
pablodecastillo is on a distinguished road
Hi Betsy,

Just remove the viscous terms from interFoam, and it is going to work pretty well.
pablodecastillo is offline   Reply With Quote

Reply

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


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forces in OF15 richard OpenFOAM Running, Solving & CFD 180 July 9, 2018 11:54
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
ForcesCoeffs ronaldo OpenFOAM 4 September 14, 2009 08:11
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 12:16


All times are GMT -4. The time now is 03:33.