tutorials/compressible/sonicDyMFoam/movingCone: sonic version of the pimpleDyMFoam/movingCone tutorial

This commit is contained in:
Henry
2015-02-22 16:53:33 +00:00
parent 5ecfb06398
commit f6e868e1f7
18 changed files with 829 additions and 22 deletions

View File

@ -22,8 +22,8 @@ boundaryField
{
movingWall
{
type fixedValue;
value uniform (1 0 0);
type movingWallVelocity;
value $internalField;
}
farFieldMoving
@ -41,7 +41,7 @@ boundaryField
left
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
value $internalField;
}
farField

View File

@ -38,7 +38,7 @@ boundaryField
left
{
type totalPressure;
p0 uniform 0;
p0 $internalField;
U U;
phi phi;
rho none;

View File

@ -24,7 +24,7 @@ solver velocityComponentLaplacian;
velocityComponentLaplacianCoeffs
{
component x;
diffusivity directional ( 1 200 0 );
diffusivity directional (1 200 0);
}

View File

@ -28,6 +28,7 @@ gradSchemes
divSchemes
{
default none;
div(phi,U) Gauss linear;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
@ -35,6 +36,7 @@ divSchemes
laplacianSchemes
{
default Gauss linear corrected;
laplacian(diffusivity,cellMotionU) Gauss linear uncorrected;
}

View File

@ -17,20 +17,6 @@ FoamFile
solvers
{
pcorr
{
solver GAMG;
tolerance 0.02;
relTol 0;
smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration no;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}
p
{
solver GAMG;
@ -52,6 +38,13 @@ solvers
relTol 0;
}
pcorr
{
$p
tolerance 0.02;
relTol 0;
}
U
{
solver smoothSolver;
@ -86,13 +79,11 @@ PIMPLE
relaxationFactors
{
fields
{
}
equations
{
"U.*" 1;
}
}
// ************************************************************************* //