mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: tutorials settings
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user