erdc / air-water-vv

Verification and validation tests for computational models of air/water flow
MIT License
5 stars 14 forks source link

Make air-water-vv tests compatible with python3 #233

Closed zhang-alvin closed 4 years ago

zhang-alvin commented 4 years ago

PR to fix syntax in air-water-vv tests after migration to python3 and transition of cases to using TwoPhaseFlow app.

The tests are largely syntax/integration tests with no reference value for comparison.

This replaces #232 (forgot that was started).

zhang-alvin commented 4 years ago
[gw0] [ 16%] PASSED air-water-vv/Tests/1st_set/test_crump_weir.py::TestCrumpWeirTetgen::test_run 
[gw0] [ 33%] PASSED air-water-vv/Tests/1st_set/test_dambreak_Colagrossi.py::TestDambreakCollagrossiTetgen::test_run 
[gw0] [ 50%] PASSED air-water-vv/Tests/1st_set/test_dambreak_Ubbink.py::TestDambreakUbbinkTetgen::test_run 
[gw0] [ 66%] PASSED air-water-vv/Tests/1st_set/test_floating2D_BD.py::TestFloatingCaissonBDTetgen::test_run 
[gw0] [ 83%] PASSED air-water-vv/Tests/1st_set/test_linearWaves.py::TestLinearWavesTetgen::test_run 
[gw0] [100%] PASSED air-water-vv/Tests/1st_set/test_nonlinearWaves.py::TestNonLinearWavesTetgen::test_run 

================================================================================= 6 passed in 106.87 seconds ===============
[gw0] [ 14%] PASSED air-water-vv/Tests/2nd_set/test_oscillating_cylinder.py::TestOscillatingCylinderTetgen::test_run 
[gw0] [ 28%] PASSED air-water-vv/Tests/2nd_set/test_quiescent_water.py::TestQuiescentWaterTetgen::test_run 
[gw0] [ 42%] PASSED air-water-vv/Tests/2nd_set/test_randomWaves.py::TestRandomWavesTetgen::test_run 
[gw0] [ 57%] PASSED air-water-vv/Tests/2nd_set/test_sliding_CB.py::TestSlidingCaissonTetgen::test_run 
[gw0] [ 71%] PASSED air-water-vv/Tests/2nd_set/test_sluice_gate.py::TestSluiceGateTetgen::test_run 
[gw0] [ 85%] PASSED air-water-vv/Tests/2nd_set/test_standingWaves.py::TestStandingWavesTetgen::test_run 
[gw0] [100%] PASSED air-water-vv/Tests/2nd_set/test_wavesloshing.py::TestWaveSloshingTetgen::test_run 

================================================================================= 7 passed in 149.58 seconds =========