ENH: tutorials settings

This commit is contained in:
mattijs
2011-07-11 15:43:41 +01:00
parent 31de9dacf1
commit dfeadff218
3 changed files with 24 additions and 23 deletions

View File

@ -4,15 +4,15 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
surfacePointMerge constant/triSurface/m_car01.obj \
1e-2 constant/triSurface/m_car01_merge.obj \
surfacePointMerge constant/triSurface/m_car01_wheels.obj \
1e-2 constant/triSurface/m_car01_wheels_merge.obj \
> log.surfacePointMerge 2>&1
# Orient so point to be meshed is inside surface
surfaceOrient \
constant/triSurface/m_car01_merge.obj \
constant/triSurface/m_car01_wheels_merge.obj \
-inside -usePierceTest '(13 -200 149)' \
constant/triSurface/m_car01_merge_orient.obj \
constant/triSurface/m_car01_wheels_merge_orient.obj \
> log.surfaceOrient.m_car01 2>&1
# Same for outside
@ -22,10 +22,10 @@ surfaceOrient \
constant/triSurface/domain_orient.stl \
> log.surfaceOrient.domain 2>&1
# Surface has open edges. Create dummy features for now.
# Extract feature edges and points
runApplication surfaceFeatureExtract \
constant/triSurface/m_car01_merge_orient.obj \
m_car01 -includedAngle 165 -writeObj
constant/triSurface/m_car01_wheels_merge_orient.obj \
m_car01 -includedAngle 125 -writeObj
mv log.surfaceFeatureExtract log.surfaceFeatureExtract.m_car01
unset FOAM_SIGFPE
@ -41,4 +41,8 @@ runApplication cvMesh
# Generate some sets for a bit of mesh inspection
runApplication topoSet -constant -time 0:100
# And a field for thresholding
writeCellCentres -constant
# ----------------------------------------------------------------- end-of-file