DTCHullMoving: Updated for consistency with the current DTCHull tutorial case
This commit is contained in:
@ -43,6 +43,7 @@ boundaryField
|
|||||||
atmosphere
|
atmosphere
|
||||||
{
|
{
|
||||||
type pressureInletOutletVelocity;
|
type pressureInletOutletVelocity;
|
||||||
|
tangentialVelocity $internalField;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -15,42 +15,38 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
UMean 1.668;
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
dimensions [0 1 -1 0 0 0 0];
|
||||||
|
|
||||||
internalField uniform (-1.668 0 0);
|
internalField uniform (#neg $UMean 0 0);
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type pressureInletOutletVelocity;
|
|
||||||
tangentialVelocity uniform (-1.668 0 0);
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (-1.668 0 0);
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type outletPhaseMeanVelocity;
|
type outletPhaseMeanVelocity;
|
||||||
UnMean constant 1.668;
|
|
||||||
alpha alpha.water;
|
alpha alpha.water;
|
||||||
value uniform (-1.668 0 0);
|
UnMean $UMean;
|
||||||
|
value $internalField;
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type pressureInletOutletVelocity;
|
||||||
}
|
tangentialVelocity $internalField;
|
||||||
side
|
value uniform (0 0 0);
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type movingWallVelocity;
|
type movingWallVelocity;
|
||||||
|
|||||||
@ -21,41 +21,34 @@ internalField uniform 0.00015;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type inletOutlet;
|
|
||||||
inletValue uniform 0.00015;
|
|
||||||
value uniform 0.00015;
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0.00015;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 0.00015;
|
inletValue $internalField;
|
||||||
value uniform 0.00015;
|
value $internalField;
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type inletOutlet;
|
||||||
}
|
inletValue $internalField;
|
||||||
side
|
value $internalField;
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type kqRWallFunction;
|
type kqRWallFunction;
|
||||||
value uniform 0.00015;
|
value $internalField;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -21,37 +21,31 @@ internalField uniform 5e-07;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 5e-07;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type zeroGradient;
|
||||||
}
|
|
||||||
side
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type nutkRoughWallFunction;
|
type nutkRoughWallFunction;
|
||||||
Ks uniform 0.0001;
|
Ks uniform 100e-6;
|
||||||
Cs uniform 0.5;
|
Cs uniform 0.5;
|
||||||
value uniform 5e-07;
|
value $internalField;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,41 +21,36 @@ internalField uniform 2;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type inletOutlet;
|
|
||||||
inletValue uniform 2;
|
|
||||||
value uniform 2;
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 2;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type inletOutlet;
|
type inletOutlet;
|
||||||
inletValue uniform 2;
|
inletValue $internalField;
|
||||||
value uniform 2;
|
value $internalField;
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type inletOutlet;
|
||||||
}
|
inletValue $internalField;
|
||||||
side
|
value $internalField;
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type omegaWallFunction;
|
type omegaWallFunction;
|
||||||
value uniform 2;
|
value $internalField;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -21,44 +21,31 @@ internalField uniform 0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type totalPressure;
|
|
||||||
rho rho;
|
|
||||||
psi none;
|
|
||||||
gamma 1;
|
|
||||||
p0 uniform 0;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
gradient uniform 0;
|
value $internalField;
|
||||||
value uniform 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type totalPressure;
|
||||||
}
|
p0 uniform 0;
|
||||||
side
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
gradient uniform 0;
|
value $internalField;
|
||||||
value uniform 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -21,33 +21,27 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
atmosphere
|
//- Set patchGroups for constraint patches
|
||||||
{
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
bottom
|
|
||||||
|
atmosphere
|
||||||
{
|
{
|
||||||
type symmetryPlane;
|
type fixedValue;
|
||||||
}
|
value uniform (0 0 0);
|
||||||
side
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
midPlane
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hull
|
hull
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
|
|||||||
@ -38,7 +38,6 @@ solvers
|
|||||||
"pcorr.*"
|
"pcorr.*"
|
||||||
{
|
{
|
||||||
solver GAMG;
|
solver GAMG;
|
||||||
|
|
||||||
smoother DIC;
|
smoother DIC;
|
||||||
|
|
||||||
tolerance 1e-3;
|
tolerance 1e-3;
|
||||||
@ -48,7 +47,6 @@ solvers
|
|||||||
p_rgh
|
p_rgh
|
||||||
{
|
{
|
||||||
solver GAMG;
|
solver GAMG;
|
||||||
|
|
||||||
smoother DIC;
|
smoother DIC;
|
||||||
|
|
||||||
tolerance 5e-8;
|
tolerance 5e-8;
|
||||||
@ -64,10 +62,9 @@ solvers
|
|||||||
"(U|k|omega).*"
|
"(U|k|omega).*"
|
||||||
{
|
{
|
||||||
solver smoothSolver;
|
solver smoothSolver;
|
||||||
|
|
||||||
smoother symGaussSeidel;
|
smoother symGaussSeidel;
|
||||||
nSweeps 1;
|
|
||||||
|
|
||||||
|
nSweeps 1;
|
||||||
tolerance 1e-7;
|
tolerance 1e-7;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
minIter 1;
|
minIter 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user