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 15, 2009, 14:43
Default twoPhaseEulerFoam and LES
  #1
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hello all,

anyone tried implementing LES in twoPhaseEulerFoam solver?


awaiting for replies..

Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   April 16, 2009, 02:13
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hi,

yes, I worked on that during my PhD. I essentially used Smagorynsky type models for the gas phase to simulated gas-particle flows. The work was done with OF 1.4.0, and does not compile with more recent versions of OpenFOAM. I did not port it to OpenFOAM 1.5.x for lack of time (I'm working on a different topic right now).

What I can suggest to you is to reuse the single phase classes for LES, and adapt them at the multiphase case, which is essentially what I did.

Best regards,
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 16, 2009, 03:45
Default
  #3
Member
 
Juho Peltola
Join Date: Mar 2009
Location: Finland
Posts: 80
Rep Power: 8
juho is on a distinguished road
Hi,

I actually started modifying the single phase incompressible LES-models for use with twoPhaseEulerFoam yesterday evening. Based on Albertos' example. Didn't get that far with it yet though.

I'd be interested in including some sort of model to account for modulation of turbulence due to particles in them. (gas-solid flows)

Regards,
Juho
juho is offline   Reply With Quote

Old   April 16, 2009, 04:32
Default
  #4
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hi Alberto and Juho,

Thanks for your replies..Its good to know about LES implementation in twoPhaseEulerFoam.

Are there any references about LES in mutiphase flows which I can go through before working on it?

Is it possible to share the LES implementation for twoPhaseEulerFoam (in OF-1.4) and I can continue from there to implement the same in OF-1.5 ..?


Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   April 17, 2009, 02:28
Default
  #5
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hi Raghavendr,

I have no problem to share the code, but I don't really know how useful it can be for your purposes, because starting from the single-phase LES classes in OpenFOAM and adapting them to the multiphase case is not a long work (1-2 days should be enough if you know OF a bit). You mainly need to rename the classes, make some changes to the submodels according to the literature (for gas-particle flows there are many paper, tell me if you need references) and make some minor change to the twoPhaseEulerFoam to replace the turbulent viscosity with the SGS viscosity.

An Juho said, it would be necessary to account for the effect of particles on the sub-grid phenomena description (See for example the very interesting work of Prof. Simonin on this purpose), and also include the effect of sub-grid phenomena on the dispersed phase (drag correction). This was not done in my code.


Best,
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 18, 2009, 16:45
Default
  #6
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hi Alberto,

Yes, it seems to be quite simple and just to change the way nutb is calculated to implement LES..
but
I am very much new to OF and I haven't tried modifying the source code. Till now (past 2months) I was just using the available solvers

If its not a problem is it OK to share the LES code you implemented for twoPhaseEulerFoam?..
are there any references available with you regarding implementation of LES in twoPhaseEulerFoam for liquid gas flows?..
(Similar to Phd thesis of Henrik Rusche what you mentioned earlier for K-epsilon model and twoPhaseEulerFoam)
raagh77 is offline   Reply With Quote

Old   April 19, 2009, 16:16
Default
  #7
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hi, I don't see any contact information in your profile where I can send the code.

Best,
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 19, 2009, 16:22
Default
  #8
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
ohh!!

u can send it to me through

raagh77@gmail.com
raagh77 is offline   Reply With Quote

Old   April 19, 2009, 16:25
Default
  #9
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
in the old forum my mail id was visible in myy profile..
don't know why its not showing in the new forum!
raagh77 is offline   Reply With Quote

Old   April 20, 2009, 01:14
Default
  #10
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Check you email. :-)

About your address, I have no idea. Also mine should be visible, and it should be possible to download a vCard, but the forum is so bloated I didn't find it anywhere! :-P
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 20, 2009, 03:08
Default
  #11
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Hi Alberto,

Yes, I received your mail..
Thanks

I made changes in my profile (which I made in the old forum also) so now its fine
thanks for notifyiong me and also for the code


Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   April 21, 2009, 02:23
Default
  #12
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Alberto and Raghavendra,

I am playing around with twoPhaseEulerFoam as well and I am interested in using LES with that solver. Could one of you please send me the code as well? It would help me a lot!

Many thanks in advance!

Regards,

Gijsbert

gijsbert.wierink@gmail.com

Edit: Thanks Raghavendra, I received the file. Now for some homework to get it to compile nicely on OpenFOAM-1.5.

Last edited by gwierink; April 22, 2009 at 02:28. Reason: Received file
gwierink is offline   Reply With Quote

Old   April 22, 2009, 20:27
Default
  #13
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
It seems Raghavendra sent it to you without even asking me...

Just to clarify, that code is NOT released publicly, so I would like to know who is using it.
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 23, 2009, 00:57
Default
  #14
Senior Member
 
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 9
gwierink is on a distinguished road
Hi Alberto,

Yes, Raghavendra has sent me the code. I understand you want to know what goes on with it and where, and it's not so nice if other people throw your stuff around. I am sure no harm was intended. As for me, I am developing a model to simulate three-phase stirred tank reactors (continuous liquid with dispersed bubbles and solids) for my PhD. The issue with models in literature is that most of them simulate a (passive) scalar field on top of just a single phase. Another big thing is that commonly the k-epsilon model is used, so that turbulence is isotropic. For bubble-particle interaction in my case the anisotropy, in my opinion, is significant. Hence my interest in a LES two-phase solver. I have understood that your PhD thesis is on CFD of two-phase flows. Would it be possible to obtain your thesis as a pdf from somewhere, or should I perhaps ask your former university about it? (I sent you a message about this already, sorry if you get it twice ...). Your thesis would be very useful and of course, if I use your solver I will refer to your work.

For now I'm having some compilation trouble with twoPhaseLESEulerFoam, probably due to a difference in versions of OpenFOAM. I'll let you know if I come up with something interesting . And please inform me if you would just not like me to use your solver the way it is. If you are interested I can send you a more detailed mail about what I do and my progress, in any case your feedback is very welcome.

Have a great day!

Best regards,

Gijsbert
gwierink is offline   Reply With Quote

Old   April 23, 2009, 02:55
Default @ Alberto
  #15
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
I had forwarded LEStwophaseEulerfoam code to him! (the same mail, without asking you)
am sorry I should have asked you before as you are the sole owner of the code..



Regards
Raghavendra
raagh77 is offline   Reply With Quote

Old   April 23, 2009, 08:21
Default
  #16
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hello,

no problem. I simply wanted to clarify the code is not published. The reasons are many:

a) it is not up to date
b) some parts are not tested (see interstitial fluid effects, for example)
c) there are some quite rough edges (instabilities when the granular temperature goes to alphaMax, limitations on SGS models (no account for particle influence, no SGS model for gas-liquid flow)).
d) finally, I would like to keep track of what goes on with the code to eventually put all the efforts together and avoid repeating work done by others ;-)

Just an idea: why don't we keep in touch about the progress you have? I should work soon on the basic solver again to make it more stable.

Best,
Alberto
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 24, 2009, 08:26
Default
  #17
Member
 
Raghavendra
Join Date: Mar 2009
Location: Goteborg, Sweden
Posts: 94
Rep Power: 8
raagh77 is on a distinguished road
Send a message via Yahoo to raagh77 Send a message via Skype™ to raagh77
Yes,
thats a good idea..
(is that through Forums we can be in touch? or anyother means)

Hopefully we can see twoPhaseLESEulerFoam in the next version of OF
raagh77 is offline   Reply With Quote

Old   April 25, 2009, 01:08
Default
  #18
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Hi Raghavendra,

to keep in touch email is OK I think.

Best,
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   January 28, 2010, 11:48
Default
  #19
New Member
 
Join Date: Jan 2010
Posts: 7
Rep Power: 7
piterw82 is on a distinguished road
hello,

I am new in OpenFOAM and I am starting my work on LES multiphase with EE approach. I see you guys are already working on that topic and probably have a lot of experience in that field. I was wondering Alberto if it would be possible to have a look on your code? I read it is not checked yet but I am sure it would help me to understand how I can make some changes inside the source terms in OpenFOAM. Thank you in advance.

Peter
piterw82 is offline   Reply With Quote

Old   January 28, 2010, 12:33
Default
  #20
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by piterw82 View Post
hello,

I am new in OpenFOAM and I am starting my work on LES multiphase with EE approach. I see you guys are already working on that topic and probably have a lot of experience in that field. I was wondering Alberto if it would be possible to have a look on your code? I read it is not checked yet but I am sure it would help me to understand how I can make some changes inside the source terms in OpenFOAM. Thank you in advance.

Peter
Hi Peter,

the main problem is that the code is outdated. I have written it using OF 1.3/1.4, and I did not adapt it to the new versions of OpenFOAM(r).

However if you drop me an email I can send it to you.

P.S. Juho Peltola used my code as a starting point to write his own, and he used OF 1.5. Maybe you want to contact him too ;-)

Best,
__________________
Alberto Passalacqua

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.
OpenQBMM - An open-source implementation of quadrature-based moment methods
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 12:51.