mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
DPMFoam, MPPICFoam: Renamed alphaPhic -> alphaPhi.<continuous phase name>
for consistency with multiphase solvers and compatibility with the generalized TurbulenceModels library.
This commit is contained in:
@ -151,7 +151,16 @@ alphac = max(1.0 - kinematicCloud.theta(), alphacMin);
|
|||||||
alphac.correctBoundaryConditions();
|
alphac.correctBoundaryConditions();
|
||||||
|
|
||||||
surfaceScalarField alphacf("alphacf", fvc::interpolate(alphac));
|
surfaceScalarField alphacf("alphacf", fvc::interpolate(alphac));
|
||||||
surfaceScalarField alphaPhic("alphaPhic", alphacf*phic);
|
|
||||||
|
surfaceScalarField alphaPhic
|
||||||
|
(
|
||||||
|
IOobject::groupName
|
||||||
|
(
|
||||||
|
"alphaPhi",
|
||||||
|
continuousPhaseName
|
||||||
|
),
|
||||||
|
alphacf*phic
|
||||||
|
);
|
||||||
|
|
||||||
autoPtr<PhaseIncompressibleTurbulenceModel<singlePhaseTransportModel>>
|
autoPtr<PhaseIncompressibleTurbulenceModel<singlePhaseTransportModel>>
|
||||||
continuousPhaseTurbulence
|
continuousPhaseTurbulence
|
||||||
|
|||||||
@ -28,7 +28,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(alphaPhic,U.air) Gauss linearUpwindV unlimited;
|
div(alphaPhi.air,U.air) Gauss linearUpwindV unlimited;
|
||||||
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -28,7 +28,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(alphaPhic,U.air) Gauss linearUpwindV unlimited;
|
div(alphaPhi.air,U.air) Gauss linearUpwindV unlimited;
|
||||||
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||||
|
|
||||||
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
||||||
|
|||||||
@ -33,7 +33,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(alphaPhic,U.air) Gauss linearUpwindV unlimited;
|
div(alphaPhi.air,U.air) Gauss linearUpwindV unlimited;
|
||||||
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||||
|
|
||||||
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
||||||
|
|||||||
@ -27,11 +27,11 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(alphaPhic,U.air) Gauss linearUpwindV unlimited;
|
div(alphaPhi.air,U.air) Gauss linearUpwindV unlimited;
|
||||||
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||||
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
div(phiGByA,kinematicCloud:alpha) Gauss linear;
|
||||||
div(alphaPhic,epsilon.air) Gauss limitedLinear 1;
|
div(alphaPhi.air,epsilon.air) Gauss limitedLinear 1;
|
||||||
div(alphaPhic,k.air) Gauss limitedLinear 1;
|
div(alphaPhi.air,k.air) Gauss limitedLinear 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -28,7 +28,7 @@ divSchemes
|
|||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
|
|
||||||
div(alphaPhic,U.air) Gauss linearUpwindV unlimited;
|
div(alphaPhi.air,U.air) Gauss linearUpwindV unlimited;
|
||||||
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
div(((alpha.air*nuEff.air)*dev2(T(grad(U.air))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user