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

MULES with source terms and multiple phases

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 7, 2012, 17:17
Question MULES with source terms and multiple phases
  #1
New Member
 
Tyler V
Join Date: Jul 2012
Posts: 23
Rep Power: 4
tgvosk is on a distinguished road
Hello,

I have a question for any of the MULES experts out there.

I am attempting to add source terms to multiphaseInterFoam and am running into trouble maintaining boundedness. I have added the source term for each phase to both the limiter for that phase (MULES::limit) and the solver for that phase (MULES::explicitSolve) but the solution still slowly becomes unbounded when the source terms are non-negligible. Odder still, increasing nAlphaSubCycles only makes it become unbounded sooner.

Does anyone know what could cause MULES to stop producing bounded results? It seems like the limiter algorithm called on phase A isn't being influenced enough by the source in phase B, for example, but I'm not sure how that could be fixed.

Thanks!
tgvosk is offline   Reply With Quote

Old   December 11, 2013, 09:04
Default
  #2
Member
 
Hrushi
Join Date: Jan 2013
Posts: 51
Rep Power: 3
hrushi.397 is on a distinguished road
Hi Tyler,

Did you find solution to your problem?

Thanks and regards,

Hrushi
hrushi.397 is offline   Reply With Quote

Old   December 11, 2013, 10:17
Default Unfortunately, no
  #3
New Member
 
Tyler V
Join Date: Jul 2012
Posts: 23
Rep Power: 4
tgvosk is on a distinguished road
Hrushi,

I never did find a solution to this, so I ended up restructuring my code to use only two phases (liquid and gas) and differentiate between components using species mass fraction instead. With only two phases it's easier to maintain boundedness and the MULES multiphase limiter gets really expensive with more phases anyway.

-Tyler
tgvosk is offline   Reply With Quote

Old   December 11, 2013, 10:25
Default
  #4
Member
 
Hrushi
Join Date: Jan 2013
Posts: 51
Rep Power: 3
hrushi.397 is on a distinguished road
Thank you for a quick response, Tyler.

I am facing a similar issue with two phase simulations. Is it possible to post your implementation of source for two phases for me to compare?

Thanks and regards,

Hrushi
hrushi.397 is offline   Reply With Quote

Old   December 11, 2013, 10:35
Default
  #5
New Member
 
Tyler V
Join Date: Jul 2012
Posts: 23
Rep Power: 4
tgvosk is on a distinguished road
With only two phases, there are several solvers that do this already. Take a look at the alphaEqn.H files in compressibleInterFoam and interPhaseChangeFoam for examples. If you have severe boundedness issues, the implicit solver used in interPhaseChangeFoam may help.

-Tyler
tgvosk is offline   Reply With Quote

Old   December 11, 2013, 10:52
Default
  #6
Member
 
Hrushi
Join Date: Jan 2013
Posts: 51
Rep Power: 3
hrushi.397 is on a distinguished road
Thanks Tyler. Will look them up.

- Hrushi
hrushi.397 is offline   Reply With Quote

Old   December 13, 2013, 07:43
Default
  #7
New Member
 
Tommy V
Join Date: Nov 2013
Posts: 28
Rep Power: 2
Villo is on a distinguished road
Hi foamers!
Tyler, which OpenFoam release are you using?
I had similar problems for multiphase flow (twoLiquidMixingFoam and interMixingFoam) in OpenFoam 2.0. I have try hundreds different numerical schemes to limit the field, but problems were finally suppressed moving from OpenFoam 2.0 to OpenFoam 2.2.0 (more limiters (as lambda) and better structured)).
Regards
Villo is offline   Reply With Quote

Reply

Tags
mules, multiphaseinterfoam, openfoam

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
Source term units in 2D Chief FLUENT 1 August 23, 2004 12:40
Multiple species and UDS source terms Ale FLUENT 2 September 9, 2002 03:45


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