https://mooseframework.inl.gov
INSFVAveragePressureValueBC.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 #include "INSFVPressureVariable.h"
12 
14 
17 {
20  return params;
21 }
22 
25 {
26  if (!dynamic_cast<INSFVPressureVariable *>(&_var))
27  paramError("variable",
28  "The variable argument to INSFVAveragePressureValueBC must be of type "
29  "INSFVPressureVariable");
30 }
INSFVAveragePressureValueBC(const InputParameters &params)
A class for setting the value of the pressure at an outlet of the system.
MooseVariableFV< Real > & _var
static InputParameters validParams()
registerMooseObject("NavierStokesApp", INSFVAveragePressureValueBC)
void paramError(const std::string &param, Args... args) const
static InputParameters validParams()
static InputParameters validParams()
A parent class for INSFV fully developed flow boundary conditions.