No-slip wall boundary condition. More...
#include <Boundary_condition.hpp>
Public Member Functions | |
| No_slip (std::shared_ptr< Thermal_bc >, double heat_rat, Transport_model viscosity, Turbulence_model, double heat_flux_coercion=2.) | |
| void | apply_advection (Boundary_connection &) override |
| applies boundary condition to linear advection equation used to compute nonsmoothness indicator | |
| void | apply_state (Boundary_connection &) override |
| void | apply_flux (Boundary_connection &) override |
| applies boundary condition to viscous fluxes (if applicable) | |
| int | n_prescribed (int n_dim) const override |
| void | set_prescribed (Interpreter &, Boundary_connection &) override |
| bool | smooth () const override |
Returns false if this BC tends to cause the flow not to be smooth. | |
Public Member Functions inherited from hexed::Flow_bc | |
| virtual void | apply_diffusion (Boundary_connection &) |
| virtual void | flux_diffusion (Boundary_connection &) |
| virtual void | init_cache (Boundary_connection &) |
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.
|
overridevirtual |
applies boundary condition to linear advection equation used to compute nonsmoothness indicator
Reimplemented from hexed::Flow_bc.
|
overridevirtual |
applies boundary condition to viscous fluxes (if applicable)
Implements hexed::Flow_bc.
|
overridevirtual |
apply_state must be called before apply_flux to prime state_cache Implements hexed::Flow_bc.
|
inlineoverridevirtual |
Reimplemented from hexed::Flow_bc.
|
overridevirtual |
Reimplemented from hexed::Flow_bc.
|
inlineoverridevirtual |
Returns false if this BC tends to cause the flow not to be smooth.
Farfield BCs should be expected to cause non-smoothness, especially if they are over-constrained, whereas wall boundary conditions should not. When performing AMR, cells on non-smooth boundaries will receive special treatment to avoid excessive refinement. So, when in doubt, have new boundary conditions return true so that they can be refined.
Implements hexed::Flow_bc.