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

Some questions about MULES

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2020, 00:42
Post Some questions about MULES
  #1
New Member
 
王子阳
Join Date: Aug 2019
Posts: 29
Rep Power: 6
wangziyang is on a distinguished road
hello, everyone!

i am read the InterPhaseChangeFaom code recently,(the version of of is 4.1)

in alphaEqn.H, the MULES algorithm is used to solve the equation, but i don't konw what the meaning of the follow code:

# if (MULESCorr)
{
talphaPhiCorr.ref() -= talphaPhi();

volScalarField alpha100("alpha100", alpha10);
alpha10 = alpha1;

MULES::correct
(
geometricOneField(),
alpha1,
talphaPhi(),
talphaPhiCorr.ref(),
vDotvmcAlphal,
(
divU*(alpha10 - alpha100)
- vDotvmcAlphal*alpha10
)(),
oneField(),
zeroField()
);

// Under-relax the correction for all but the 1st corrector
if (aCorr == 0)
{
talphaPhi.ref() += talphaPhiCorr();
}
else
{
alpha1 = 0.5*alpha1 + 0.5*alpha10;
talphaPhi.ref() += 0.5*talphaPhiCorr();
}
}
else // explict MULES, i have know it
{
MULES::explicitSolve
(
geometricOneField(),
alpha1,
phi,
talphaPhiCorr.ref(),
vDotvmcAlphal,
(divU*alpha1 + vDotcAlphal)(),
oneField(),
zeroField()
);

talphaPhi = talphaPhiCorr;
}

alpha2 = 1.0 - alpha1;
}#

the code seems the semi-MULES algorithm in alphaEqn.H, but i don't know it how works

can some one help me? and can some one recommend some referene?

best wishes!

ziyang
wangziyang is offline   Reply With Quote

Old   July 2, 2020, 11:15
Default
  #2
New Member
 
MMNCH's Avatar
 
mohammadmahdi noroozi
Join Date: Oct 2017
Posts: 9
Rep Power: 8
MMNCH is on a distinguished road
dear ziyang

I suggest you to read this thesis:
An Extended Mixture Model for the Simultaneous Treatment of Short and Long Scale Interfaces.

I hope you find it useful
MMNCH is offline   Reply With Quote

Old   July 5, 2020, 09:39
Post
  #3
New Member
 
王子阳
Join Date: Aug 2019
Posts: 29
Rep Power: 6
wangziyang is on a distinguished road
Quote:
Originally Posted by MMNCH View Post
dear ziyang

I suggest you to read this thesis:
An Extended Mixture Model for the Simultaneous Treatment of Short and Long Scale Interfaces.

I hope you find it useful
thank you very much!

i will read it carefully!

ziyang
wangziyang is offline   Reply With Quote

Old   August 11, 2020, 05:38
Default
  #4
New Member
 
Elol
Join Date: Feb 2020
Posts: 16
Rep Power: 6
Elol is on a distinguished road
Hello Foamers,

So, I have some problems regarding the the functions in Mules as I understand the theory from Santiago thesis but I cant understand the difference betweent the MULES functions. as follow

MULES::limit()
MULES::limitSmm()
MULES::correct()
MULES::explicitSolve()

I went back to source code but I couldn't find out the differnces

what each of above functions do ? and when we can use them?

Best Regards
Mohamed Elerian
Elol is offline   Reply With Quote

Reply

Tags
semi mules


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
Free Surface Ship Flow timfranke OpenFOAM Running, Solving & CFD 322 March 3, 2021 09:04
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 14:05
Problem of simulating of small droplet with radius of 2mm liguifan OpenFOAM Running, Solving & CFD 5 June 3, 2014 02:53
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16


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