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