https://mooseframework.inl.gov
INSFVWallFunctionBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "INSFVNaturalFreeSlipBC.h"
13 
14 #include "INSFVVelocityVariable.h"
20 {
21 public:
23  INSFVWallFunctionBC(const InputParameters & params);
24 
26  void gatherRCData(const FaceInfo &) override final;
27 
28 protected:
30 
32 
34  const unsigned int _dim;
35 
39  const Moose::Functor<ADReal> * const _v;
41  const Moose::Functor<ADReal> * const _w;
42 
45 
48 
50  ADReal _a = 0;
51 };
const Moose::Functor< ADReal > *const _v
y-velocity
ADReal _a
Rhie-Chow coefficient.
static InputParameters validParams()
DualNumber< Real, DNDerivativeType, true > ADReal
const Moose::Functor< ADReal > & _mu
dynamic viscosity
INSFVWallFunctionBC(const InputParameters &params)
const Moose::Functor< ADReal > *const _w
z-velocity
void gatherRCData(const FaceInfo &) override
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
A class for setting the wall shear stress at the walls, based on the standard wall function formulati...
const unsigned int _dim
the dimension of the simulation
void gatherRCData(const FaceInfo &) override final
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
const Moose::Functor< ADReal > & _rho
density
ADReal computeSegregatedContribution() override
Compute the contribution which goes into the residual of the segregated system.
A class for free slip boundary conditions for the velocity.
const Moose::Functor< ADReal > & _u
x-velocity