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