https://mooseframework.inl.gov
INSFVMixingLengthReynoldsStress.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 "INSFVFluxKernel.h"
14 
15 // Forward declare variable class
17 
19 {
20 public:
22 
24 
26  void gatherRCData(const FaceInfo &) override final;
27 
28 protected:
35  ADReal computeStrongResidual(const bool populate_a_coeffs);
36 
37  virtual ADReal computeSegregatedContribution() override;
38 
40  const unsigned int _dim;
41 
43  const unsigned int _axis_index;
44 
48  const Moose::Functor<ADReal> * const _v;
50  const Moose::Functor<ADReal> * const _w;
51 
54 
57 
59  ADReal _ae = 0;
60 
62  ADReal _an = 0;
63 };
A flux kernel that momentum residual objects that add non-advection flux terms, or more specifically ...
const unsigned int _dim
The dimension of the simulation.
const Moose::Functor< ADReal > & _u
x-velocity
INSFVMixingLengthReynoldsStress(const InputParameters &params)
ADReal _ae
Rhie-Chow element coefficient.
const Moose::Functor< ADReal > *const _v
y-velocity
DualNumber< Real, DNDerivativeType, true > ADReal
virtual ADReal computeSegregatedContribution() override
Compute the contribution which goes into the residual of the segregated system.
void gatherRCData(const Elem &) override final
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
const Moose::Functor< ADReal > & _mixing_len
Turbulent eddy mixing length.
const unsigned int _axis_index
index x|y|z
ADReal _an
Rhie-Chow neighbor coefficient.
void gatherRCData(const FaceInfo &) override final
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
ADReal computeStrongResidual(const bool populate_a_coeffs)
Routine to compute this object&#39;s strong residual (e.g.
const Moose::Functor< ADReal > & _rho
Density.
const Moose::Functor< ADReal > *const _w
z-velocity