https://mooseframework.inl.gov
INSFVVelocityVariable.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 "INSFVVariable.h"
13 
14 class INSFVNoSlipWallBC;
15 class InputParameters;
16 
18 {
19 public:
20  INSFVVelocityVariable(const InputParameters & params);
21 
23 
25  const VectorValue<ADReal> & adGradSln(const Elem * const elem,
26  const StateArg & time,
27  bool correct_skewness = false) const override;
28 
33  VectorValue<ADReal> uncorrectedAdGradSln(const FaceInfo & fi,
34  const StateArg & time,
35  const bool correct_skewness = false) const override;
36 
37 protected:
43  bool two_term_expansion,
44  bool correct_skewness,
45  const Elem * elem_side_to_extrapolate_from,
46  const StateArg & time) const override;
47 };
INSFVVelocityVariable(const InputParameters &params)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
virtual VectorValue< ADReal > uncorrectedAdGradSln(const FaceInfo &fi, const StateArg &state, const bool correct_skewness=false) const
VectorValue< ADReal > uncorrectedAdGradSln(const FaceInfo &fi, const StateArg &time, const bool correct_skewness=false) const override
virtual ADReal getExtrapolatedBoundaryFaceValue(const FaceInfo &fi, bool two_term_expansion, bool correct_skewness, const Elem *elem_side_to_extrapolate_from, const StateArg &state) const
ADReal getExtrapolatedBoundaryFaceValue(const FaceInfo &fi, bool two_term_expansion, bool correct_skewness, const Elem *elem_side_to_extrapolate_from, const StateArg &time) const override
A class for no slip velocity boundary condtions.
const ADTemplateVariableGradient< Real > & adGradSln() const override