hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::No_slip Class Reference

No-slip wall boundary condition. More...

#include <Boundary_condition.hpp>

Inheritance diagram for hexed::No_slip:
hexed::Flow_bc

Public Member Functions

 No_slip (std::shared_ptr< Thermal_bc >=std::make_shared< Prescribed_heat_flux >(), double heat_flux_coercion=2.)
 
void apply_advection (Boundary_face &) override
 applies boundary condition to linear advection equation used to compute nonsmoothness indicator
 
void apply_state (Boundary_face &) override
 applies boundary condition to state variables (Dirichlet BCs)
 
void apply_flux (Boundary_face &) override
 applies boundary condition to viscous fluxes (if applicable)
 
- Public Member Functions inherited from hexed::Flow_bc
virtual void apply_diffusion (Boundary_face &)
 
virtual void flux_diffusion (Boundary_face &)
 
virtual void init_cache (Boundary_face &)
 initialize Boundary_face::state_cache at beginning of simulation (used by Cache_bc)
 

Detailed Description

No-slip wall boundary condition.

Flips the sign of the velocity. Depending on the Thermal_type provided, will reflect either the heat flux or the internal energy about a given value.

Member Function Documentation

◆ apply_advection()

void hexed::No_slip::apply_advection ( Boundary_face & bf)
overridevirtual

applies boundary condition to linear advection equation used to compute nonsmoothness indicator

Reimplemented from hexed::Flow_bc.

◆ apply_flux()

void hexed::No_slip::apply_flux ( Boundary_face & )
overridevirtual

applies boundary condition to viscous fluxes (if applicable)

Implements hexed::Flow_bc.

◆ apply_state()

void hexed::No_slip::apply_state ( Boundary_face & )
overridevirtual

applies boundary condition to state variables (Dirichlet BCs)

writes to the first n_var()*size() entries of ghost_state() (called on the provided Boundary_face.)

Implements hexed::Flow_bc.


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