https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADMass.C
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#include "INSADMass.h"
11
12registerMooseObject("NavierStokesApp", INSADMass);
13
16{
18 params.addClassDescription("This class computes the mass equation residual and Jacobian "
19 "contributions (the latter using automatic differentiation) for the "
20 "incompressible Navier-Stokes "
21 "equations.");
22 return params;
23}
24
26 : ADKernelValue(parameters),
27 _mass_strong_residual(getADMaterialProperty<Real>("mass_strong_residual"))
28{
29}
30
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSADMass)
static InputParameters validParams()
This class computes the mass equation residual and Jacobian contributions (the latter using automatic...
Definition INSADMass.h:20
const ADMaterialProperty< Real > & _mass_strong_residual
The strong residual of the mass equation, computed using INSADMaterial.
Definition INSADMass.h:30
static InputParameters validParams()
Definition INSADMass.C:15
ADReal precomputeQpResidual() override
Definition INSADMass.C:32
INSADMass(const InputParameters &parameters)
Definition INSADMass.C:25
void addClassDescription(const std::string &doc_string)
unsigned int _qp