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

@ -11,7 +11,7 @@ FoamFile
format ascii;
class volScalarField;
location "0";
object alpha.water.org;
object alpha.water.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -24,26 +24,26 @@ boundaryField
leftWall
{
type epsilonWallFunction;
value uniform 0.1;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.1;
}
rightWall
{
type epsilonWallFunction;
value uniform 0.1;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.1;
}
lowerWall
{
type epsilonWallFunction;
value uniform 0.1;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.1;
}
atmosphere
{

View File

@ -42,7 +42,11 @@ boundaryField
atmosphere
{
type totalPressure;
rho rho;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
defaultFaces
{
@ -52,20 +56,21 @@ boundaryField
{
type porousBafflePressure;
patchType cyclic;
jump uniform 0;
value uniform 0;
D 1000;
I 500;
length 0.15;
jump uniform 0;
value uniform 0;
}
porous_half1
{
type porousBafflePressure;
patchType cyclic;
value uniform 0;
D 1000;
I 500;
length 0.15;
jump uniform 0;
value uniform 0;
}
}

View File

@ -1,9 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
#------------------------------------------------------------------------------

View File

@ -19,6 +19,7 @@ FoamFile
// faces.
internalFacesOnly true;
fields true;
// Baffles to create.
baffles