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:
@ -26,48 +26,40 @@ boundaryField
|
||||
type pressureInletOutletParSlipVelocity;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
walls
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
|
||||
floatingObject
|
||||
{
|
||||
type fixedNormalInletOutletVelocity;
|
||||
|
||||
fixTangentialInflow false;
|
||||
|
||||
normalVelocity
|
||||
{
|
||||
type uniformFixedValue;
|
||||
|
||||
uniformValue
|
||||
uniformValue scale;
|
||||
uniformValueCoeffs
|
||||
{
|
||||
type scale;
|
||||
|
||||
value
|
||||
scale linearRamp;
|
||||
scaleCoeffs
|
||||
{
|
||||
type sine;
|
||||
|
||||
frequency 1;
|
||||
amplitude 0.025;
|
||||
scale (0 1 0);
|
||||
level (0 0 0);
|
||||
start 0;
|
||||
duration 10;
|
||||
}
|
||||
|
||||
scale
|
||||
value sine;
|
||||
valueCoeffs
|
||||
{
|
||||
type linearRamp;
|
||||
|
||||
duration 10;
|
||||
t0 0;
|
||||
amplitude constant 0.025;
|
||||
frequency constant 1;
|
||||
scale constant (0 1 0);
|
||||
level constant (0 0 0);
|
||||
}
|
||||
}
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
frontAndBack
|
||||
{
|
||||
type empty;
|
||||
@ -33,6 +33,7 @@ boundaryField
|
||||
floatingObject
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
gradient uniform 0;
|
||||
value uniform 0;
|
||||
}
|
||||
frontAndBack
|
||||
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cleanCase
|
||||
|
||||
rm -rf 0
|
||||
rm -rf poolHeight poolHeight_vs_time
|
||||
@ -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 $application
|
||||
|
||||
|
||||
Reference in New Issue
Block a user