https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FVPorosityTimeDerivative.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 "NS.h"
12
14
17{
19 params.addClassDescription("A time derivative multiplied by a porosity material property");
20 params.addParam<MaterialPropertyName>(NS::porosity, NS::porosity, "The porosity");
21 return params;
22}
23
25 : FVTimeKernel(parameters), _eps(getMaterialProperty<Real>(NS::porosity))
26{
27}
28
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", FVPorosityTimeDerivative)
const unsigned int _qp
Applies a residual equal to .
const MaterialProperty< Real > & _eps
The porosity.
FVPorosityTimeDerivative(const InputParameters &parameters)
static InputParameters validParams()
ADReal computeQpResidual() override
static InputParameters validParams()
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static const std::string porosity
Definition NS.h:108