mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Update of overRhoPimpleDyMFoam and overInterDyMFoam solvers. Adding corresponding tutorials with best possible settings The main effort was put on reducing pressure spikes as the stencil change with hole cells on the background mesh.
78 lines
1.8 KiB
C++
78 lines
1.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1806 |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
div(phi,U) Gauss upwind;
|
|
|
|
div(phi,epsilon) Gauss limitedLinear 1;
|
|
div(phi,k) Gauss limitedLinear 1;
|
|
div(phi,h) Gauss limitedLinear 1;
|
|
div(phi,K) Gauss linear;
|
|
|
|
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
|
div(meshPhi,p) Gauss linear;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear corrected;
|
|
laplacian(diffusivity,cellDisplacement) Gauss linear corrected;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default corrected;
|
|
}
|
|
|
|
oversetInterpolation
|
|
{
|
|
method cellVolumeWeight;
|
|
}
|
|
|
|
fluxRequired
|
|
{
|
|
default no;
|
|
pcorr ;
|
|
p ;
|
|
}
|
|
|
|
oversetInterpolationSuppressed
|
|
{
|
|
grad(p);
|
|
surfaceIntegrate(phiHbyA);
|
|
//grad(pcorr);
|
|
//surfaceIntegrate(((rAUf*magSf)*snGradCorr(pcorr)));
|
|
}
|
|
|
|
// ************************************************************************* //
|