|
[Sponsors] |
May 13, 2020, 00:42 |
Some questions about MULES
|
#1 |
New Member
王子阳
Join Date: Aug 2019
Posts: 29
Rep Power: 6 |
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 |
|
Tags |
semi mules |
|
|
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 |