https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LinearFVNormalVelocityFunctorDirichletBC.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{
19 "Adds a dirichlet BC for a velocity parallel to the normal direction. A positive dirichlet "
20 "value would denote outflow, while negative denotes inflow.");
21 params.renameParam("functor", "normal_velocity", "The velocity in the normal direction");
22 MooseEnum component("x y z");
24 "component",
25 component,
26 "The velocity component this object is acting on. We will multiply the prescribed normal "
27 "velocity by the corresponding face normal component");
28 return params;
29}
30
37
38Real
registerMooseObject("NavierStokesApp", LinearFVNormalVelocityFunctorDirichletBC)
Base class for THM components.
Definition Component.h:32
const Point & normal() const
void renameParam(const std::string &old_name, const std::string &new_name, const std::string &new_docstring)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
virtual Real computeBoundaryValue() const override
Adds a dirichlet BC for prescribing a velocity parallel to the boundary face normal direction; this b...
enum LinearFVNormalVelocityFunctorDirichletBC::Component _component
LinearFVNormalVelocityFunctorDirichletBC(const InputParameters &parameters)
Class constructor.