mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials/compressible/sonicDyMFoam/movingCone: sonic version of the pimpleDyMFoam/movingCone tutorial
This commit is contained in:
@ -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
|
||||
|
||||
@ -38,7 +38,7 @@ boundaryField
|
||||
left
|
||||
{
|
||||
type totalPressure;
|
||||
p0 uniform 0;
|
||||
p0 $internalField;
|
||||
U U;
|
||||
phi phi;
|
||||
rho none;
|
||||
|
||||
@ -24,7 +24,7 @@ solver velocityComponentLaplacian;
|
||||
velocityComponentLaplacianCoeffs
|
||||
{
|
||||
component x;
|
||||
diffusivity directional ( 1 200 0 );
|
||||
diffusivity directional (1 200 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user