https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSPressureGradientBC.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 "ADIntegratedBC.h"
13
19{
20public:
22
24
25 virtual void initialSetup() override;
26
27protected:
28 virtual ADReal computeQpResidual() override;
29
32
34 const unsigned _component;
35};
DualNumber< Real, DNDerivativeType, true > ADReal
Adds the exterior-face pressure contribution for a momentum equation whose pressure gradient is integ...
const unsigned _component
Momentum component to which this pressure contribution is added.
virtual void initialSetup() override
static InputParameters validParams()
const ADVariableValue & _pressure
Pressure evaluated on the exterior face.
virtual ADReal computeQpResidual() override
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue