Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
PINSFVMomentumAdvection.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 "FVUtils.h"
12 #include "MathFVUtils.h"
13 #include "NS.h"
16 
18 
21 {
23  params.addClassDescription("Object for advecting superficial momentum, e.g. rho*u_d, "
24  "in the porous media momentum equation");
25  params.addRequiredParam<MooseFunctorName>(NS::porosity, "Porosity");
26  return params;
27 }
28 
30  : INSFVMomentumAdvection(params), _eps(getFunctor<ADReal>(NS::porosity))
31 {
32 }
static InputParameters validParams()
static InputParameters validParams()
static const std::string porosity
Definition: NS.h:104
registerMooseObject("NavierStokesApp", PINSFVMomentumAdvection)
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
PINSFVMomentumAdvection(const InputParameters &params)
A flux kernel transporting momentum in porous media across cell faces.