https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADOneD3EqnMomentumGravity.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
18{
19public:
21
22protected:
23 virtual ADReal computeQpResidual();
24
26
28
32 const RealVectorValue & _gravity_vector;
33
34public:
36};
DualNumber< Real, DNDerivativeType, true > ADReal
Computes gravity term for the momentum equation for 1-phase flow.
const RealVectorValue & _gravity_vector
Gravitational acceleration vector.
static InputParameters validParams()
const ADMaterialProperty< Real > & _rho
const MaterialProperty< RealVectorValue > & _dir
The direction of the flow channel.
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue