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

Fix CylinderMesh.call_fsiTurbine_mapLoads unit test #1279

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion reg_tests/CTestList.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ if(NOT ENABLE_CUDA AND NOT ENABLE_ROCM)
add_test_r(multiElemCylinder 4)
endif()

if(ENABLE_OPENFAST AND ENABLE_TRILINOS_SOLVERS)
if(ENABLE_OPENFAST AND ENABLE_HYPRE)
add_test_r(nrel5MWactuatorLine 4)
add_test_r(nrel5MWactuatorLineAnisoGauss 4)
add_test_r(nrel5MWactuatorLineFllc 4)
Expand Down
18 changes: 8 additions & 10 deletions reg_tests/test_files/nrel5MWactuatorDisk/nrel5MWactuatorDisk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ Simulations:
linear_solvers:

- name: solve_scalar
type: tpetra
method: gmres
preconditioner: sgs
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0

- name: solve_cont
type: tpetra
method: gmres
preconditioner: muelu
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0
muelu_xml_file_name: ../../xml/milestone.xml
summarize_muelu_timer: no

realms:

Expand Down
18 changes: 8 additions & 10 deletions reg_tests/test_files/nrel5MWactuatorLine/nrel5MWactuatorLine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ Simulations:
linear_solvers:

- name: solve_scalar
type: tpetra
method: gmres
preconditioner: mt_sgs
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-12
max_iterations: 200
kspace: 50
kspace: 5
output_level: 0

- name: solve_cont
type: tpetra
method: gmres
preconditioner: muelu
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-12
max_iterations: 200
kspace: 50
kspace: 5
output_level: 0
muelu_xml_file_name: ../../xml/milestone.xml
summarize_muelu_timer: no

realms:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ Simulations:
linear_solvers:

- name: solve_scalar
type: tpetra
method: gmres
preconditioner: sgs
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0

- name: solve_cont
type: tpetra
method: gmres
preconditioner: muelu
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0
muelu_xml_file_name: ../../xml/milestone.xml
summarize_muelu_timer: no

realms:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ Simulations:
linear_solvers:

- name: solve_scalar
type: tpetra
method: gmres
preconditioner: sgs
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0

- name: solve_cont
type: tpetra
method: gmres
preconditioner: muelu
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0
muelu_xml_file_name: ../../xml/milestone.xml
summarize_muelu_timer: no

realms:

Expand Down
18 changes: 8 additions & 10 deletions reg_tests/test_files/nrel5MWadvActLine/nrel5MWadvActLine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,22 @@ Simulations:
linear_solvers:

- name: solve_scalar
type: tpetra
method: gmres
preconditioner: sgs
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0

- name: solve_cont
type: tpetra
method: gmres
preconditioner: muelu
type: hypre
method: hypre_gmres
preconditioner: boomerAMG
tolerance: 1e-5
max_iterations: 50
kspace: 50
kspace: 5
output_level: 0
muelu_xml_file_name: ../../xml/milestone.xml
summarize_muelu_timer: no

realms:

Expand Down
6 changes: 3 additions & 3 deletions unit_tests/aero/UnitTestFSIturbine.C
Original file line number Diff line number Diff line change
Expand Up @@ -266,11 +266,11 @@ TEST_F(CylinderMesh, call_fsiTurbine_mapLoads)
EXPECT_TRUE(fsiTurb != nullptr);
fast::turbineDataType& params = fsiTurb->params_;

EXPECT_EQ(0, params.nBRfsiPtsTwr);
EXPECT_EQ(0, params.numBlades);

const unsigned numNodes = set_tower_ref_pos(*bulk, *fsiTurb);

EXPECT_EQ(21, params.nBRfsiPtsTwr);
EXPECT_EQ(0, params.numBlades);

verify_all_zeros(*bulk, *loadMap_);
verify_all_zeros(*bulk, *loadMapInterp_);

Expand Down
Loading