Skip to content

Commit

Permalink
Reorganised the tutorials to use Allwmake and Allwclean scripts for c…
Browse files Browse the repository at this point in the history
…ompiling, making each one require the same commands for execution. Added an automated testing script. Checked OpenFOAM 6 compatibility
  • Loading branch information
UnnamedMoose committed Jul 10, 2018
1 parent 07ac652 commit 34ca200
Show file tree
Hide file tree
Showing 29 changed files with 4,958 additions and 4,908 deletions.
3 changes: 3 additions & 0 deletions OFtutorial00_helloWorld/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial00_helloWorld/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial01_inputOutput/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial01_inputOutput/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial02_commandLineArgumentsAndOptions/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial02_commandLineArgumentsAndOptions/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial03_understandingTheMesh/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial03_understandingTheMesh/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial04_basicFieldOperations/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial04_basicFieldOperations/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial05_basicParallelComputing/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial05_basicParallelComputing/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
3 changes: 3 additions & 0 deletions OFtutorial06_customClasses/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial06_customClasses/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
4 changes: 2 additions & 2 deletions OFtutorial08_customBC/testCase/Allrun
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ mpirun -np 4 simpleFoam -parallel > log.run 2>&1

reconstructPar -latestTime > log.reconstruct 2>&1

yPlus -latestTime > log.yPlus
sample -latestTime > log.sample
simpleFoam -postProcess -func yPlus -latestTime > log.yPlus
simpleFoam -postProcess -func sample -latestTime > log.sample

rm -r processor*

Expand Down
3 changes: 3 additions & 0 deletions OFtutorial09_runtimePostprocessingUtility/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean libso
3 changes: 3 additions & 0 deletions OFtutorial09_runtimePostprocessingUtility/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake libso
3 changes: 3 additions & 0 deletions OFtutorial10_transportEquation/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial10_transportEquation/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
2 changes: 1 addition & 1 deletion OFtutorial10_transportEquation/testCase/Allrun
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

blockMesh > log.blockMesh
ofTutorial10
paraview --state=viewData.pvsm
echo "Now run: paraview --state=viewData.pvsm"
3 changes: 3 additions & 0 deletions OFtutorial11_modifyingTheMesh/Allwclean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wclean
3 changes: 3 additions & 0 deletions OFtutorial11_modifyingTheMesh/Allwmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

wmake
2 changes: 1 addition & 1 deletion OFtutorial11_modifyingTheMesh/testCase/Allrun
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
blockMesh > log.blockMesh
ofTutorial11
checkMesh -constant -allTopology -allGeometry
paraview --state=viewGrid.pvsm
echo "Now run: paraview --state=viewGrid.pvsm"
Loading

0 comments on commit 34ca200

Please sign in to comment.