https://mooseframework.inl.gov
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 {
19 public:
22 
23 protected:
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 
35  const Moose::Functor<Real> * const _mu;
36 };
virtual Real computeRightHandSideContribution() override
Imposes a friction force on the momentum equation.
const Moose::Functor< RealVectorValue > *const _D
Darcy coefficient.
static InputParameters validParams()
const Moose::Functor< Real > *const _mu
Dynamic viscosity.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LinearFVMomentumFriction(const InputParameters &params)
virtual Real computeMatrixContribution() override
Real computeFrictionWCoefficient(const Moose::ElemArg &elem_arg, const Moose::StateArg &state)
const unsigned int _index
Index x|y|z of the momentum equation component.