https://mooseframework.inl.gov
INSADMomentumViscous.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 "ADKernel.h"
13 
20 {
21 public:
23 
25 
26 protected:
27  void computeResidual() override;
28  void computeResidualsForJacobian() override;
29  ADReal computeQpResidual() override;
30 
35 
41 
43 
45 
48 
50  const unsigned int _rz_radial_coord;
51 };
const InputParameters & parameters() const
This class computes the momentum equation residual and Jacobian contributions for the viscous term of...
const ADMaterialProperty< Real > & _mu
const Moose::CoordinateSystemType & _coord_sys
const unsigned int _rz_radial_coord
The radial coordinate index for RZ coordinate systems.
DualNumber< Real, DNDerivativeType, false > ADReal
ADRealVectorValue qpAdditionalRZTerm()
Computes an additional contribution to the viscous term present of RZ coordinate systems (assumes axi...
void computeResidualsForJacobian() override
CoordinateSystemType
INSADMomentumViscous(const InputParameters &parameters)
const MooseEnum _form
Either traction or laplace.
ADRealTensorValue qpViscousTerm()
Computes the cartesian coordinate system viscous term.
ADReal computeQpResidual() override
static InputParameters validParams()
void computeResidual() override