ENH: Restructed CAD geometries in tutorials

This commit is contained in:
andy
2011-11-25 16:06:48 +00:00
parent 588926a724
commit e3b395ae20
13 changed files with 25 additions and 4643412 deletions

View File

@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy propeller surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
# - meshing
runApplication blockMesh

View File

@ -4,6 +4,9 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface
\rm -f constant/triSurface/motorBike.obj.gz
rm -rf 0 > /dev/null 2>&1
cleanCase

View File

@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy motorbike surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
# Make dummy 0 directory
mkdir 0

View File

@ -0,0 +1,4 @@
Folder to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder

View File

@ -28,7 +28,7 @@ addLayers false;
// - to 'snap' the mesh boundary to the surface
geometry
{
motorBike.stl
motorBike.obj
{
type triSurfaceMesh;
name motorBike;

View File

@ -3,6 +3,9 @@
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove surface
\rm -f constant/triSurface/motorBike.obj.gz
rm -rf 0 > /dev/null 2>&1
cleanCase

View File

@ -2,6 +2,9 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy motorbike surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
cp -r 0.org 0 > /dev/null 2>&1
runApplication blockMesh

View File

@ -0,0 +1,4 @@
Folder to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder

View File

@ -28,7 +28,7 @@ addLayers true;
// - to 'snap' the mesh boundary to the surface
geometry
{
motorBike.stl
motorBike.obj
{
type triSurfaceMesh;
name motorBike;

Binary file not shown.

Binary file not shown.