https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSMassWeakStagnationBC.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("The inviscid energy BC term with specified normal flow.");
19 return params;
20}
21
26
27Real
29{
30 // rho_s * |u| * (s.n) * phi_i
31 return rhoStatic() * std::sqrt(this->velmag2()) * this->sdotn() * _test[_i][_qp];
32}
33
34Real
36{
37 // TODO
38 return 0.0;
39}
40
41Real
43{
44 // TODO
45 return 0.0;
46}
registerMooseObject("NavierStokesApp", NSMassWeakStagnationBC)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i
const VariableTestValue & _test
The inviscid energy BC term with specified normal flow.
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
NSMassWeakStagnationBC(const InputParameters &parameters)
This is the base class for "weakly-imposed" stagnation boundary conditions, that is the relevant boun...
static InputParameters validParams()