mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
compressibleTwoPhaseEulerFoam tutorials: Updated fvSchemes and improved naming of kineticTheory stress correction
This commit is contained in:
@ -506,7 +506,8 @@ Foam::tmp<Foam::fvVectorMatrix> Foam::kineticTheoryModel::divDevRhoReff
|
|||||||
- fvc::div
|
- fvc::div
|
||||||
(
|
(
|
||||||
(this->rho_*this->nut_)*dev2(T(fvc::grad(U)))
|
(this->rho_*this->nut_)*dev2(T(fvc::grad(U)))
|
||||||
+ ((this->rho_*lambda_)*fvc::div(this->phi_))*symmTensor::I
|
+ ((this->rho_*lambda_)*fvc::div(this->phi_))
|
||||||
|
*dimensioned<symmTensor>("I", dimless, symmTensor::I)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,11 +34,10 @@ divSchemes
|
|||||||
|
|
||||||
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
|
||||||
"div\(phi.*,.*rho.*\)" Gauss linear;
|
"div\(phi.*,.*rho.*\)" Gauss linear;
|
||||||
|
|
||||||
"div\(alphaPhi.*,h.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||||
"div\(alphaPhi.*,K.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,18 +34,12 @@ divSchemes
|
|||||||
|
|
||||||
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
|
||||||
"div\(phi.*,.*rho.*\)" Gauss linear;
|
"div\(phi.*,.*rho.*\)" Gauss linear;
|
||||||
div(alphaPhi.particles,Theta.particles) Gauss limitedLinear 1;
|
|
||||||
div(alphaPhi.air,k.air) Gauss limitedLinear 1;
|
|
||||||
div(alphaPhi.air,epsilon.air) Gauss limitedLinear 1;
|
|
||||||
|
|
||||||
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||||
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||||
|
|
||||||
div(((nut.particles*dev2(T(grad(U.particles))))+((lambda.particles*div(phi.particles))*(1,0,0,1,0,1)))) Gauss linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
@ -34,11 +34,10 @@ divSchemes
|
|||||||
|
|
||||||
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
|
||||||
"div\(phi.*,.*rho.*\)" Gauss linear;
|
"div\(phi.*,.*rho.*\)" Gauss linear;
|
||||||
|
|
||||||
"div\(alphaPhi.*,h.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||||
"div\(alphaPhi.*,K.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||||
}
|
}
|
||||||
@ -62,7 +61,6 @@ fluxRequired
|
|||||||
{
|
{
|
||||||
default no;
|
default no;
|
||||||
p ;
|
p ;
|
||||||
alpha1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -34,11 +34,10 @@ divSchemes
|
|||||||
|
|
||||||
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
|
||||||
"div\(phi.*,.*rho.*\)" Gauss linear;
|
"div\(phi.*,.*rho.*\)" Gauss linear;
|
||||||
|
|
||||||
"div\(alphaPhi.*,h.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||||
"div\(alphaPhi.*,K.*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
"div\(alphaPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
|
|||||||
@ -34,18 +34,18 @@ divSchemes
|
|||||||
|
|
||||||
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(alphaPhi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
||||||
"div\(\(alpha.*Rc\)\)" Gauss linear;
|
|
||||||
"div\(phi.*,.*rho.*\)" Gauss linear;
|
"div\(phi.*,.*rho.*\)" Gauss linear;
|
||||||
div(alphaPhi.particles,Theta.particles) Gauss limitedLinear 1;
|
|
||||||
div(alphaPhi.air,k.air) Gauss limitedLinear 1;
|
|
||||||
div(alphaPhi.air,epsilon.air) Gauss limitedLinear 1;
|
|
||||||
|
|
||||||
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
||||||
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
"div\(alphaPhi.*,(K.*|p)\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
|
div(alphaPhi.particles,Theta.particles) Gauss limitedLinear 1;
|
||||||
|
|
||||||
|
"div\(alphaPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
||||||
|
|
||||||
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
"div\(\(\(alpha.*nuEff.*\)*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
||||||
|
|
||||||
div(((nut.particles*dev2(T(grad(U.particles))))+((lambda.particles*div(phi.particles))*(1,0,0,1,0,1)))) Gauss linear;
|
div(((nut.particles*dev2(T(grad(U.particles))))+((lambda.particles*div(phi.particles))*I))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
laplacianSchemes
|
laplacianSchemes
|
||||||
|
|||||||
Reference in New Issue
Block a user