ABLATE Source Documentation
0.12.34
logLawBoundary.hpp
1
#ifndef ABLATELIBRARY_LODI_INLET_HPP
2
#define ABLATELIBRARY_LODI_INLET_HPP
3
#include "boundarySolver/lodi/lodiBoundary.hpp"
4
5
#include "boundarySolver/boundaryProcess.hpp"
6
#include "finiteVolume/processes/navierStokesTransport.hpp"
7
8
namespace
ablate::boundarySolver::physics {
9
10
class
LogLawBoundary
:
public
BoundaryProcess
{
11
private
:
12
inline
const
static
PetscReal kappa = 0.4;
// Von Karman coefficient
13
const
std::shared_ptr<finiteVolume::processes::PressureGradientScaling> pressureGradientScaling;
14
15
public
:
16
void
Setup
(
ablate::boundarySolver::BoundarySolver
&bSolver)
override
;
17
18
// update the boundary velocity field using outflow to reconstruct the log-law near the wall (Deardorff, 1970)
19
static
PetscErrorCode UpdateBoundaryVel(PetscInt dim,
const
ablate::boundarySolver::BoundarySolver::BoundaryFVFaceGeom
*fg,
const
PetscFVCellGeom *boundaryCell,
const
PetscInt *uOff,
20
PetscScalar *boundaryValues,
const
PetscScalar *stencilValues,
const
PetscInt *aOff, PetscScalar *auxValues,
const
PetscScalar *stencilAuxValues,
21
void
*ctx);
22
};
23
24
}
// namespace ablate::boundarySolver::physics
25
#endif
// ABLATELIBRARY_INLET_HPP
ablate::boundarySolver::BoundaryProcess
Definition:
boundaryProcess.hpp:8
ablate::boundarySolver::BoundarySolver
Definition:
boundarySolver.hpp:13
ablate::boundarySolver::physics::LogLawBoundary
Definition:
logLawBoundary.hpp:10
ablate::boundarySolver::physics::LogLawBoundary::Setup
void Setup(ablate::boundarySolver::BoundarySolver &bSolver) override
Definition:
logLawBoundary.cpp:5
ablate::boundarySolver::BoundarySolver::BoundaryFVFaceGeom
Definition:
boundarySolver.hpp:18
src
boundarySolver
physics
logLawBoundary.hpp
Generated by
1.9.1