https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PINSFVMomentumAdvectionOutflowBC.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
12#include "SubProblem.h"
13#include "MooseMesh.h"
14#include "NS.h"
15
17
20{
22 params.addRequiredParam<MooseFunctorName>("u", "The superficial velocity in the x direction.");
23 params.addParam<MooseFunctorName>("v", "The superficial velocity in the y direction.");
24 params.addParam<MooseFunctorName>("w", "The superficial velocity in the z direction.");
25 params.addRequiredParam<MooseFunctorName>(NS::porosity, "The porosity");
27 "Outflow boundary condition for advecting momentum in the porous media momentum equation. "
28 "This will impose a zero normal gradient on the boundary velocity.");
29 return params;
30}
31
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", PINSFVMomentumAdvectionOutflowBC)
A class for finite volume fully developed outflow boundary conditions for the momentum equation It ad...
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
A class for finite volume fully developed outflow boundary conditions for the momentum equation It ad...
PINSFVMomentumAdvectionOutflowBC(const InputParameters &params)
static const std::string porosity
Definition NS.h:108