BUG: snappyHexMesh: attraction distance mapping. Fixes #941.

This commit is contained in:
mattijs
2019-04-08 13:19:41 +01:00
committed by Andrew Heather
parent eb0c35dc6a
commit 7cd40afa3a
14 changed files with 2379 additions and 22 deletions

View File

@ -15,6 +15,11 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//DebugSwitches
//{
// fv 2;
//}
application sonicFoam;
startFrom latestTime;

View File

@ -41,7 +41,7 @@ divSchemes
laplacianSchemes
{
default Gauss linear limited corrected 0.5;
default Gauss linear corrected; //limited corrected 1; //0.5;
}
interpolationSchemes

View File

@ -23,13 +23,13 @@ startTime 0;
stopAt endTime;
endTime 0.5;
endTime 0.005;
deltaT 0.005;
writeControl timeStep;
writeInterval 20;
writeInterval 1;
purgeWrite 0;

View File

@ -53,12 +53,12 @@ snGradSchemes
oversetInterpolation
{
method cellVolumeWeight;
//method cellVolumeWeight;
// Faster but less accurate
//method trackingInverseDistance;
//searchBox (0 0 0)(0.02 0.01 0.01);
//searchBoxDivisions 3{(64 64 1)};
method trackingInverseDistance;
searchBox (0 0 0)(0.02 0.01 0.01);
searchBoxDivisions 3{(64 64 1)};
}
fluxRequired

View File

@ -78,17 +78,41 @@ boundary
(9 13 12 8)
);
}
couple1
ACMI1_couple
{
type patch;
type cyclicACMI;
matchTolerance 0.0001;
neighbourPatch ACMI2_couple;
nonOverlapPatch ACMI1_blockage;
transform noOrdering;
faces
(
(2 6 5 1)
);
}
couple2
ACMI2_couple
{
type patch;
type cyclicACMI;
neighbourPatch ACMI1_couple;
nonOverlapPatch ACMI2_blockage;
transform noOrdering;
faces
(
(8 12 15 11)
);
}
ACMI1_blockage
{
type wall;
faces
(
(2 6 5 1)
);
}
ACMI2_blockage
{
type wall;
faces
(
(8 12 15 11)

View File

@ -28,7 +28,10 @@ gradSchemes
divSchemes
{
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,alpha) Gauss vanLeer;
// div(phi,alpha) Gauss vanLeer;
div(phi,alpha) Gauss CoBlended 1.0 Minmod 2.0 upwind;
div(phirb,alpha) Gauss linear;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;