Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
645 commits
Select commit Hold shift + click to select a range
6b62e62
Changed Onera case script
friedenhe Mar 4, 2025
e438e61
Change PH script
friedenhe Mar 4, 2025
dd5fda2
Change PH script
friedenhe Mar 4, 2025
306a71f
Renamed PH
friedenhe Mar 4, 2025
44ce810
Renamed PH
friedenhe Mar 4, 2025
97ca3d5
Updated PH.
friedenhe Mar 4, 2025
93ec252
Updated PH.
friedenhe Mar 4, 2025
c7a3540
Updated Pitzdaily script.
friedenhe Mar 4, 2025
d922adf
Updated Pitzdaily script.
friedenhe Mar 4, 2025
7cbc127
Updated plateHole script.
friedenhe Mar 5, 2025
438a6c6
Updated plateHole script.
friedenhe Mar 5, 2025
d6a6868
Updated the prowim case.
friedenhe Mar 6, 2025
d33ef48
Updated the prowim case.
friedenhe Mar 6, 2025
5541128
Updated R37
friedenhe Mar 6, 2025
e55664f
Updated R37
friedenhe Mar 6, 2025
193c339
Updated S809 FI
friedenhe Mar 6, 2025
b967530
Updated S809 FI
friedenhe Mar 6, 2025
9e3ba6a
Fixed the 30N script.
friedenhe Mar 7, 2025
577f73e
Fixed the 30N script.
friedenhe Mar 7, 2025
c531d8f
Updated 30E.
friedenhe Mar 8, 2025
79db844
Updated 30E.
friedenhe Mar 8, 2025
0118897
Updatd aoa0
friedenhe Mar 8, 2025
55ea818
Updatd aoa0
friedenhe Mar 8, 2025
5e7143f
Updated the Cylinder case.
friedenhe Mar 10, 2025
3f939ce
Updated the Cylinder case.
friedenhe Mar 10, 2025
b0c5d73
Updated the PH case.
friedenhe Mar 11, 2025
d9a8d41
Updated the PH case.
friedenhe Mar 11, 2025
44bcf47
Added the ref betaFI data.
friedenhe Mar 11, 2025
a9f547f
Added the ref betaFI data.
friedenhe Mar 11, 2025
b79df3e
Updated the FIML script for the ramp case.
friedenhe Mar 12, 2025
b833ab0
Updated the FIML script for the ramp case.
friedenhe Mar 12, 2025
f86b541
Updated Ramp script.
friedenhe Mar 12, 2025
93ab47f
Updated Ramp script.
friedenhe Mar 12, 2025
e5a7a16
Fixed an issue for DPW4
friedenhe Mar 13, 2025
86211f4
Fixed an issue for DPW4
friedenhe Mar 13, 2025
c52a9af
Merge branch 'main' of github.com:DAFoam/tutorials
friedenhe Mar 13, 2025
734c98f
Merge branch 'main' of github.com:DAFoam/tutorials
friedenhe Mar 13, 2025
89b3823
Fixed JBC script
friedenhe Mar 20, 2025
9483f41
Fixed JBC script
friedenhe Mar 20, 2025
cf72490
Updated DPW4
friedenhe Mar 20, 2025
ec5fa6d
Updated DPW4
friedenhe Mar 20, 2025
8ac5464
Updated CRM.
friedenhe Mar 20, 2025
3f36f36
Updated CRM.
friedenhe Mar 20, 2025
4a28fd2
Fixed MACH tutorial.
friedenhe Mar 20, 2025
655b4e0
Fixed MACH tutorial.
friedenhe Mar 20, 2025
5d2c367
Fixed aeros script.
friedenhe Mar 21, 2025
aa70915
Fixed aeros script.
friedenhe Mar 21, 2025
5739b39
Updated the JBC case.
friedenhe Mar 21, 2025
9663e97
Updated the JBC case.
friedenhe Mar 21, 2025
f8d1c2e
Fixed NREL.
friedenhe Mar 21, 2025
b55e431
Fixed NREL.
friedenhe Mar 21, 2025
adba99c
Updated MACH aero only.
friedenhe Mar 21, 2025
a7196ab
Updated MACH aero only.
friedenhe Mar 21, 2025
7271190
Fixed aeroOnly.
friedenhe Mar 21, 2025
d044d14
Fixed aeroOnly.
friedenhe Mar 21, 2025
583fd6f
Updated the M6 case.
friedenhe Mar 21, 2025
79782ab
Updated the M6 case.
friedenhe Mar 21, 2025
ade3591
Updated M6.
friedenhe Mar 21, 2025
f83b112
Updated M6.
friedenhe Mar 21, 2025
beca253
Fixed the plate case.
friedenhe Mar 21, 2025
39bda61
Fixed the plate case.
friedenhe Mar 21, 2025
5c60915
Updated prowim.
friedenhe Mar 22, 2025
740704c
Updated prowim.
friedenhe Mar 22, 2025
6a1adb5
Updated ramp script name.
friedenhe Mar 22, 2025
5fc64dc
Updated ramp script name.
friedenhe Mar 22, 2025
f3a3a24
Fixed ramp steady.
friedenhe Mar 22, 2025
741269f
Fixed ramp steady.
friedenhe Mar 22, 2025
4ce620d
change pre for ramp.
friedenhe Mar 22, 2025
09688b7
change pre for ramp.
friedenhe Mar 22, 2025
bfee2d4
Fixed ramp steady.
friedenhe Mar 22, 2025
97dd5b3
Fixed ramp steady.
friedenhe Mar 22, 2025
0a2e162
Fixed ramp steady.
friedenhe Mar 22, 2025
ed0f032
Fixed ramp steady.
friedenhe Mar 22, 2025
e196cdf
Fixed ramp steady.
friedenhe Mar 22, 2025
fe35078
Fixed ramp steady.
friedenhe Mar 22, 2025
f783499
Fixed an issue.
friedenhe Mar 22, 2025
0f74d8e
Fixed an issue.
friedenhe Mar 22, 2025
518c8dd
More fixes.
friedenhe Mar 22, 2025
2244ac8
More fixes.
friedenhe Mar 22, 2025
20b4881
Updated the ramp predict.
friedenhe Mar 23, 2025
d0d2d61
Updated the ramp predict.
friedenhe Mar 23, 2025
76211e2
Updated the ramp predict.
friedenhe Mar 23, 2025
85546a8
Updated the ramp predict.
friedenhe Mar 23, 2025
94408b6
Update.
friedenhe Mar 23, 2025
a7a05e1
Update.
friedenhe Mar 23, 2025
79d91a6
Update ramp
friedenhe Mar 23, 2025
c45f9d0
Update ramp
friedenhe Mar 23, 2025
07c1d39
Updasted R37
friedenhe Mar 23, 2025
90e763f
Updasted R37
friedenhe Mar 23, 2025
1b60462
Updated ramp unsteady.g
friedenhe Mar 24, 2025
87ad386
Updated ramp unsteady.g
friedenhe Mar 24, 2025
dd936e3
Reduced the outerI for ramp unsteady
friedenhe Mar 24, 2025
d27f0e3
Reduced the outerI for ramp unsteady
friedenhe Mar 24, 2025
56ac93f
Updated ramp unsteady predict.
friedenhe Mar 24, 2025
b8c3b61
Updated ramp unsteady predict.
friedenhe Mar 24, 2025
7bfb5f8
Fixed S809
friedenhe Mar 24, 2025
94741e4
Fixed S809
friedenhe Mar 24, 2025
bc2effd
Updated the components key to indices
friedenhe Apr 24, 2025
f8022a3
Updated the components key to indices
friedenhe Apr 24, 2025
4de1a25
Updated Ramp unsteady
friedenhe May 5, 2025
552f29a
Updated Ramp unsteady
friedenhe May 5, 2025
753f2d7
Changed Cylinder.
friedenhe May 5, 2025
f260f02
Changed Cylinder.
friedenhe May 5, 2025
cd935f4
Updated the runScript for FI.
zilonglicfd May 20, 2025
e712321
Updated the runScript for FI.
zilonglicfd May 20, 2025
fa9c30b
Merge pull request #15 from zilonglicfd/main
friedenhe May 20, 2025
8184780
Merge pull request #15 from zilonglicfd/main
friedenhe May 20, 2025
266a667
Added the naca0012 unsteady case.
friedenhe Jun 1, 2025
34ab2fc
Added the naca0012 unsteady case.
friedenhe Jun 1, 2025
45120e6
Fixed an primal run issue.
friedenhe Jun 2, 2025
dd16ea5
Fixed an primal run issue.
friedenhe Jun 2, 2025
9ac7486
Added a coupled steady and unsteady case.
friedenhe Jun 3, 2025
983e9e2
Added a coupled steady and unsteady case.
friedenhe Jun 3, 2025
113e53e
Fixed an issue for the ramp FI script.
friedenhe Jun 9, 2025
fbdc656
Fixed an issue for the ramp FI script.
friedenhe Jun 9, 2025
997004f
Add files via upload
ChrisPsenica Aug 7, 2025
0672bbe
Add files via upload
ChrisPsenica Aug 7, 2025
b341bf8
Delete UBend_CHT directory
ChrisPsenica Aug 7, 2025
69ae27d
Delete UBend_CHT directory
ChrisPsenica Aug 7, 2025
bddf868
Add files via upload
ChrisPsenica Aug 7, 2025
df91ba8
Add files via upload
ChrisPsenica Aug 7, 2025
dd6ad8f
Update runScript.py
ChrisPsenica Aug 7, 2025
9d449bc
Update runScript.py
ChrisPsenica Aug 7, 2025
3cc003a
Merge pull request #16 from ChrisPsenica/main
friedenhe Aug 7, 2025
5c4d3cd
Merge pull request #16 from ChrisPsenica/main
friedenhe Aug 7, 2025
67830d6
Update runScript.py
nabarberisu Aug 11, 2025
5bd92e8
Update runScript.py
nabarberisu Aug 11, 2025
b7e4793
Merge pull request #17 from nabarberisu/main
friedenhe Aug 11, 2025
27669b1
Merge pull request #17 from nabarberisu/main
friedenhe Aug 11, 2025
048bab4
Squashed 'folder_name/' content from commit c8f80cf
szoppelt Aug 13, 2025
b43a854
Merge commit '048bab4ab79b566884a4d854f108d55b60c70c9a' as 'folder_name'
szoppelt Aug 13, 2025
b20b292
Merge commit '048bab4ab79b566884a4d854f108d55b60c70c9a' as 'folder_name'
szoppelt Aug 13, 2025
18573f1
Squashed 'folder/' content from commit aefbefa
szoppelt Aug 13, 2025
adae6fa
Merge commit '18573f10275f89c901e19254eb2e9a01f23dba99' as 'folder'
szoppelt Aug 13, 2025
cdd860f
Merge commit '18573f10275f89c901e19254eb2e9a01f23dba99' as 'folder'
szoppelt Aug 13, 2025
654a351
Delete folder_name directory
szoppelt Aug 13, 2025
e19771a
Delete folder_name directory
szoppelt Aug 13, 2025
507211f
Rename folder_name to UAV_Propeller
szoppelt Aug 13, 2025
9150388
Rename folder_name to UAV_Propeller
szoppelt Aug 13, 2025
7150c1a
Rename folder to UAV_Propeller
szoppelt Aug 13, 2025
eb3ae0a
Rename folder to UAV_Propeller
szoppelt Aug 13, 2025
a829fe6
Merge branch 'main' of https://github.com/szoppelt/tutorials
szoppelt Aug 13, 2025
6d0dace
Merge branch 'main' of https://github.com/szoppelt/tutorials
szoppelt Aug 13, 2025
828890d
Delete UAV_Propeller/CGNSMesh directory
szoppelt Aug 13, 2025
8e51834
Delete UAV_Propeller/0_forward directory
szoppelt Aug 13, 2025
0559bbc
Delete UAV_Propeller/0_forward directory
szoppelt Aug 13, 2025
ecb5fca
Delete UAV_Propeller/folder directory
szoppelt Aug 13, 2025
503cb0c
Delete UAV_Propeller/folder directory
szoppelt Aug 13, 2025
3cfc0e0
Rename folder from 0_hover to 0
szoppelt Aug 13, 2025
02fe946
Rename folder from 0_hover to 0
szoppelt Aug 13, 2025
4999104
Merge branch 'main' of https://github.com/szoppelt/tutorials
szoppelt Aug 13, 2025
b85656d
Merge branch 'main' of https://github.com/szoppelt/tutorials
szoppelt Aug 13, 2025
9935b00
Create preProcessing.sh
szoppelt Aug 13, 2025
08202e0
Create preProcessing.sh
szoppelt Aug 13, 2025
53ff8bf
Update preProcessing.sh
szoppelt Aug 13, 2025
0c6c7fd
Update preProcessing.sh
szoppelt Aug 13, 2025
d451b82
Create genWingMesh.py
szoppelt Aug 13, 2025
053443f
Create genWingMesh.py
szoppelt Aug 13, 2025
dd805dc
Create Allclean.sh
szoppelt Aug 13, 2025
f1a88c2
Create Allclean.sh
szoppelt Aug 13, 2025
13bab70
Delete UAV_Propeller/constant/polyMesh directory
szoppelt Aug 13, 2025
60adcc0
Delete UAV_Propeller/constant/polyMesh directory
szoppelt Aug 13, 2025
383a494
Update preProcessing.sh
szoppelt Aug 13, 2025
a1c56dc
Update preProcessing.sh
szoppelt Aug 13, 2025
0989e17
Rename myJob.sh to preProcessing.sh
ChrisPsenica Aug 13, 2025
3623407
Rename myJob.sh to preProcessing.sh
ChrisPsenica Aug 13, 2025
04482ba
Update preProcessing.sh
szoppelt Aug 13, 2025
2aa828d
Update preProcessing.sh
szoppelt Aug 13, 2025
6479b05
Merge pull request #18 from ChrisPsenica/main
friedenhe Aug 13, 2025
a3684d3
Merge pull request #18 from ChrisPsenica/main
friedenhe Aug 13, 2025
fde935e
Renaming 0 to 0.orig
szoppelt Aug 13, 2025
08482f6
Renaming 0 to 0.orig
szoppelt Aug 13, 2025
08ef25c
Delete UAV_Propeller/deformSTL directory
szoppelt Aug 13, 2025
965fffd
Delete UAV_Propeller/deformSTL directory
szoppelt Aug 13, 2025
b6b2701
Delete UAV_Propeller/Multicase_Optimization directory
szoppelt Aug 13, 2025
600f865
Delete UAV_Propeller/myJob.sh
szoppelt Aug 13, 2025
5a70b34
Delete UAV_Propeller/myJob.sh
szoppelt Aug 13, 2025
99877ef
Delete UAV_Propeller/FFD directory
szoppelt Aug 13, 2025
dbb6fce
Delete UAV_Propeller/FFD directory
szoppelt Aug 13, 2025
fc83c63
Merge pull request #19 from szoppelt/main
friedenhe Aug 13, 2025
0458899
Merge pull request #19 from szoppelt/main
friedenhe Aug 13, 2025
5eceddf
Delete UAV_Propeller/genWingMesh.py
friedenhe Aug 13, 2025
8eb7a88
Delete UAV_Propeller/genWingMesh.py
friedenhe Aug 13, 2025
4542260
Update runScript_FI.py
zilonglicfd Aug 14, 2025
136b0f2
Update runScript_FI.py
zilonglicfd Aug 14, 2025
b3d11bb
Update preProcessing.sh
heyecanutke Aug 14, 2025
b168d41
Update preProcessing.sh
heyecanutke Aug 14, 2025
f4bbe89
Add files via upload
heyecanutke Aug 14, 2025
b955c2a
Add files via upload
heyecanutke Aug 14, 2025
ac9c399
Update blockMeshDict
heyecanutke Aug 14, 2025
c0edcd7
Update blockMeshDict
heyecanutke Aug 14, 2025
53ae4fa
Update controlDict
heyecanutke Aug 14, 2025
ea1295d
Update controlDict
heyecanutke Aug 14, 2025
e165be7
Update createPatchDict
heyecanutke Aug 14, 2025
862fac1
Update createPatchDict
heyecanutke Aug 14, 2025
817b821
Update fvSchemes
heyecanutke Aug 14, 2025
1cbdf5f
Update fvSchemes
heyecanutke Aug 14, 2025
bbc35cd
Add files via upload
heyecanutke Aug 14, 2025
0822ae2
Add files via upload
heyecanutke Aug 14, 2025
b42ff21
Add files via upload
heyecanutke Aug 14, 2025
e33165b
Add files via upload
heyecanutke Aug 14, 2025
3c0cfa0
Merge pull request #20 from zilonglicfd/patch-1
friedenhe Aug 14, 2025
0bb52b2
Merge pull request #20 from zilonglicfd/patch-1
friedenhe Aug 14, 2025
f3213d0
Delete Prowim_Wing_Propeller/constant/triSurface directory
heyecanutke Aug 14, 2025
ed925bf
Delete Prowim_Wing_Propeller/constant/triSurface directory
heyecanutke Aug 14, 2025
fba62aa
Add files via upload
heyecanutke Aug 14, 2025
5d4519a
Add files via upload
heyecanutke Aug 14, 2025
3dd9628
Update preProcessing.sh
heyecanutke Aug 14, 2025
fcfc9ee
Update preProcessing.sh
heyecanutke Aug 14, 2025
fedd67e
Merge branch 'DAFoam:main' into main
heyecanutke Aug 14, 2025
d358a8d
Merge branch 'DAFoam:main' into main
heyecanutke Aug 14, 2025
4fd973f
Delete Prowim_Wing_Propeller/constant/triSurface.tar.gz
heyecanutke Aug 14, 2025
b9cad55
Delete Prowim_Wing_Propeller/constant/triSurface.tar.gz
heyecanutke Aug 14, 2025
e6f2d63
Delete Prowim_Wing_Propeller/deformGeo.sh
heyecanutke Aug 14, 2025
88ad7c5
Delete Prowim_Wing_Propeller/deformGeo.sh
heyecanutke Aug 14, 2025
049596e
Delete Prowim_Wing_Propeller/genWingMesh.py
heyecanutke Aug 14, 2025
82eed71
Delete Prowim_Wing_Propeller/genWingMesh.py
heyecanutke Aug 14, 2025
080b1f1
Update preProcessing.sh
heyecanutke Aug 14, 2025
e9f79d2
Update preProcessing.sh
heyecanutke Aug 14, 2025
9607043
Merge pull request #21 from heyecanutke/main
friedenhe Aug 14, 2025
443f173
Merge pull request #21 from heyecanutke/main
friedenhe Aug 14, 2025
7b1f59b
Delete Prowim_Wing_Propeller/triSurface.tar.gz
friedenhe Aug 14, 2025
1e17059
Delete Prowim_Wing_Propeller/triSurface.tar.gz
friedenhe Aug 14, 2025
33b6dfe
Update preProcessing.sh
friedenhe Aug 14, 2025
5394db8
Update preProcessing.sh
friedenhe Aug 14, 2025
dd986f4
Deleted Structure.bdf for the UAV case.
friedenhe Aug 21, 2025
ec70ac9
Deleted Structure.bdf for the UAV case.
friedenhe Aug 21, 2025
913c85f
Added a supersonic cone case.
friedenhe Sep 7, 2025
dc5c095
Added the RAE2822 case with Hisa.
friedenhe Sep 7, 2025
62371a5
Merge branch 'main' of github.com:DAFoam/tutorials
friedenhe Sep 7, 2025
94df4f6
Updated the Cone case.
friedenhe Sep 12, 2025
16d7d32
Updated the Cone and RAE case.
friedenhe Sep 12, 2025
fbd35d1
Updated the Cone case.
friedenhe Sep 13, 2025
8df3a40
Updated the RAE case.
friedenhe Sep 13, 2025
88ae03e
Updating the runscript for the square CS UBend case to V4
Sep 20, 2025
c1a43cb
Merge pull request #22 from ChrisPsenica/main
friedenhe Sep 20, 2025
7e7a7e0
Replaced all meshWaveFrozen with meshWave. The latest DAFoam will aut…
friedenhe Sep 23, 2025
31f647a
Merge branch 'main' of github.com:DAFoam/tutorials
friedenhe Sep 23, 2025
b6928fb
Added a CHT topology optimization case.
friedenhe Oct 2, 2025
e86739c
Added a data-assimilation tutorial.
friedenhe Oct 2, 2025
2e87e4d
Updated the ramp DA case.
friedenhe Oct 2, 2025
e725855
Update preProcessing.sh
szoppelt Oct 21, 2025
601946c
Merge branch 'main' into main
friedenhe Oct 21, 2025
d4b7626
Merge pull request #24 from szoppelt/main
friedenhe Oct 21, 2025
078649d
Added NACA0012_DA
friedenhe Oct 21, 2025
671e186
Merge branch 'main' of github.com:DAFoam/tutorials
friedenhe Oct 21, 2025
6ae6d03
Added steady and unsteady DA.
friedenhe Nov 6, 2025
37b3c00
Changed outerI
friedenhe Nov 6, 2025
fa1a504
Updates.
friedenhe Nov 6, 2025
a8d7e70
Added RAE_2822_HISA
nmadison11 Nov 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 38 additions & 0 deletions .github/workflows/api_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: api_tests

on:
push:
pull_request:
schedule:
- cron: '59 23 * * *'

env:
REPO_NAME: 'tutorials'
DOCKER_WORKING_DIR: '/home/dafoamuser/dafoam/$REPO_NAME'
DOCKER_MOUNT_DIR: '/home/dafoamuser/mount/$REPO_NAME'
DOCKER_TAG: 'latest'
DOCKER_ENV_FILE: '/home/dafoamuser/dafoam/loadDAFoam.sh'

jobs:

reg_tests:
runs-on: ubuntu-20.04
name: Tests
strategy:
fail-fast: false
matrix:
testConfig: [v2, v3]
include:
- testConfig: v2
args: 'v2'
- testConfig: v3
args: 'v3'
steps:
- uses: actions/checkout@v3
- name: Create the docker container and run the tests
run: |
docker pull dafoam/opt-packages:${{env.DOCKER_TAG}}
docker run -i -d -u dafoamuser --name apitest -v $GITHUB_WORKSPACE:${{env.DOCKER_MOUNT_DIR}} dafoam/opt-packages:${{env.DOCKER_TAG}} /bin/bash
docker exec -i apitest /bin/bash -c "rm -rf ${{env.DOCKER_WORKING_DIR}} && cp -r ${{env.DOCKER_MOUNT_DIR}} ${{env.DOCKER_WORKING_DIR}}"
docker exec -i apitest /bin/bash -c ". ${{env.DOCKER_ENV_FILE}} && cd ${{env.DOCKER_WORKING_DIR}} && . .testAPI.sh ${{matrix.args}}"

42 changes: 0 additions & 42 deletions .github/workflows/reg_tests.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .runTests.sh

This file was deleted.

69 changes: 69 additions & 0 deletions .testAPI.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env bash

if [ -z "$WM_PROJECT" ]; then
echo "OpenFOAM environment not found, forgot to source the OpenFOAM bashrc?"
exit 1
fi

if [ -z "$1" ]; then
echo "Argument not found. Options: incompressible, compressible, and solid"
exit 1
else
argm="$1"
fi

case $argm in
"v2")
echo "Running incompressible tests"
find */runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
find */*/runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
find */*/*/runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
cd 30N30P_MultiElement_Airfoil && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd CRM_Wing && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd DPW4_Aircraft && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd JBC_Hull && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && echo y | ./Allclean.sh && sed -i 's/SpalartAllmaras/kOmegaSST/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && echo y | ./Allclean.sh && sed -i 's/kOmegaSST/kEpsilon/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/subsonic && echo y | ./Allclean.sh && sed -i 's/SpalartAllmaras/kOmegaSST/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/subsonic && echo y | ./Allclean.sh && sed -i 's/kOmegaSST/kEpsilon/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/multipoint && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd NREL6_Wind_Turbine && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd Onera_M6_Wing && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd PeriodicHill_FieldInversion && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd pitzDaily && ./preProcessing.sh && python runScript_v2.py --task=runPrimal --opt=ipopt && cd - || exit 1
cd PlateHole_Structure && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd Prowim_Wing_Propeller && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd Rotor37_Compressor && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd UBend_Channel && ./preProcessing.sh && python runScript_v2.py --task=runPrimal && cd - || exit 1
cd Ramp/unsteady/train && ./preProcessing.sh && python runScript.py --task=runPrimal && cd - || exit 1
;;
"v3")
echo "Running compressible tests"
find */runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
find */*/runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
find */*/*/runScript* -type f -exec sed -i '/"primalMinResTol":/c\ "primalMinResTol": 0.9,' {} \;
cd 30N30P_MultiElement_Airfoil && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd ADODG3_Wing && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd CRM_Wing && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd MACH_Tutorial_Wing && ./preProcessing.sh && python runScript_Aero.py -task=runPrimal && cd - || exit 1
cd MACH_Tutorial_Wing && python runScript_AeroStruct.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && echo y | ./Allclean.sh && sed -i 's/SpalartAllmaras/kOmegaSST/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && echo y | ./Allclean.sh && sed -i 's/kOmegaSST/kEpsilon/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/incompressible && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/subsonic && echo y | ./Allclean.sh && sed -i 's/SpalartAllmaras/kOmegaSST/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/subsonic && echo y | ./Allclean.sh && sed -i 's/kOmegaSST/kEpsilon/g' constant/turbulenceProperties && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/multipoint && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd NACA0012_Airfoil/multicase && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd PeriodicHill_FieldInversion && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd Rotor37_Compressor && ./preProcessing.sh && python runScript.py -task=runPrimal && cd - || exit 1
cd Ramp/steady/train && ./preProcessing.sh && python runScript_FIML.py -task=runPrimal && cd - || exit 1
;;
*)
echo "Argument not valid! Options are: v2, v3"
echo "Example: . .testAPI.sh v2"
exit 1
;;
esac
64 changes: 0 additions & 64 deletions .travis_backup.yml

This file was deleted.

Loading