Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
adf1fb11
Commit
adf1fb11
authored
11 years ago
by
laurence
Browse files
Options
Downloads
Patches
Plain Diff
TUT: Update flange test in tutorial and remove flange.obj
parent
395cde4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tutorials/mesh/foamyHexMesh/flange/Alltest
+12
-3
12 additions, 3 deletions
tutorials/mesh/foamyHexMesh/flange/Alltest
tutorials/mesh/foamyHexMesh/flange/constant/triSurface/flange.obj
+0
-9710
0 additions, 9710 deletions
...s/mesh/foamyHexMesh/flange/constant/triSurface/flange.obj
with
12 additions
and
9713 deletions
tutorials/mesh/foamyHexMesh/flange/Alltest
+
12
−
3
View file @
adf1fb11
...
@@ -7,17 +7,26 @@ cd ${0%/*} || exit 1 # run from this directory
...
@@ -7,17 +7,26 @@ cd ${0%/*} || exit 1 # run from this directory
# copy flange surface from resources folder
# copy flange surface from resources folder
cp
$FOAM_TUTORIALS
/resources/geometry/flange.stl.gz constant/triSurface/
cp
$FOAM_TUTORIALS
/resources/geometry/flange.stl.gz constant/triSurface/
# Create tight-fitting background mesh
cp
system/controlDict system/controlDict.org
runApplication blockMesh
sed
-e
s/
"
\(
endTime[
\t
]*
\)\(
[0-9]*
\)
;"
/
"
\1
10;"
/g
\
-e
s/
"
\(
writeInterval[
\t
]*
\)\(
[0-9]*
\)
;"
/
"
\1
10;"
/g
\
system/controlDict.org
>
system/controlDict
runApplication foamyHexMesh
runApplication foamyHexMesh
# Change collapseEdges to only do one iteration
# Change collapseEdges to only do one iteration
cp
system/collapseDict system/collapseDict.org
cp
system/collapseDict system/collapseDict.org
sed
-e
s/
"
\(
maximumIterations[
\t
]*
\)\(
[0-9]*
\)
;"
/
"
\1
1;"
/g
\
sed
-e
s/
"
\(
maximumIterations[
\t
]*
\)\(
[0-9]*
\)
;"
/
"
\1
1;"
/g
\
system/collapseDict.org
>
system/collapseDict
system/collapseDict.org
>
system/collapseDict
runApplication collapseEdges
-latestTime
-collapseFaces
runApplication collapseEdges
-latestTime
-collapseFaces
cp
system/controlDict.org system/controlDict
cp
system/collapseDict.org system/collapseDict
rm
-f
system/controlDict.org system/collapseDict.org
# ----------------------------------------------------------------- end-of-file
# ----------------------------------------------------------------- end-of-file
This diff is collapsed.
Click to expand it.
tutorials/mesh/foamyHexMesh/flange/constant/triSurface/flange.obj
deleted
100644 → 0
+
0
−
9710
View file @
395cde4e
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment