https://mooseframework.inl.gov
INSFVOutletPressureBC.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 "FVFunctionDirichletBC.h"
14 
19 template <class T>
21 {
22 public:
25 
26  ADReal boundaryValue(const FaceInfo & /* fi */,
27  const Moose::StateArg & /* state */) const override;
28 
29 protected:
32 
34  const Function * const _function;
35 
38 
48 };
49 
A class for setting the value of the pressure at an outlet of the system.
const Function & getFunction(const std::string &name) const
const PostprocessorValue *const _pp_value
Postprocessor that gives the uniform value of pressure on the boundary.
Moose::StateArg determineState() const
Moose::FaceArg singleSidedFaceArg(const FaceInfo *fi=nullptr, Moose::FV::LimiterType limiter_type=Moose::FV::LimiterType::CentralDifference, bool correct_skewness=false, const Moose::StateArg *state_limiter=nullptr) const
MooseVariableFV< Real > & _var
const PostprocessorValue & getPostprocessorValue(const std::string &param_name, const unsigned int index=0) const
DualNumber< Real, DNDerivativeType, true > ADReal
bool isParamValid(const std::string &name) const
Real PostprocessorValue
ADReal boundaryValue(const FaceInfo &, const Moose::StateArg &) const override
void paramError(const std::string &param, Args... args) const
INSFVOutletPressureBCTempl< INSFVFullyDevelopedFlowBC > INSFVOutletPressureBC
const Moose::Functor< ADReal > *const _functor
AD Functor that gives the distribution of pressure on the boundary.
INSFVOutletPressureBCTempl(const InputParameters &params)
void mooseError(Args &&... args) const
const Function *const _function
Regular function that gives the distribution of pressure on the boundary.
static InputParameters validParams()