TUT: simplify basic/overLaplacianDyMFoam/heatTransfer

BAKW: ensure bitwise backward compatibility
This commit is contained in:
Kutalmis Bercin 2020-01-09 17:07:05 +00:00
parent c399a4b3fb
commit bda695d97a
10 changed files with 11 additions and 72 deletions

View File

@ -10,14 +10,13 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0.1";
location "0";
object cellDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
@ -29,30 +28,16 @@ boundaryField
value uniform (0 0 0);
}
walls
{
type cellMotion;
value uniform (0 0 0);
}
hole
"(walls|hole|left1|right1)"
{
type cellMotion;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
left1
{
type cellMotion;
value uniform (0 0 0);
}
right1
{
type cellMotion;
value uniform (0 0 0);
}
}

View File

@ -4,7 +4,6 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
cleanCase0
rm -f constant/polyMesh/boundary
rm -f constant/polyMesh/zoneID

View File

@ -5,8 +5,6 @@ cd "${0%/*}" || exit # Run from this directory
./Allrun.pre
# Run it for a bit
# Serial
#runApplication $(getApplication)

View File

@ -1,4 +0,0 @@
Transient, moving mesh
----------------------
Simple testcase for testing mesh motion

View File

@ -14,11 +14,11 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dynamicFvMesh dynamicOversetFvMesh;
dynamicFvMesh dynamicOversetFvMesh;
motionSolverLibs (fvMotionSolvers);
solver displacementLaplacian;
solver displacementLaplacian;
displacementLaplacianCoeffs
{

View File

@ -10,30 +10,12 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
DT DT [ 0 2 -1 0 0 0 0 ] 1;
DT 1;
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1e-05;
CrossPowerLawCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
m m [ 0 0 1 0 0 0 0 ] 1;
n n [ 0 0 0 0 0 0 0 ] 1;
}
BirdCarreauCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
k k [ 0 0 1 0 0 0 0 ] 0;
n n [ 0 0 0 0 0 0 0 ] 1;
}
// ************************************************************************* //

View File

@ -51,7 +51,6 @@ vertices
blocks
(
hex (0 1 2 3 4 5 6 7) (18 18 1) simpleGrading (1 1 1)
hex (8 9 10 11 12 13 14 15) movingZone (20 20 1) simpleGrading (1 1 1)
);
@ -110,6 +109,7 @@ boundary
(0 4 7 3)
);
}
right1
{
type patch;

View File

@ -16,7 +16,7 @@ FoamFile
numberOfSubdomains 2;
method hierarchical;
method hierarchical;
coeffs
{

View File

@ -16,7 +16,7 @@ FoamFile
ddtSchemes
{
default Euler; //steadyState;
default Euler;
}
gradSchemes
@ -28,13 +28,6 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) bounded Gauss limitedLinearV 1;
div(phi,k) bounded Gauss limitedLinear 1;
div(phi,epsilon) bounded Gauss limitedLinear 1;
div(phi,R) bounded Gauss limitedLinear 1;
div(R) Gauss linear;
div(phi,nuTilda) bounded Gauss limitedLinear 1;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}
laplacianSchemes

View File

@ -44,29 +44,15 @@ solvers
SIMPLE
{
nNonOrthogonalCorrectors 0; //2;
nNonOrthogonalCorrectors 0;
}
PIMPLE
{
correctPhi yes;
nOuterCorrectors 2;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
k 0.7;
omega 0.7;
}
}
// ************************************************************************* //