tutorials: Fixes relating to initialisation

Some tutorials have had Allrun scripts added in order to run setFields,
which was previously omitted. Others have had nonuniform field files in
the 0 directory replaced by uniform files with .orig extensions.
This commit is contained in:
Will Bainbridge
2018-02-23 12:21:55 +00:00
parent d5d1fffcec
commit fde4c4f43b
35 changed files with 459 additions and 11227 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,51 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U.orig;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
patch0_half0
{
type cyclic;
}
patch0_half1
{
type cyclic;
}
patch1_half0
{
type cyclic;
}
patch1_half1
{
type cyclic;
}
patch2_half0
{
type cyclic;
}
patch2_half1
{
type cyclic;
}
}
// ************************************************************************* //

View File

@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cleanCase
rm -f 0/enstrophy
rm -rf 0/enstrophy graphs
#------------------------------------------------------------------------------