https://mooseframework.inl.gov
PCNSFVMomentumFriction.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 
12 #include "FVElementalKernel.h"
13 
18 {
19 public:
22 
23 protected:
24  ADReal computeQpResidual() override;
25 
27  const unsigned int _component;
39 };
Imposes a friction force on the momentum equation in porous media.
ADReal computeQpResidual() override
static InputParameters validParams()
const unsigned int _component
Momentum equation component (x = 0, y = 1, z = 2)
const ADMaterialProperty< RealVectorValue > *const _cL
Darcy coefficient.
const VariableValue & _eps
Porosity to compute the intersitial velocity from the superficial velocity.
PCNSFVMomentumFriction(const InputParameters &params)
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _momentum
Momentum as a material property.
const ADMaterialProperty< RealVectorValue > *const _cQ
Forchheimer coefficient.
OutputTools< Real >::VariableValue VariableValue
const bool _use_Darcy_friction_model
Booleans to select the right models.