https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSFVMomentumViscousSourceRZ.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
13
20{
21public:
24
26 void gatherRCData(const Elem &) override;
27
28protected:
30
31private:
35 const unsigned int _rz_radial_coord;
38
42 ADReal computeCoefficient(const Moose::ElemArg & elem_arg, const Moose::StateArg & state) const;
43};
DualNumber< Real, DNDerivativeType, true > ADReal
An elemental kernel that momentum residual objects that add body forces should inherit from.
void gatherRCData(const FaceInfo &) override final
Should be a non-empty implementation if the residual object is a FVFluxKernel and introduces residual...
Adds the axisymmetric viscous source term (-mu * u_r / r^2) that appears in the Laplacian of the radi...
void gatherRCData(const Elem &) override
Should be a non-empty implementation if the residual object is a FVElementalKernel and introduces res...
ADReal computeSegregatedContribution() override
Compute the contribution which goes into the residual of the segregated system.
ADReal computeCoefficient(const Moose::ElemArg &elem_arg, const Moose::StateArg &state) const
Compute the diagonal multiplier for this dof.
const unsigned int _rz_radial_coord
Index of the radial coordinate in an RZ system.
const Real _expansion_multiplier
Multiplier applied when the complete expansion form is requested.
const Moose::Functor< ADReal > & _mu
Viscosity functor.