This folder contains all the necessary files to test Xcompact3d on most of the canonical test cases included into the code. Generally the tests run for up to 500 time steps and they can be broadly divided into:
- Functional tests to verify that a specific test case reach conclusion without diverging
- Verification tests where the solution is compared to a reference dataset
At current stage, all tests belong to category (1) with the exception of the Taylor-Green-Vortex (TGV), where the time evolution of
some averaged quatities is compared with reference values.
More detials about the TGV comparison is given here
In all cases the run of the tests, done via mpirun, and the eventual comparison, performed via python3, is instantiated within CTest.
The full lists of the test performed is:
- Atmospheric Boundary layer (ABL) in neutral conditions (new set-up)
- Differentially heated cavity
- Turbulent Channel Flow with X as streamwise direction
- Turbulent Channel Flow with Z as streamwise direction
- Flow around a circular cylinder
- Flow around a moving circular cylinder
- Lock exchange
- Mixing Layer
- Periodic hill
- Turbulent Boundary Layer (TBL)
- Wind Turbine
- Taylor Green Vortex (TGV)
By default only the TGV case is activated, while the full
testing suite needs to be enable by using the BUILD_TESTING_FULL flag as
$ cmake --build $path_to_build_directory -DBUILD_TESTING_FULL=ON
or by using ccmake.
The tests are performed using CTest as
$ ctest --test-dir $path_to_build_directory
Every test is performed in a dedicated working directory that is located under the following path
$ /path/to/build/RunTests
All standard outputs from all test runs are collated under the file
$ /path/to/build/Testing/Temporary/LastTest.log
together with additional files detailing additional informations such as the elapse time for the different tests and the eventual failed cases.