.. _RegressionTests: Regression Tests ================ There are currently 26 tests which are run as part of every PR. The CI tests use cmake and are based on the version of AMReX in the ERF submodule. In addition there are nightly tests that use GNUMake and use the current development branch of AMReX. Results from the nightly CPU tests can be found here: `CPU tests`_ Results from the nightly GPU tests can be found here: `GPU tests`_ .. _`CPU tests`: https://ccse.lbl.gov/pub/RegressionTesting1/ERF .. _`GPU tests`: https://ccse.lbl.gov/pub/GpuRegressionTesting/ERF The following problems are currently tested in the CI: +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | Test | nx ny nz | xbc | ybc | zbc | Ext | Other | +===============================+==========+==========+==========+============+=======+=================================+ | Bubble_Density_Current | 256 4 64 | Symmetry | Periodic | SlipWall | None | moist bubble | | | | Outflow | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | CouetteFlow_x | 32 4 16 | Periodic | Periodic | NoSlipWall | None | inhomogeneous | | | | | | NoSlipWall | | bc at zhi (u = 2) | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | CouetteFlow_y | 4 32 16 | Periodic | Periodic | NoSlipWall | None | inhomogeneous | | | | | | NoSlipWall | | bc at zhi (v = 2) | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_detJ2 | 256 4 64 | Symmetry | Periodic | SlipWall | None | terrain_type = StaticFittedMesh | | | | Outflow | | SlipWall | | uses zlevels | | | | Outflow | | SlipWall | | detJ = 2 everywhere | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_detJ2_nosub | 256 4 64 | Symmetry | Periodic | SlipWall | None | terrain_type = StaticFittedMesh | | | | Outflow | | SlipWall | | uses zlevels | | | | | | | | detJ = 2 everywhere | | | | | | | | no substepping | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_detJ2_MT | 256 4 64 | Symmetry | Periodic | SlipWall | None | terrain_type = MovingFittedMesh | | | | Outflow | | SlipWall | | uses zlevels | | | | Outflow | | SlipWall | | detJ = 2 everywhere | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | EkmanSpiral | 4 4 400 | Periodic | Periodic | NoSlipWall | Geo | +Coriolis | | | | | | SlipWall | | +gravity | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | IsentropicVortexAdvecting | 48 48 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | IsentropicVortexStationary | 48 48 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | MSF_NoSub_IsentropicVortexAdv | 48 48 4 | Periodic | Periodic | SlipWall | None | tests map factors | | | | | | SlipWall | | without substepping | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | MSF_Sub_IsentropicVortexAdv | 48 48 4 | Periodic | Periodic | SlipWall | None | tests map factors | | | | | | SlipWall | | with substepping | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | PoiseuilleFlow_x | 32 4 16 | Periodic | Periodic | NoSlipWall | GradP | | | | | | | NoSlipWall | in x | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | PoiseuilleFlow_y | 4 32 16 | Periodic | Periodic | NoSlipWall | GradP | | | | | | | NoSlipWall | in y | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | RayleighDamping | 64 4 64 | Periodic | Periodic | SlipWall | None | Rayleigh damping | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvectionUniformU | 64 64 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvectionShearedU | 64 4 64 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiff_order2 | 32 32 32 | Periodic | Periodic | SlipWall | None | advection + diffusion | | | | | | SlipWall | | "Centered_2nd" | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiff_order3 | 32 32 32 | Periodic | Periodic | SlipWall | None | advection + diffusion | | | | | | SlipWall | | "Upwind_3rd" | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiff_order4 | 32 32 32 | Periodic | Periodic | SlipWall | None | advection + diffusion | | | | | | SlipWall | | "Centered_4th" | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiff_order5 | 32 32 32 | Periodic | Periodic | SlipWall | None | advection + diffusion | | | | | | SlipWall | | "Upwind_5th" | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiff_order6 | 32 32 32 | Periodic | Periodic | SlipWall | None | advection + diffusion | | | | | | SlipWall | | "Centered_6th" | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarDiffusionGaussian | 16 16 16 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ScalarDiffusionSine | 16 16 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | TaylorGreenAdvecting | 16 16 16 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | TaylorGreenAdvectingDiffusing | 16 16 16 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ParticleAdvect_AMR1_box | 128 4 32 | Inflow | Periodic | SlipWall | None | particle advection, 1 AMR level | | | | Outflow | | SlipWall | | static box tagging, partial z | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ParticleAdvect_AMR1_pcount | 128 4 32 | Inflow | Periodic | SlipWall | None | particle advection, 1 AMR level | | | | Outflow | | SlipWall | | particle-count tagging | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ | ParticleAdvect_AMR2_pcount | 128 4 32 | Inflow | Periodic | SlipWall | None | particle advection, 2 AMR levels| | | | Outflow | | SlipWall | | particle-count tagging | +-------------------------------+----------+----------+----------+------------+-------+---------------------------------+ while the following tests are run nightly: +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | Test | nx ny nz | xbc | ybc | zbc | Ext | Other | +===============================+=============+==========+==========+============+=======+=================================+ | ABL-Deardorff | 64 64 64 | Periodic | Periodic | NoSlipWall | None | LES | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-Deardorff-OMP | 64 64 64 | Periodic | Periodic | NoSlipWall | None | LES | | | | | | SlipWall | | uses OpenMP | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-MOST | 64 64 64 | Periodic | Periodic | SurfLay | None | LES with MOST bc | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-MOST-OMP | 64 64 64 | Periodic | Periodic | SurfLay | None | LES with MOST bc | | | | | | SlipWall | | uses OpenMP | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-MYNN | 2 2 64 | Periodic | Periodic | SurfLay | None | MYNN2.5 Model | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-Smag | 64 64 64 | Periodic | Periodic | NoSlipWall | None | LES | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ABL-Smag-OMP | 64 64 64 | Periodic | Periodic | NoSlipWall | None | LES | | | | | | SlipWall | | uses OpenMP | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | Bomex | 32 32 100 | Periodic | Periodic | SurfLay | None | Kessler_NoRain | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | Bubble_Kessler | 100 4 100 | SlipWall | Periodic | SlipWall | None | Kessler | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | Bubble_Kessler_NoRain | 200 4 100 | SlipWall | Periodic | SlipWall | None | Kessler_NoRain | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent-OMP | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | uses OpenMP | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_Terrain | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | terrain_type = StaticFittedMesh | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_Terrain-OMP | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | terrain_type = StaticFittedMesh | | | | Outflow | | SlipWall | | uses OpenMP | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_anelastic | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | anelastic | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | DensityCurrent_detJ2 | 256 4 64 | Symmetry | Periodic | SlipWall | None | +gravity | | | | Outflow | | SlipWall | | uses z_levels | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | EkmanSpiral_custom | 12 10 400 | Periodic | Periodic | NoSlipWall | Geo | custom init | | | | | | SlipWall | Cor | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | EkmanSpiral_ideal | 12 10 400 | Periodic | Periodic | NoSlipWall | Geo | init from ideal | | | | | | SlipWall | Cor | wrfinput file | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | EkmanSpiral_input_sounding | 4 4 400 | Periodic | Periodic | NoSlipWall | Geo | init from | | | | | | SlipWall | Cor | input_sounding | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | EkmanSpiral_restart | 4 4 400 | Periodic | Periodic | NoSlipWall | Geo | restart test | | | | | | SlipWall | Cor | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | IsentropicVortexAdvecting | 48 48 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | IsentropicVortexStationary | 48 48 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | MetGrid | 140 80 100 | Outflow | Outflow | SurfLay | None | init from | | | | | | SlipWall | | metgrid file | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | MovingTerrain_nosub | 40 8 79 | Periodic | Periodic | SlipWall | None | terrain_type = MovingFittedMesh | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ParticlesOverWoA | 256 8 64 | Inflow | Periodic | SlipWall | None | particle | | | | Outflow | | SlipWall | | advection | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvecDiffDoubleDen | 32 32 32 | Periodic | Periodic | SlipWall | None | Density = 2 | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvDiffInflowOutflow | 32 32 32 | Inflow | Periodic | SlipWall | None | | | | | Outflow | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvecDiffUniformU | 32 32 32 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvecUniformU | 64 64 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvecShearedU | 64 4 64 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarAdvecUniformU | 64 64 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarDiffusion | 64 64 64 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | ScalarDiffusionSine | 64 64 4 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | TaylorGreenAdvecting | 64 64 64 | Periodic | Periodic | SlipWall | None | | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | TaylorGreenAdvDiffDoubleDen | 64 64 64 | Periodic | Periodic | SlipWall | None | Density = 2 | | | | | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | TurbulentInflow | 64 16 32 | Inflow | Periodic | SurfLay | None | LES | | | | Outflow | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | TurbulentInflow_anelastic | 64 16 32 | Inflow | Periodic | SurfLay | None | LES | | | | Outflow | | SlipWall | | | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | WPS_Test_Terrain | 200 200 176 | wrfbdy | wrfbdy | NoSlipWall | None | init from | | | | wrfbdy | wrfbdy | SlipWall | | wrfinput | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | WPS_Test_Terrain-OMP | 200 200 176 | wrfbdy | wrfbdy | NoSlipWall | None | init from | | | | wrfbdy | wrfbdy | SlipWall | | wrfinput | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ | WPS_Test_restart | 200 200 176 | wrfbdy | wrfbdy | NoSlipWall | None | init from | | | | wrfbdy | wrfbdy | SlipWall | | wrfinput | +-------------------------------+-------------+----------+----------+------------+-------+---------------------------------+ More details about the CI tests are given below. Scalar Advection by Uniform Flow in XY Plane ------------------------------------------------ This tests scalar advection with periodic boundaries in the lateral directions and slip walls at low and high z. Test Location: `Tests/test_files/ScalarAdvectionUniformU`_ .. _`Tests/test_files/ScalarAdvectionUniformU`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/ScalarAdvectionUniformU Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff .. |a2| image:: figures/tests/scalar_advec_uniform_u_start.png :width: 200 .. |b2| image:: figures/tests/scalar_advec_uniform_u_end.png :width: 200 .. _fig:scalar_advection_uniform_u: .. table:: X-Y slice of a 2-d cylindrical blob in a uniform velocity field (10,5,0) +-----------------------------------------------------+------------------------------------------------------+ | |a2| | |b2| | +-----------------------------------------------------+------------------------------------------------------+ | Scalar concentration at t=0. | Scalar concentration at 20 steps. | +-----------------------------------------------------+------------------------------------------------------+ Scalar Advection by Sheared Flow ------------------------------------------------ This tests scalar advection with periodic boundaries in the lateral directions and slip walls at low and high z. Test Location: `Tests/test_files/ScalarAdvectionShearedU`_ .. _`Tests/test_files/ScalarAdvectionShearedU`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/ScalarAdvectionShearedU Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff .. |a3| image:: figures/tests/scalar_advec_sheared_u_start.png :width: 200 .. |b3| image:: figures/tests/scalar_advec_sheared_u_end.png :width: 200 .. _fig:scalar_advection_sheared_u: .. table:: X-Z slice of a 2-d cylindrical blob in a uniform shearing velocity field (8 log( (z+z0)/z0 ) / log ( (zref+z0)/z0 ) with z0 = 0.1 and zref = 80 in a triply periodic domain 8x8x8 +-----------------------------------------------------+------------------------------------------------------+ | |a3| | |b3| | +-----------------------------------------------------+------------------------------------------------------+ | Scalar concentration at t=0. | Scalar concentration at 80 steps | +-----------------------------------------------------+------------------------------------------------------+ Scalar Diffusion: Sphere of Scalar ------------------------------------------------ This tests scalar diffusion with periodic boundaries in the lateral directions and slip walls at low and high z. Test Location: `Tests/test_files/ScalarDiffusionGaussian`_ .. _`Tests/test_files/ScalarDiffusionGaussian`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/ScalarDiffusionGaussian Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff .. |a5| image:: figures/tests/scalar_diff_start.png :width: 300 .. |b5| image:: figures/tests/scalar_diff_end.png :width: 300 .. _fig:scalar_diffusion_gaussian: .. table:: Diffusion of a spherical blob of scalar +-----------------------------------------------------+------------------------------------------------------+ | |a5| | |b5| | +-----------------------------------------------------+------------------------------------------------------+ | Scalar concentration at t=0. | Scalar concentration at 20 steps (t = 0.01). | +-----------------------------------------------------+------------------------------------------------------+ Scalar Diffusion: Sinusoidal Variation of Scalar ------------------------------------------------ This tests scalar diffusion with periodic boundaries in the lateral directions and slip walls at low and high z. Test Location: `Tests/test_files/ScalarDiffusionSine`_ .. _`Tests/test_files/ScalarDiffusionSine`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/ScalarDiffusionSine Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff .. |a6| image:: figures/tests/scalar_diff_sine_start.png :width: 300 .. |b6| image:: figures/tests/scalar_diff_sine_end.png :width: 300 .. _fig:scalar_diffusion_sine: .. table:: Diffusion of a scalar initialized as sin(x) +-----------------------------------------------------+------------------------------------------------------+ | |a6| | |b6| | +-----------------------------------------------------+------------------------------------------------------+ | Scalar concentration at t=0. | Scalar concentration at 20 steps (t = 0.2). | +-----------------------------------------------------+------------------------------------------------------+ Scalar Advection/Diffusion by Uniform Flow With Different Spatial Orders ------------------------------------------------------------------------ This tests scalar advection and diffusion with periodic boundaries in the lateral directions and slip walls at low and high z. Test Location (for 2nd order): `Tests/test_files/ScalarAdvDiff_order2`_ .. _`Tests/test_files/ScalarAdvDiff_order2`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/ScalarAdvDiff_order2 Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff .. |a7| image:: figures/tests/scalar_advec_diff_start.png :width: 300 .. |b7| image:: figures/tests/scalar_advec_diff_end.png :width: 300 .. _fig:scalar_diffusion_uniform: .. table:: Advection and diffusion of a spherical blob in a uniform velocity field (100,0,0) +-----------------------------------------------------+------------------------------------------------------+ | |a7| | |b7| | +-----------------------------------------------------+------------------------------------------------------+ | Scalar concentration at t=0. | Scalar concentration at 20 steps (t = 0.01). | +-----------------------------------------------------+------------------------------------------------------+ Rayleigh Damping ---------------- This tests Rayleigh damping. The problem is initialized as in the shear flow case, then Rayleigh damping is applied with a target mean profile of (2,1,0). Test Location: `Tests/test_files/RayleighDamping`_ .. _`Tests/test_files/RayleighDamping`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/RayleighDamping Problem Location: `Exec/RegTests/ScalarAdvDiff`_ .. _`Exec/RegTests/ScalarAdvDiff`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/ScalarAdvDiff Isentropic Vortex: Stationary ----------------------------- This tests advection of an isentropic vortex with triply periodic boundaries. Test Location: `Tests/test_files/IsentropicVortexStationary`_ .. _`Tests/test_files/IsentropicVortexStationary`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/IsentropicVortexStationary Problem Location: `Exec/RegTests/IsentropicVortex`_ .. _`Exec/RegTests/IsentropicVortex`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/IsentropicVortex Isentropic Vortex: Advecting ---------------------------- This tests advection of an isentropic vortex with triply periodic boundaries. Test Location: `Tests/test_files/IsentropicVortexAdvecting`_ .. _`Tests/test_files/IsentropicVortexAdvecting`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/IsentropicVortexAdvecting Problem Location: `Exec/RegTests/IsentropicVortex`_ .. _`Exec/RegTests/IsentropicVortex`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/IsentropicVortex Taylor Green Vortex: Advection ------------------------------------------------ This tests advection and diffusion with triply periodic boundaries. Test Location: `Tests/test_files/TaylorGreenAdvecting`_ .. _`Tests/test_files/TaylorGreenAdvecting`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/TaylorGreenAdvecting Problem Location: `Exec/RegTests/TaylorGreenVortex`_ .. _`Exec/RegTests/TaylorGreenVortex`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/TaylorGreenVortex Taylor Green Vortex: Advection and Diffusion ------------------------------------------------ This tests advection and diffusion with triply periodic boundaries. Test Location: `Tests/test_files/TaylorGreenAdvectingDiffusing`_ .. _`Tests/test_files/TaylorGreenAdvectingDiffusing`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/TaylorGreenAdvectingDiffusing Problem Location: `Exec/RegTests/TaylorGreenVortex`_ .. _`Exec/RegTests/TaylorGreenVortex`: https://github.com/erf-model/ERF/tree/development/Exec/RegTests/TaylorGreenVortex .. |a8| image:: figures/tests/TGV_start.png :width: 300 .. |b8| image:: figures/tests/TGV_end.png :width: 300 .. _fig:taylor_green_vortex: .. table:: Scalar concentration +-----------------------------------------------------+------------------------------------------------------+ | |a8| | |b8| | +-----------------------------------------------------+------------------------------------------------------+ | Flow field at t=0. | Flow field at 10 steps (t = 1.6). | +-----------------------------------------------------+------------------------------------------------------+ Couette Flow (x-direction) --------------------------- This tests Couette flow in a channel. The domain is periodic in the x- and y-directions, and has NoSlipWall bc's on the low-z and high-z faces. At the high-z boundary the velocity is specified to be :math:`U = (2,0,0)`. The steady solution for this problem is :math:`U = (z/8,0,0)` in the domain which is 16 units high in z. Test Location: `Tests/test_files/CouetteFlow_x`_ .. _`Tests/test_files/CouetteFlow_x`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/CouetteFlow_x Problem Location: ``Exec/RegTests/Couette_Poiseuille`` Couette Flow (y-direction) --------------------------- This tests Couette flow in a channel. The domain is periodic in the x- and y-directions, and has NoSlipWall bc's on the low-z and high-z faces. At the high-z boundary the velocity is specified to be :math:`U = (0,2,0)`. The steady solution for this problem is :math:`U = (0,z/8,0)` in the domain which is 16 units high in z. Test Location: `Tests/test_files/CouetteFlow_y`_ .. _`Tests/test_files/CouetteFlow_y`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/CouetteFlow_y Problem Location: ``Exec/RegTests/Couette_Poiseuille`` Poiseuille Flow (x-direction) ----------------------------- This tests Poiseuille flow in a channel. The domain is periodic in the x- and y-directions, and has NoSlipWall bc's on the low-z and high-z faces. We initialize the solution with the steady parabolic profile :math:`U = (1-z^2,0,0)` in the domain which runs from -1. to 1. in z. The viscosity is specified to be 0.1 and the imposed pressure gradient is :math:`Gp = (-0.2,0,0)`. Test Location: `Tests/test_files/PoiseuilleFlow_x`_ .. _`Tests/test_files/PoiseuilleFlow_x`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/PoiseuilleFlow_x Problem Location: ``Exec/RegTests/Couette_Poiseuille`` Poiseuille Flow (y-direction) ----------------------------- This tests Poiseuille flow in a channel. The domain is periodic in the x- and y-directions, and has NoSlipWall bc's on the low-z and high-z faces. We initialize the solution with the steady parabolic profile :math:`U = (0,1-z^2,0)` in the domain which runs from -1. to 1. in z. The viscosity is specified to be 0.1 and the imposed pressure gradient is :math:`Gp = (0,-0.2,0)`. Test Location: `Tests/test_files/PoiseuilleFlow_y`_ .. _`Tests/test_files/PoiseuilleFlow_y`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/PoiseuilleFlow_y Problem Location: ``Exec/RegTests/Couette_Poiseuille`` Nonlinear Density Current --------------------------- The density current problem tests the effects of gravity and the behavior at a slip wall. See :ref:`sec:Verification` for more information. Test Location: `Tests/test_files/DensityCurrent`_ .. _`Tests/test_files/DensityCurrent`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/DensityCurrent Problem Location: ``Exec/CanonicalTests/DensityCurrent`` .. _`Exec/CanonicalTests/DensityCurrent`: https://github.com/erf-model/ERF/tree/development/Exec/CanonicalTests/DensityCurrent Ekman Spiral --------------------------- The Ekman spiral problem tests the computation of the stress term internally and at no-slip walls, as well as Coriolis and geostrophic forcing. See :ref:`sec:Verification` for more information. Test Location: `Tests/test_files/EkmanSpiral`_ .. _`Tests/test_files/EkmanSpiral`: https://github.com/erf-model/ERF/tree/development/Tests/test_files/EkmanSpiral Problem Location: `Exec/CanonicalTests/EkmanSpiral`_ .. _`Exec/CanonicalTests/EkmanSpiral`: https://github.com/erf-model/ERF/tree/development/Exec/CanonicalTests/EkmanSpiral