https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADMomentumAdvection.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
11
13
16{
18 params.addClassDescription("Adds the advective term to the INS momentum equation");
19 return params;
20}
21
23 : ADVectorKernelValue(parameters),
24 _advective_strong_residual(getADMaterialProperty<RealVectorValue>("advective_strong_residual"))
25{
26}
27
registerMooseObject("NavierStokesApp", INSADMomentumAdvection)
static InputParameters validParams()
This class computes the momentum equation residual and Jacobian contributions for the advective term ...
INSADMomentumAdvection(const InputParameters &parameters)
virtual ADRealVectorValue precomputeQpResidual() override
static InputParameters validParams()
const ADMaterialProperty< RealVectorValue > & _advective_strong_residual
void addClassDescription(const std::string &doc_string)
unsigned int _qp