Dear OpenFOAM uses and Develop
Dear OpenFOAM uses and Developers
I request the forum users to shed some light on the details of how MULES works. Please share the information if anybody is aware of it.
I looked into the code and this is what it contains:
1) overloaded function templates for
--> explicitSolve - bounds can be supplied as the function argument;
--> explicitSolve01 - for a scalar bounded between 0 and 1;
--> implicitSolve01 - for a scalar bounded between 0 and 1;
and a function template for
InterFoam uses the MULES solver to solve for the volScalarField gamma and calls
MULES::explicitSolve01(gamma, phi, phiGamma).
This eventually calls the function template
const surfaceScalarField& phi,
const SpType& Sp,
const SuType& Su,
const scalar psiMax,
const scalar psiMin
with Sp = zero
Su = zero
psiMax = 1.0
psiMin = 0.0
Could anybody please comment what does template arguments: class SpType, class SuType stand for?
Thanks in advance
I think they are representing eventual source terms in the advection equation. There is even this possibility :
How can I call this special MULES function (I need to provide both source terms and rho) ?
I do :
Did you look at interPhaseChangeFoam?
yeah, I got it. it was because I should have written geometricOnesField() in place of OneField().
|All times are GMT -4. The time now is 04:45.|