tutorials: Removed 0.orig directories in favor of <field>.orig

The new automated <field>.orig reading has made 0.orig directories and
associated scripting redundant.
This commit is contained in:
Henry Weller
2018-02-16 23:10:09 +00:00
parent d66059aac1
commit d8954d4370
102 changed files with 485 additions and 786 deletions

View File

@ -8,7 +8,7 @@
FoamFile
{
version 2.0;
format ascii;
format binary;
class volVectorField;
location "0";
object U;
@ -21,38 +21,59 @@ internalField uniform (0 0 0);
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
inlet
{
type uniformFixedValue;
uniformValue table
(
(0 (0 0 0))
(0.01 (0 -15 0))
(100 (0 -15 0))
);
value $internalField;
}
outlet
{
type pressureInletOutletVelocity;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
outerCylinder
{
type noSlip;
}
"propeller.*"
propellerTip
{
type movingWallVelocity;
value uniform (0 0 0);
}
propellerStem1
{
type movingWallVelocity;
value uniform (0 0 0);
}
propellerStem2
{
type movingWallVelocity;
value uniform (0 0 0);
}
propellerStem3
{
type movingWallVelocity;
value uniform (0 0 0);
}
AMI1
{
type cyclicAMI;
value uniform (0 0 0);
}
AMI2
{
type cyclicAMI;
value uniform (0 0 0);
}
inlet
{
type uniformFixedValue;
uniformValue table
3
(
(0 (0 0 0))
(0.01 (0 -15 0))
(100 (0 -15 0))
)
;
value uniform (0 0 0);
}
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
FoamFile
{
version 2.0;
format ascii;
format binary;
class volScalarField;
location "0";
object nut;
@ -21,26 +21,51 @@ internalField uniform 0;
boundaryField
{
//- Set patchGroups for constraint patches
#includeEtc "caseDicts/setConstraintTypes"
outerCylinder
{
type nutkWallFunction;
value uniform 0;
}
propellerTip
{
type nutkWallFunction;
value uniform 0;
}
propellerStem1
{
type nutkWallFunction;
value uniform 0;
}
propellerStem2
{
type nutkWallFunction;
value uniform 0;
}
propellerStem3
{
type nutkWallFunction;
value uniform 0;
}
AMI1
{
type cyclicAMI;
value uniform 0;
}
AMI2
{
type cyclicAMI;
value uniform 0;
}
inlet
{
type calculated;
value uniform 0;
}
outlet
{
type calculated;
value uniform 0;
}
wall
{
type nutkWallFunction;
value uniform 0;
}
}

View File

@ -8,19 +8,17 @@ cd ${0%/*} || exit 1 # Run from this directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
# Generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict
# Create the inlet/outlet and AMI patches
runApplication createPatch -overwrite
runApplication renumberMesh -overwrite
# Test by running moveDynamicMesh
#runApplication moveDynamicMesh -checkAMI