Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buoyant foam example tests #10

Merged
merged 16 commits into from
Feb 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Convert buoyantFoam tests to Exodiff tests
Use different reference meshes for the serial and parallel tests, as
OpenFOAM gives different answers.

Relax the tolerance on the parallel test. This is OK for now, as we are
planning to move away from setting values by node anyway.
  • Loading branch information
hsaunders1904 committed Feb 8, 2024
commit 7d5a066a4e1d1d55d23ab73f1495002602a03cfb
2 changes: 0 additions & 2 deletions test/tests/buoyantFoam/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,3 @@

# Files for displaying OpenFOAM meshes in paraview
**/buoyantCavity/*.foam

!reference_mesh.e
Binary file not shown.
11 changes: 3 additions & 8 deletions test/tests/buoyantFoam/buoyantFoam_par/tests
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
[Tests]
[test]
[run]
type=RunCommand
type=Exodiff
exodiff = 'run_out.e'
command = './run.sh ../../../../hippo-opt'
group='buoyantFoam'
tags='parallel'
[]
[verify]
type=RunCommand
command = '../scripts/check.sh run_out.e ../reference_mesh.e'
prereq=test/run
group='buoyantFoam'
tags='parallel'
rel_err = 5e-3
[]
[]
[]
10 changes: 2 additions & 8 deletions test/tests/buoyantFoam/buoyantFoam_serial/tests
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
[Tests]
[test]
[run]
type=RunCommand
type=Exodiff
exodiff = 'run_out.e'
command = './run.sh ../../../../hippo-opt'
group='buoyantFoam'
tags='serial'
[]
[verify]
type=RunCommand
command = '../scripts/check.sh run_out.e ../reference_mesh.e'
prereq=test/run
group='buoyantFoam'
tags='serial'
[]
[]
[]
29 changes: 0 additions & 29 deletions test/tests/buoyantFoam/scripts/check.sh

This file was deleted.

Loading