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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
BIN
tutorials/multiphase/interFoam/laminar/wave/0/polyMesh/cellMap
Normal file
BIN
tutorials/multiphase/interFoam/laminar/wave/0/polyMesh/cellMap
Normal file
Binary file not shown.
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ${0%/*} || exit 1
|
||||
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase && rm -rf 0
|
||||
@ -6,8 +6,6 @@ cd ${0%/*} || exit 1
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
cp -r 0.orig 0
|
||||
|
||||
runApplication extrudeMesh
|
||||
|
||||
for i in 1 2
|
||||
|
||||
Reference in New Issue
Block a user