https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSMassSpecifiedNormalFlowBC.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
13
16{
18 params.addClassDescription("This class implements the mass equation boundary term with a "
19 "specified value of rho*(u.n) imposed weakly.");
20 params.addRequiredParam<Real>("rhoun", "The specified value of rho*(u.n) for this boundary");
21 return params;
22}
23
25 : NSMassBC(parameters), _rhoun(getParam<Real>("rhoun"))
26{
27}
28
29Real
34
35Real
40
41Real
43{
44 return 0.0;
45}
registerMooseObject("NavierStokesApp", NSMassSpecifiedNormalFlowBC)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
This class corresponds to the "natural" boundary condition for the mass equation, i....
Definition NSMassBC.h:30
Real qpResidualHelper(Real rhoun)
Compute the residual contribution for a given value of rho*(u.n).
Definition NSMassBC.C:24
static InputParameters validParams()
Definition NSMassBC.C:13
This class implements the mass equation boundary term with a specified value of rho*(u....
virtual Real computeQpOffDiagJacobian(unsigned jvar)
NSMassSpecifiedNormalFlowBC(const InputParameters &parameters)