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://www.mooseframework.org
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 virtual Real computeMatrixContribution() override;
25 virtual Real computeRightHandSideContribution() override;
26 Real computeFrictionWCoefficient(const Moose::ElemArg & elem_arg, const Moose::StateArg & state);
27
29 const unsigned int _index;
30
33
36};
Imposes a friction force on the momentum equation.
const Moose::Functor< RealVectorValue > *const _D
Darcy coefficient.
const Moose::Functor< Real > *const _mu
Dynamic viscosity.
Real computeFrictionWCoefficient(const Moose::ElemArg &elem_arg, const Moose::StateArg &state)
static InputParameters validParams()
virtual Real computeMatrixContribution() override
const unsigned int _index
Index x|y|z of the momentum equation component.
virtual Real computeRightHandSideContribution() override