PlasCom2  1.0
XPACC Multi-physics simluation application
TestViscousRHS.C File Reference
#include "Testing.H"
#include "Simulation.H"
#include "RKTestFixtures.H"
#include "EulerRHS.H"
#include "Stencil.H"
#include "PCPPCommUtil.H"
#include "PCPPReport.H"
#include "PCPPIntervalUtils.H"
#include "TestFixtures.H"
#include "ViscidTestFixtures.H"
#include "EulerTestFixtures.H"
#include "EulerUtil.H"
#include "ViscidUtil.H"
#include <iomanip>
Include dependency graph for TestViscousRHS.C:

Go to the source code of this file.

Typedefs

typedef simulation::state::base state_t
 

Functions

void TestViscidKernels (ix::test::results &serialUnitResults)
 
void TestViscidKernelsMetrics (ix::test::results &serialUnitResults)
 Tests viscid kernels on uniform grid using all metric types. More...
 
void TestVelocityGradient (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestVelocityGradientPeriodic (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestViscidRHS (ix::test::results &parallelUnitResults, pcpp::CommunicatorType &testComm)
 
void TestViscidKernelsCurvilinear (ix::test::results &serialUnitResults)
 Tests viscid kernels with full curvilinear metrics. More...
 

Typedef Documentation

◆ state_t

Definition at line 18 of file TestViscousRHS.C.

Function Documentation

◆ TestVelocityGradient()

◆ TestVelocityGradientPeriodic()

◆ TestViscidKernels()

◆ TestViscidKernelsCurvilinear()

void TestViscidKernelsCurvilinear ( ix::test::results serialUnitResults)

Tests viscid kernels with full curvilinear metrics.

This test exercises the viscid kernels with full curvilinear metrics with (contrived) non-zero data in all terms of all quantities. The exact expected is computed inline. This shows that code is right for the nominal use cases.

Todo:

Definition at line 2982 of file TestViscousRHS.C.

References viscid::util::ComputeHeatFluxBuffer(), viscid::util::ComputeTauBuffer(), simulation::grid::CURVILINEAR, FC_MODULE(), sizeextent::Flatten(), fluxDir, gridJacobian, gridMetric, gridType, sizeextent::InitSimple(), numPoints, numPointsBuffer, viscid::strongflux1d(), results::UpdateResult(), and velocity.

Referenced by TestingObject< ResultsType >::Test__Viscid__Kernels__Curvilinear().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestViscidKernelsMetrics()

void TestViscidKernelsMetrics ( ix::test::results serialUnitResults)

Tests viscid kernels on uniform grid using all metric types.

This test performs the same basic tests done in TestViscidKernels. The expected answers are all the same as in TestViscidKernels. All metric types (Uniform-rectangular, rectilinear, and curvilinear) are initialized using a uniform-rectangular grid. The kernels are exercised with each grid metric using the tests outlined by TestViscidKernels.

Definition at line 689 of file TestViscousRHS.C.

References a, bufferInterval, euler::util::ComputeDVBuffer(), viscid::util::ComputeHeatFluxBuffer(), eos::ComputePressureBuffer(), viscid::util::ComputeTauBuffer(), eos::ComputeTemperatureBuffer(), viscid::util::ComputeTVBufferPower(), simulation::grid::CURVILINEAR, FC_MODULE(), parallel_blockstructured::Finalize(), sizeextent::Flatten(), gridJacobian, gridMetric, parallel_blockstructured::GridSizes(), gridType, perfect_gas::InitializeMaterialProperties(), sizeextent::InitSimple(), simulation::grid::NUMGRIDTYPES, parallel_blockstructured::PartitionBufferInterval(), parallel_blockstructured::PhysicalExtent(), simulation::grid::RECTILINEAR, perfect_gas::SetGamma(), parallel_blockstructured::SetGridSpacings(), perfect_gas::SetSpecificGasConstant(), eos::SetupInternalEnergyBuffer(), eos::SetupPressureBuffer(), eos::SetupSpecificVolumeBuffer(), eos::SetupTemperatureBuffer(), viscid::strongflux1d(), simulation::grid::UNIRECT, results::UpdateResult(), velocity, and operators::ywxpy().

Referenced by TestingObject< ResultsType >::Test__Viscid__Kernels__Metrics().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestViscidRHS()