mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
File diff suppressed because it is too large
Load Diff
51
tutorials/DNS/dnsFoam/boxTurb16/0/U.orig
Normal file
51
tutorials/DNS/dnsFoam/boxTurb16/0/U.orig
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user