Skip to content

Commit

Permalink
sloshingTank: Removed blockMeshDict.m4 and replaced by sloshingTank2D…
Browse files Browse the repository at this point in the history
… and sloshingTank3D dictionary.

Vertices are generated using run time compilation functionality.

File duplication avoided by placement in:
tutorials/resources/blockMesh/sloshingTank2D
tutorials/resources/blockMesh/sloshingTank3D
  • Loading branch information
Jakub Knir committed Feb 5, 2021
1 parent 95c9862 commit c5b6e66
Show file tree
Hide file tree
Showing 14 changed files with 241 additions and 858 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/sloshingTank2D
runApplication setFields
runApplication $(getApplication)

Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions tutorials/multiphase/interFoam/laminar/sloshingTank2D/Allrun
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/sloshingTank2D

runApplication setFields
runApplication $(getApplication)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions

m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/sloshingTank2D
runApplication setFields
runApplication $(getApplication)

Expand Down
Loading

0 comments on commit c5b6e66

Please sign in to comment.