mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
multiphase MRF solvers: added Coriolis contribution to the virtual-mass force
This commit is contained in:
@ -3,9 +3,11 @@
|
||||
fvc::ddt(U1)
|
||||
+ fvc::div(phi1, U1)
|
||||
- fvc::div(phi1)*U1;
|
||||
mrfZones.addCoriolis(U1, DDtU1);
|
||||
|
||||
DDtU2 =
|
||||
fvc::ddt(U2)
|
||||
+ fvc::div(phi2, U2)
|
||||
- fvc::div(phi2)*U2;
|
||||
mrfZones.addCoriolis(U2, DDtU2);
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
||||
- fvm::Sp(dragCoeff/rho1, U1)
|
||||
- alpha1*alpha2/rho1*(liftForce - Cvm*rho2*DDtU2)
|
||||
);
|
||||
mrfZones.addCoriolis(alpha1, U1Eqn);
|
||||
mrfZones.addCoriolis(alpha1*(1 + Cvm*rho2*alpha2/rho1), U1Eqn);
|
||||
U1Eqn.relax();
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
||||
- fvm::Sp(dragCoeff/rho2, U2)
|
||||
+ alpha1*alpha2/rho2*(liftForce + Cvm*rho2*DDtU1)
|
||||
);
|
||||
mrfZones.addCoriolis(alpha2, U2Eqn);
|
||||
mrfZones.addCoriolis(alpha2*(1 + Cvm*rho2*alpha1/rho2), U2Eqn);
|
||||
U2Eqn.relax();
|
||||
}
|
||||
}
|
||||
|
||||
@ -6,4 +6,6 @@ forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
|
||||
fvc::ddt(phase.U())
|
||||
+ fvc::div(phase.phi(), phase.U())
|
||||
- fvc::div(phase.phi())*phase.U();
|
||||
|
||||
mrfZones.addCoriolis(phase.U(), phase.DDtU());
|
||||
}
|
||||
|
||||
@ -49,7 +49,11 @@ forAllIter(PtrDictionary<phaseModel>, fluid.phases(), iter)
|
||||
)
|
||||
)
|
||||
);
|
||||
mrfZones.addCoriolis(alpha, UEqns[phasei]);
|
||||
mrfZones.addCoriolis
|
||||
(
|
||||
alpha*(1 + (1/phase.rho())*fluid.Cvm(phase)),
|
||||
UEqns[phasei]
|
||||
);
|
||||
UEqns[phasei].relax();
|
||||
|
||||
phasei++;
|
||||
|
||||
@ -3,9 +3,11 @@
|
||||
fvc::ddt(U1)
|
||||
+ fvc::div(phi1, U1)
|
||||
- fvc::div(phi1)*U1;
|
||||
mrfZones.addCoriolis(U1, DDtU1);
|
||||
|
||||
DDtU2 =
|
||||
fvc::ddt(U2)
|
||||
+ fvc::div(phi2, U2)
|
||||
- fvc::div(phi2)*U2;
|
||||
mrfZones.addCoriolis(U2, DDtU2);
|
||||
}
|
||||
|
||||
@ -53,7 +53,7 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
||||
//+ alpha2/rho1*K*U2 // Explicit drag transfered to p-equation
|
||||
- alpha2/rho1*(liftCoeff - Cvm*rho2*DDtU2)
|
||||
);
|
||||
mrfZones.addCoriolis(U1Eqn);
|
||||
mrfZones.addCoriolis(scalar(1) + Cvm*rho2*alpha2/rho1, U1Eqn);
|
||||
U1Eqn.relax();
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ fvVectorMatrix U2Eqn(U2, U2.dimensions()*dimVol/dimTime);
|
||||
//+ alpha1/rho2*K*U1 // Explicit drag transfered to p-equation
|
||||
+ alpha1/rho2*(liftCoeff + Cvm*rho2*DDtU1)
|
||||
);
|
||||
mrfZones.addCoriolis(U2Eqn);
|
||||
mrfZones.addCoriolis(scalar(1) + Cvm*rho2*alpha1/rho2, U2Eqn);
|
||||
U2Eqn.relax();
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
Reference in New Issue
Block a user