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-15 20:14:27 +00:00
parent df6e2da2dd
commit 9221dd0d0f
211 changed files with 326 additions and 13180 deletions

View File

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volVectorField;
location "0";
object U;
object U.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -29,7 +29,8 @@ boundaryField
walls
{
type uniformFixedValue;
uniformValue (0 0 0);
uniformValue constant (0 0 0);
value uniform (0 0 0);
}
}

View File

@ -10,7 +10,8 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
object alpha.water;
location "0";
object alpha.water.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,22 +21,17 @@ internalField uniform 0;
boundaryField
{
walls
{
type zeroGradient;
}
obstacle
{
type zeroGradient;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
walls
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -24,15 +24,15 @@ boundaryField
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 0.00015;
value uniform 0.00015;
}
walls
{
type kqRWallFunction;
value $internalField;
value uniform 0.00015;
}
}
// ************************************************************************* //

View File

@ -25,13 +25,12 @@ boundaryField
{
type zeroGradient;
}
walls
{
type nutkRoughWallFunction;
Ks uniform 100e-6;
Ks uniform 0.0001;
Cs uniform 0.5;
value $internalField;
value uniform 5e-07;
}
}

View File

@ -24,17 +24,15 @@ boundaryField
atmosphere
{
type inletOutlet;
inletValue $internalField;
value $internalField;
inletValue uniform 2;
value uniform 2;
}
walls
{
type omegaWallFunction;
value $internalField;
value uniform 2;
}
}
// ************************************************************************* //

View File

@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -20,25 +21,22 @@ internalField uniform 0;
boundaryField
{
walls
{
type fixedFluxPressure;
phi phiAbs;
value uniform 0;
}
obstacle
{
type fixedFluxPressure;
phi phiAbs;
value uniform 0;
}
atmosphere
{
type totalPressure;
rho rho;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
walls
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm system/cellSetDict > /dev/null 2>&1
rm -rf 0 > /dev/null 2>&1
cleanCase

View File

@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -r 0.orig 0 > /dev/null 2>&1
runApplication blockMesh
#runApplication setSet -batch createObstacle.setSet
runApplication topoSet
runApplication subsetMesh -overwrite c0 -patch walls
runApplication setFields

View File

@ -1,7 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase && rm -rf 0

View File

@ -6,8 +6,6 @@ cd ${0%/*} || exit 1
runApplication blockMesh
cp -r 0.orig 0
runApplication extrudeMesh
for i in 1 2