Skip to content
Snippets Groups Projects
Commit caee9d15 authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[rans][komega] Add test

parent 6101f019
No related branches found
No related tags found
1 merge request!1027Freeflow/komega
......@@ -72,7 +72,7 @@ class KOmegaProblem : public RANSProblem<TypeTag>
public:
KOmegaProblem(std::shared_ptr<const FVGridGeometry> fvGridGeometry) : ParentType(fvGridGeometry)
{
useStoredEddyViscosity_ = getParamFromGroup<bool>(this->paramGroup(), "RANS.UseStoredEddyViscosity", true);
useStoredEddyViscosity_ = getParamFromGroup<bool>(this->paramGroup(), "RANS.UseStoredEddyViscosity", false);
}
/*!
......
......@@ -32,7 +32,14 @@ dune_add_test(NAME test_pipe_laufer_lowrekepsilon
--command "${CMAKE_CURRENT_BINARY_DIR}/test_pipe_laufer_lowrekepsilon test_pipe_laufer_reference.input")
target_compile_definitions(test_pipe_laufer_lowrekepsilon PUBLIC "LOWREKEPSILON=1")
add_executable(test_pipe_laufer_komega EXCLUDE_FROM_ALL test_pipe_laufer.cc)
dune_add_test(NAME test_pipe_laufer_komega
SOURCES test_pipe_laufer.cc
CMAKE_GUARD HAVE_UMFPACK
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/pipe_laufer_komega.vtu
${CMAKE_CURRENT_BINARY_DIR}/pipe_laufer_reference-00056.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_pipe_laufer_komega test_pipe_laufer_reference.input")
target_compile_definitions(test_pipe_laufer_komega PUBLIC "KOMEGA=1")
dune_add_test(NAME test_pipe_zeroeqni
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment