DTCHull tutorials: rename fields to .orig

to avoid them being overwritten during renumbering
This commit is contained in:
Henry Weller
2019-04-29 19:26:50 +01:00
parent 3395a5ba35
commit 784244790f
17 changed files with 148 additions and 107 deletions

View File

@ -15,38 +15,42 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
UMean 1.668;
dimensions [0 1 -1 0 0 0 0];
internalField uniform (#neg $UMean 0 0);
internalField uniform (-1.668 0 0);
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type outletPhaseMeanVelocity;
alpha alpha.water;
UnMean $UMean;
value $internalField;
}
atmosphere
{
type pressureInletOutletVelocity;
tangentialVelocity $internalField;
tangentialVelocity uniform (-1.668 0 0);
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (-1.668 0 0);
}
outlet
{
type outletPhaseMeanVelocity;
UnMean constant 1.668;
alpha alpha.water;
value uniform (-1.668 0 0);
}
bottom
{
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type movingWallVelocity;

View File

@ -21,34 +21,41 @@ internalField uniform 0.00015;
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 0.00015;
value uniform 0.00015;
}
inlet
{
type fixedValue;
value uniform 0.00015;
}
outlet
{
type inletOutlet;
inletValue uniform 0.00015;
value uniform 0.00015;
}
bottom
{
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type kqRWallFunction;
value $internalField;
value uniform 0.00015;
}
}
// ************************************************************************* //

View File

@ -21,31 +21,37 @@ internalField uniform 5e-07;
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type zeroGradient;
}
atmosphere
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 5e-07;
}
outlet
{
type zeroGradient;
}
bottom
{
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type nutkRoughWallFunction;
Ks uniform 100e-6;
Ks uniform 0.0001;
Cs uniform 0.5;
value $internalField;
value uniform 5e-07;
}
}

View File

@ -21,36 +21,41 @@ internalField uniform 2;
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 2;
value uniform 2;
}
inlet
{
type fixedValue;
value uniform 2;
}
outlet
{
type inletOutlet;
inletValue uniform 2;
value uniform 2;
}
bottom
{
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type omegaWallFunction;
value $internalField;
value uniform 2;
}
}
// ************************************************************************* //

View File

@ -21,31 +21,44 @@ internalField uniform 0;
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
atmosphere
{
type totalPressure;
rho rho;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
inlet
{
type fixedFluxPressure;
value $internalField;
gradient uniform 0;
value uniform 0;
}
outlet
{
type zeroGradient;
}
atmosphere
bottom
{
type totalPressure;
p0 uniform 0;
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type fixedFluxPressure;
value $internalField;
gradient uniform 0;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -21,27 +21,33 @@ internalField uniform (0 0 0);
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type fixedValue;
value uniform (0 0 0);
}
atmosphere
{
type fixedValue;
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value uniform (0 0 0);
}
outlet
{
type fixedValue;
value uniform (0 0 0);
}
bottom
{
type symmetryPlane;
}
side
{
type symmetryPlane;
}
midPlane
{
type symmetryPlane;
}
hull
{
type calculated;