February 6, 2020, 01:08
|
Deprecation of argument input in OF 5+ onwards for MULES::explicitSolve
|
#1
|
New Member
Pavan Inguva
Join Date: Dec 2019
Location: Singapore
Posts: 7
Rep Power: 5
|
Hi, for OF 4++ and below, the MULES::explicitSolve could be written as such:
Code:
MULES::explicitSolve(alpha1, phi, phiAlpha, 1, 0);
But in OF 5++, it seems that such a method of declaring it is deprecated and the current approach of doing so as shown in VoF/alphaEqn.H is as follows:
Code:
MULES::explicitSolve
(
geometricOneField(),
alpha1,
phiCN,
alphaPhi10,
Sp,
(Su + divU*min(alpha1(), scalar(1)))(),
oneField(),
zeroField()
);
}
It seems that all the additional arguments are either zeros or ones declared in a new way, I would appreciate any insight on this difference and what do the new arguments specifically mean.
|
|
|