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 volScalarField;
location "0";
object alpha.water;
object alpha.water.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object p_rgh;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -23,16 +24,25 @@ boundaryField
stationaryWalls
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 0;
}
atmosphere
{
type totalPressure;
rho rho;
psi none;
gamma 1;
p0 uniform 0;
value uniform 0;
}
floatingObject
{
type fixedFluxPressure;
gradient uniform 0;
value uniform 0;
}
}
// ************************************************************************* //

View File

@ -10,6 +10,7 @@ FoamFile
version 2.0;
format ascii;
class pointVectorField;
location "0";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -33,7 +34,6 @@ boundaryField
floatingObject
{
type calculated;
value uniform (0 0 0);
}
}

View File

@ -1,11 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf 0 > /dev/null 2>&1
cleanCase
#------------------------------------------------------------------------------

View File

@ -10,7 +10,6 @@ application=`getApplication`
runApplication blockMesh
runApplication topoSet
runApplication subsetMesh -overwrite c0 -patch floatingObject
cp -r 0.orig 0 > /dev/null 2>&1
runApplication setFields
runApplication $application