[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::Tests::TurbulentChannelFlowSkinFrictionCheck< dim, nspecies, nstate > Class Template Reference

Turbulent Channel Flow Skin Friction Check. More...

#include <turbulent_channel_flow_skin_friction_check.h>

Inheritance diagram for PHiLiP::Tests::TurbulentChannelFlowSkinFrictionCheck< dim, nspecies, nstate >:
Collaboration diagram for PHiLiP::Tests::TurbulentChannelFlowSkinFrictionCheck< dim, nspecies, nstate >:

Public Member Functions

 TurbulentChannelFlowSkinFrictionCheck (const Parameters::AllParameters *const parameters_input, const dealii::ParameterHandler &parameter_handler_input)
 Constructor.
 
 ~TurbulentChannelFlowSkinFrictionCheck ()
 Destructor.
 
int run_test () const override
 Run test.
 
- Public Member Functions inherited from PHiLiP::Tests::TestsBase
 TestsBase ()=delete
 Constructor. Deleted the default constructor since it should not be used.
 
 TestsBase (const Parameters::AllParameters *const parameters_input)
 Constructor. More...
 
virtual ~TestsBase ()=default
 Destructor.
 

Public Attributes

const dealii::ParameterHandler & parameter_handler
 Parameter handler for storing the .prm file being ran.
 
const double half_channel_height
 Half channel height.
 
const XVelocityInitialConditionEnum xvelocity_initial_condition_type
 Turbulent channel x-velocity initial condition type.
 
const double y_top_wall
 y-value for top wall
 
const double y_bottom_wall
 y-value for bottom wall
 
const double normal_vector_top_wall
 normal vector for top wall
 
const double normal_vector_bottom_wall
 normal vector for bottom wall
 
std::shared_ptr< Physics::NavierStokes_ChannelFlowConstantSourceTerm_WallModel< dim, nspecies, dim+2, double > > navier_stokes_channel_flow_constant_source_term_wall_model_physics
 Pointer to Navier-Stokes physics object for computing things on the fly.
 
bool check_wall_model
 Flag for checking wall model (true if uniform grid)
 
- Public Attributes inherited from PHiLiP::Tests::TestsBase
const Parameters::AllParameters *const all_parameters
 Pointer to all parameters.
 

Private Types

using XVelocityInitialConditionEnum = Parameters::FlowSolverParam::XVelocityInitialConditionType
 Enumeration of all turbulent channel flow initial condition sub-types defined in the Parameters class.
 

Private Member Functions

double get_x_velocity (const double y) const
 returns x-velocity
 
double get_x_velocity_gradient (const double y) const
 returns x-velocity gradient
 
double get_wall_shear_stress () const
 returns wall shear stress
 
double get_bulk_velocity () const
 returns bulk velocity
 
double get_skin_friction_coefficient () const
 returns skin friction coefficient
 
double get_integral_of_x_velocity (const double y_plus) const
 returns integral of x-velocity
 
double get_wall_shear_stress_from_friction_reynolds_number () const
 returns wall shear stress from friction Reynolds number
 
double get_wall_shear_stress_from_wall_model () const
 returns wall shear stress from wall model
 

Additional Inherited Members

- Protected Member Functions inherited from PHiLiP::Tests::TestsBase
std::vector< int > get_number_1d_cells (const int ngrids) const
 Evaluates the number of cells to generate the grids for 1D grid based on input file. More...
 
std::string get_pde_string (const Parameters::AllParameters *const param) const
 Returns a string describing which PDE is being used.
 
std::string get_conv_num_flux_string (const Parameters::AllParameters *const param) const
 Returns a string describing which convective numerical flux is being used.
 
std::string get_diss_num_flux_string (const Parameters::AllParameters *const param) const
 Returns a string describing which dissipative numerical flux is being used.
 
std::string get_manufactured_solution_string (const Parameters::AllParameters *const param) const
 Returns a string describing which manufactured solution is being used.
 
- Protected Attributes inherited from PHiLiP::Tests::TestsBase
const MPI_Comm mpi_communicator
 MPI communicator.
 
const int mpi_rank
 MPI rank.
 
const int n_mpi
 
dealii::ConditionalOStream pcout
 ConditionalOStream. More...
 

Detailed Description

template<int dim, int nspecies, int nstate>
class PHiLiP::Tests::TurbulentChannelFlowSkinFrictionCheck< dim, nspecies, nstate >

Turbulent Channel Flow Skin Friction Check.

Definition at line 13 of file turbulent_channel_flow_skin_friction_check.h.


The documentation for this class was generated from the following files: