https://mooseframework.inl.gov
Loading...
Searching...
No Matches
LinearFVMomentumFriction.h
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
10#pragma once
11
13
18{
19public:
22
23protected:
24 Real computeMatrixContribution() override;
26 Real computeFrictionCoefficient(const Moose::ElemArg & elem_arg,
27 const Moose::StateArg & state) const;
28
30 const unsigned int _index;
31
34
37
40
43
46
48 const unsigned int _dim;
49
51 const Moose::Functor<Real> * const _u;
52 const Moose::Functor<Real> * const _v;
53 const Moose::Functor<Real> * const _w;
54};
Imposes Darcy and/or Forchheimer resistance on the momentum equation.
const Moose::Functor< RealVectorValue > *const _D
Darcy coefficient.
Real computeFrictionCoefficient(const Moose::ElemArg &elem_arg, const Moose::StateArg &state) const
const Moose::Functor< Real > *const _mu
Dynamic viscosity.
const Moose::Functor< Real > *const _v
const Moose::Functor< RealVectorValue > *const _F
Forchheimer coefficient.
const Moose::Functor< Real > *const _w
const Moose::Functor< Real > & _porosity
Porosity.
static InputParameters validParams()
const unsigned int _dim
Mesh dimension.
const Moose::Functor< Real > *const _rho
Density.
const unsigned int _index
Index x|y|z of the momentum equation component.
Real computeRightHandSideContribution() override
const Moose::Functor< Real > *const _u
Velocity components used to evaluate the Forchheimer speed.