https://mooseframework.inl.gov
INSFVSymmetryPressureBC.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 "InputParameters.h"
12 
14 registerMooseObject("NavierStokesApp", INSFVSymmetryScalarBC);
15 
18 {
19  auto params = FVFluxBC::validParams();
20  params += INSFVSymmetryBC::validParams();
21  params.addClassDescription("Though not applied to velocity, this object ensures that the "
22  "flux (velocity times the advected quantity) into a "
23  "symmetry boundary is zero. When applied to pressure for the mass "
24  "equation, this makes the normal velocity zero since density is "
25  "constant");
26  return params;
27 }
28 
30  : FVFluxBC(params), INSFVSymmetryBC(params)
31 {
32 }
33 
34 ADReal
36 {
37  return 0;
38 }
static InputParameters validParams()
registerMooseObject("NavierStokesApp", INSFVSymmetryPressureBC)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
INSFVSymmetryPressureBC(const InputParameters &params)
A parent class for INSFV symmetry boundary conditions.
A symmetry boundary condition for the pressure variable.
ADReal computeQpResidual() override
static InputParameters validParams()