Patch contributed by Juho Peltola, VTT The new JohnsonJacksonSchaefferFrictionalStress model is included and the LBend tutorial case to demonstrate the need for the changes to the frictional stress models. Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2058
75 lines
1.9 KiB
C++
75 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
|
|
"div\(phi,alpha.*\)" Gauss vanLeer;
|
|
"div\(phir,alpha.*\)" Gauss vanLeer;
|
|
|
|
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
|
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
|
|
|
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
|
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
|
"div\(alphaPhi.*,p\)" Gauss limitedLinear 1;
|
|
|
|
div(alphaRhoPhi.solids,Theta.solids) Gauss limitedLinear 1;
|
|
|
|
"div\(alphaRhoPhi.*,(k|epsilon).*\)" Gauss limitedLinear 1;
|
|
|
|
div((((alpha.gas*thermo:rho.gas)*nuEff.gas)*dev2(T(grad(U.gas))))) Gauss linear;
|
|
|
|
div((((thermo:rho.solids*nut.solids)*dev2(T(grad(U.solids))))+(((thermo:rho.solids*lambda.solids)*div(phi.solids))*I))) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear corrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
p_rgh;
|
|
alpha.solids;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|