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

twoPhaseEulerFoam and LES

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 16, 2010, 16:32
Smile Advancement in twoPhaseEulerLESFoam
  #21
New Member
 
foamWang's Avatar
 
Roro Wang
Join Date: Mar 2010
Location: Cambridge, MA, USA
Posts: 29
Rep Power: 6
foamWang is on a distinguished road
Hi Alberto, Raagh, Juho, and others,

I am working on a particle cloud settling problem.
I wonder whether dynMixSmagorinsky can be added.
The single phase problem has been well addressed.
I would like to know if any advancement has been done and be happy to be the first user.

PS: Alberto, may I have a look at your code?

Thanks in advance.

Roro
foamWang is offline   Reply With Quote

Old   April 16, 2010, 17:30
Default
  #22
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by foamWang View Post
Hi Alberto, Raagh, Juho, and others,

I am working on a particle cloud settling problem.
How dense (average volume fraction)?

Quote:
I wonder whether dynMixSmagorinsky can be added.
Yes, it can be added very easily re-using the work done for single-phase flows by OpenFOAM developers.

Quote:
PS: Alberto, may I have a look at your code?
I can send you my code, but it wasn't ported to a recent release of OpenFOAM. You can either email me, or, if you want a newer version, get in touch with Juho.

Best,
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   July 1, 2011, 04:40
Default twoPhaseLESEulerFoam
  #23
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 169
Rep Power: 6
vonboett is on a distinguished road
Hello Alberto and all particle settling Foamers,

I am quite interested in twoPhaseLESEulerFoam, too. I have so far used a modified interDyMFoam solver to simulate freeface fluid structure interactions of shallow landslides with flexible protection barriers in my PhD thesis, but since this is done i would like to work on erosion around piles in hyperconcentrated turbulent flows, as they occur during flood events. Could you imagine simulating particles in a turbulent Herschel-Bulkley rheology flow using twoPhaseEulerFoam? Please let me know if I can contribute.

Regards,

Albrecht
(Albrecht v. Boetticher, albrecht.vonboetticher[at]wsl.ch, Swiss Federal Institute for Forest, Snow and Landscape Research WSL, Züricherstrasse 111, CH-8903 Birmensdorf)
vonboett is offline   Reply With Quote

Old   July 2, 2011, 02:34
Default
  #24
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by vonboett View Post
Hello Alberto and all particle settling Foamers,

I am quite interested in twoPhaseLESEulerFoam, too. I have so far used a modified interDyMFoam solver to simulate freeface fluid structure interactions of shallow landslides with flexible protection barriers in my PhD thesis, but since this is done i would like to work on erosion around piles in hyperconcentrated turbulent flows, as they occur during flood events. Could you imagine simulating particles in a turbulent Herschel-Bulkley rheology flow using twoPhaseEulerFoam? Please let me know if I can contribute.
Hi,

the solution algorithm should not have extreme difficulties to deal with non-Newtonian problems.

In OpenFOAM 2.0.0 twoPhaseEulerFoam implements the PIMPLE algorithm, which makes it more stable. If you use the kinetic theory of granular flows, the treatment of the particle pressure is still explicit, and this makes the solution less stable in dense regions.

You'll have to add the non-Newtonian model, but there should be no difficulty in managing large values of the viscosity (it's similar to what happens in a granular flow in the frictional regime, and there the algorithm, once the particle pressure is treated implicitly, works fine).

Best,
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   July 2, 2011, 11:08
Default
  #25
Senior Member
 
Albrecht vBoetticher
Join Date: Aug 2010
Location: Zürich, Swizerland
Posts: 169
Rep Power: 6
vonboett is on a distinguished road
Hi Alberto,

thanks for these advices, the mixture of LES with non-Newtonian models causes discussions from a physical point of view, but the implementation works fine in interFoam and I think I'll run some simple experiments with a flume for validation. I will start writing the proposal in fall so that the project could start in next summer. But instead of dealing with the particles in twoPhaseEulerFOAM I think I will use InterFOAM and link it with an external discrete finite element code that traces the particles, and allows for complex bindings between the particles which makes it possible to simulate fishing nets as well as the foundation of piles in eroding granular material with different grain sizes. I thought about feeding the particle position and velocity to InterFOAM, together with a particle radius. Then finding all cells that ly within the particle radius and then work through the resulting actio and reactio forces, applied to the flow and to the particle. I will post the first trial tests when ready...
vonboett is offline   Reply With Quote

Old   July 2, 2011, 17:02
Default
  #26
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by vonboett View Post
Hi Alberto,

thanks for these advices, the mixture of LES with non-Newtonian models causes discussions from a physical point of view, but the implementation works fine in interFoam and I think I'll run some simple experiments with a flume for validation. I will start writing the proposal in fall so that the project could start in next summer. But instead of dealing with the particles in twoPhaseEulerFOAM I think I will use InterFOAM and link it with an external discrete finite element code that traces the particles, and allows for complex bindings between the particles which makes it possible to simulate fishing nets as well as the foundation of piles in eroding granular material with different grain sizes. I thought about feeding the particle position and velocity to InterFOAM, together with a particle radius. Then finding all cells that ly within the particle radius and then work through the resulting actio and reactio forces, applied to the flow and to the particle. I will post the first trial tests when ready...
Good luck. It seems a very complicated problem. :-)
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   March 8, 2012, 07:33
Default News on twoPhaseEulerFoam and LES
  #27
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 136
Rep Power: 13
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Are there news on twoPhaseEulerFoam and LES?

Who has worked that out and how difficult is this?
Will this combination be publicly available in the future?
GerhardHolzinger is offline   Reply With Quote

Old   March 9, 2012, 03:38
Default
  #28
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Hi Gerhard,

if with LES you mean a Smagorinsky-type model for the continuous phase, the implementation is easy, and can be based on what is already available into OpenFOAM.
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   April 5, 2012, 20:26
Default
  #29
New Member
 
yushi
Join Date: May 2010
Posts: 4
Rep Power: 6
yushiw is on a distinguished road
Hi, all,

I am trying to run twoPhaseEulerFoam with one of the RSTM.
I am wondering if anyone has done this before or any instruction on how to modify the code?

thank you in advance,

yy
yushiw is offline   Reply With Quote

Old   April 6, 2012, 10:48
Default
  #30
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by yushiw View Post
Hi, all,

I am trying to run twoPhaseEulerFoam with one of the RSTM.
I am wondering if anyone has done this before or any instruction on how to modify the code?

thank you in advance,

yy
You have to replace the k-epsilon implementation with the RSTM implementation for multiphase flows. The code does not rely on the turbulence models in the library, since you have to include the volume fraction.

Best,
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   April 8, 2012, 16:45
Default
  #31
New Member
 
mohamed elshafey
Join Date: Apr 2012
Location: cairo ,egypt
Posts: 7
Rep Power: 4
mohamed_ is on a distinguished road
hi all
I am new in Open FOAM and I am starting my work on LES of an evaporating two-phaseflow with LE approach.I built my code for the liquid phase.and i want to know if it is possible to find in OF for the gas phase a LES code solves the filtered compressible Navier-Stokes equations and if i can add my source term in the code and integrate the gas solver with my liquid solver.

mohamed
mohamed_ is offline   Reply With Quote

Old   April 8, 2012, 16:52
Default
  #32
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by mohamed_ View Post
hi all
I am new in Open FOAM and I am starting my work on LES of an evaporating two-phaseflow with LE approach.I built my code for the liquid phase.and i want to know if it is possible to find in OF for the gas phase a LES code solves the filtered compressible Navier-Stokes equations and if i can add my source term in the code and integrate the gas solver with my liquid solver.

mohamed
Hi, OpenFOAM has compressible LES solvers. You might want to take a look at rhoPimpleFoam.
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   April 8, 2012, 17:07
Default
  #33
New Member
 
mohamed elshafey
Join Date: Apr 2012
Location: cairo ,egypt
Posts: 7
Rep Power: 4
mohamed_ is on a distinguished road
thanks alberto for your help , what about the integration between LES gas solver and my liquid solver ?
mohamed_ is offline   Reply With Quote

Old   April 8, 2012, 17:10
Default
  #34
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by mohamed_ View Post
thanks alberto for your help , what about the integration between LES gas solver and my liquid solver ?
I do not know enough about your solver to comment on this. Is your solver written in OpenFOAM? What kind of coupling do you need?

Alberto
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   April 8, 2012, 17:23
Default
  #35
New Member
 
mohamed elshafey
Join Date: Apr 2012
Location: cairo ,egypt
Posts: 7
Rep Power: 4
mohamed_ is on a distinguished road
Quote:
Originally Posted by alberto View Post
I do not know enough about your solver to comment on this. Is your solver written in OpenFOAM? What kind of coupling do you need?

Alberto
my solver written in fortran 90 and there is no problem to written in c++ .
the coupling (i need u, v,T,roh from LES solver & export the conductive heat flux to it at each time step )
mohamed_ is offline   Reply With Quote

Old   April 8, 2012, 17:27
Default
  #36
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
This should not be too difficult: you can simply create an interface between the two codes. If you want to do things more cleanly, you probably should take a look at the Lagrangian solver already present in OpenFOAM, which includes heat and mass transfer too (see the combustion / diesel) solvers.
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto is offline   Reply With Quote

Old   April 8, 2012, 17:38
Default
  #37
New Member
 
mohamed elshafey
Join Date: Apr 2012
Location: cairo ,egypt
Posts: 7
Rep Power: 4
mohamed_ is on a distinguished road
Quote:
Originally Posted by alberto View Post
This should not be too difficult: you can simply create an interface between the two codes. If you want to do things more cleanly, you probably should take a look at the Lagrangian solver already present in OpenFOAM, which includes heat and mass transfer too (see the combustion / diesel) solvers.
thanks alberto for your help
mohamed_ is offline   Reply With Quote

Old   April 9, 2012, 13:04
Default
  #38
New Member
 
yushi
Join Date: May 2010
Posts: 4
Rep Power: 6
yushiw is on a distinguished road
Thank you very much for your reply, Alberto.

I am trying the standard kepsilon model for now but the simulation is very unstable. I have to limit my Courant Number below 0.2 otherwise it will diverge.
I am using limitedLinearV 1 for my convective terms and I am wondering if anyone has similar experience or any idea to improve it?

Thank you.
yushiw is offline   Reply With Quote

Old   May 6, 2012, 18:07
Default
  #39
New Member
 
mohamed elshafey
Join Date: Apr 2012
Location: cairo ,egypt
Posts: 7
Rep Power: 4
mohamed_ is on a distinguished road
hi alberto ,
I start to look at rhoPimpleFoam solver , I need your help to find some tutorial about governing equations and how to run the solver, Thanks for your help.

mohamed
mohamed_ is offline   Reply With Quote

Old   May 6, 2012, 19:46
Default
  #40
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,880
Rep Power: 25
alberto will become famous soon enoughalberto will become famous soon enough
Hi,

the governing equations for rhoPimpleFoam are the continuity, momentum and energy equation of a compressible fluid. You can refer to Ferziger and Peric and Hirsch books, for example.

For the tutorials, a starting point are the examples here

~/OpenFOAM/OpenFOAM-2.1.x/tutorials/compressible/rhoPimpleFoam/

If you have questions, just ask on the forum :-)
__________________
Alberto

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
GeekoCFD 32bit - The 32bit edition of GeekoCFD.
GeekoCFD text mode - A smaller version of GeekoCFD, text-mode only, with only OpenFOAM. Available in a variety of virtual formats.
alberto 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



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