https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
24
26 void gatherRCData(const FaceInfo &) override final;
27
28protected:
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
51
54
57
60
63};
DualNumber< Real, DNDerivativeType, true > ADReal
A flux kernel that momentum residual objects that add non-advection flux terms, or more specifically ...
void gatherRCData(const Elem &) override final
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
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 > & _u
x-velocity
virtual ADReal computeSegregatedContribution() override
Compute the contribution which goes into the residual of the segregated system.
const unsigned int _dim
The dimension of the simulation.
const Moose::Functor< ADReal > & _mixing_len
Turbulent eddy mixing length.
ADReal _ae
Rhie-Chow element coefficient.
ADReal computeStrongResidual(const bool populate_a_coeffs)
Routine to compute this object's strong residual (e.g.
const Moose::Functor< ADReal > *const _v
y-velocity
const Moose::Functor< ADReal > & _rho
Density.
ADReal _an
Rhie-Chow neighbor coefficient.
const Moose::Functor< ADReal > *const _w
z-velocity