TUT: mesh: clean up tutorials

This commit is contained in:
Kutalmis Bercin
2021-06-04 10:19:30 +01:00
committed by Andrew Heather
parent 6120e13d29
commit 3a858ac682
413 changed files with 623 additions and 1608672 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase0
rm -rf constant
#------------------------------------------------------------------------------

View File

@ -3,6 +3,12 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
mkdir -p constant/geometry
cp -f \
"$FOAM_TUTORIALS"/resources/geometry/curve2.vtk.gz \
constant/geometry
runApplication blockMesh
#------------------------------------------------------------------------------

View File

@ -1,9 +0,0 @@
v -5 0.4 0
v -4 0.4 0
v -3 0.4 0.7
v -2.5 0.4 2
v -2 0.4 2
v -1 0.4 0.7
v -0.6 0.4 0
v 10 0.4 0
l 1 2 3 4 5 6 7 8

View File

@ -1,13 +0,0 @@
# vtk DataFile Version 4.0
vtk output
ASCII
DATASET POLYDATA
POINTS 17 double
-5.0437 0.4 -0.0159845 -4.54848 0.4 0.00946291 -4.30524 0.4 0.0219617
-4.11475 0.4 0.0317502 -3.65463 0.4 0.0664504 -3.42509 0.4 0.242198
-3.26981 0.4 0.570689 -3.04354 0.4 0.986036 -2.80622 0.4 1.28924
-2.45212 0.4 1.43367 -2.10187 0.4 1.42911 -1.8115 0.4 1.2018
-1.52708 0.4 0.866397 -1.30229 0.4 0.49514 -1.04633 0.4 0.189424
-0.5819 0.4 -5.75752e-05 4 0.4 0
LINES 1 18
17 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

View File

@ -113,8 +113,6 @@ edges
projectCurve v11 v7 (cylinder2)
projectCurve v10 v4 (cylinder2)
// Top cylinder
project v12 v15 (cylinder)
project v15 v14 (cylinder)
@ -170,4 +168,5 @@ boundary
}
);
// ************************************************************************* //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSchemes;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,9 +10,9 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// ************************************************************************* //