https://mooseframework.inl.gov
Loading...
Searching...
No Matches
navier_stokes
src
fvkernels
PINSFVMomentumTimeDerivative.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
10
#include "
PINSFVMomentumTimeDerivative.h
"
11
#include "
PINSFVSuperficialVelocityVariable.h
"
12
13
registerMooseObject
(
"NavierStokesApp"
,
PINSFVMomentumTimeDerivative
);
14
15
InputParameters
16
PINSFVMomentumTimeDerivative::validParams
()
17
{
18
InputParameters
params =
INSFVMomentumTimeDerivative::validParams
();
19
params.
addClassDescription
(
"Adds the time derivative term: d(rho u_d) / dt to the porous media "
20
"incompressible Navier-Stokes momentum equation."
);
21
return
params;
22
}
23
24
PINSFVMomentumTimeDerivative::PINSFVMomentumTimeDerivative
(
const
InputParameters
& params)
25
:
INSFVMomentumTimeDerivative
(params)
26
{
27
if
(!
dynamic_cast<
PINSFVSuperficialVelocityVariable
*
>
(&
_var
))
28
mooseError
(
"PINSFVMomentumTimeDerivative may only be used with a superficial velocity, "
29
"of variable type PINSFVSuperficialVelocityVariable."
);
30
}
registerMooseObject
registerMooseObject("NavierStokesApp", PINSFVMomentumTimeDerivative)
PINSFVMomentumTimeDerivative.h
PINSFVSuperficialVelocityVariable.h
FVFunctorTimeKernel::_var
MooseVariableFV< Real > & _var
INSFVMomentumTimeDerivative
Definition
INSFVMomentumTimeDerivative.h:15
INSFVMomentumTimeDerivative::validParams
static InputParameters validParams()
Definition
INSFVMomentumTimeDerivative.C:17
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
FVFunctorTimeKernel::mooseError
void mooseError(Args &&... args) const
PINSFVMomentumTimeDerivative
Definition
PINSFVMomentumTimeDerivative.h:18
PINSFVMomentumTimeDerivative::PINSFVMomentumTimeDerivative
PINSFVMomentumTimeDerivative(const InputParameters ¶ms)
Definition
PINSFVMomentumTimeDerivative.C:24
PINSFVMomentumTimeDerivative::validParams
static InputParameters validParams()
Definition
PINSFVMomentumTimeDerivative.C:16
PINSFVSuperficialVelocityVariable
Definition
PINSFVSuperficialVelocityVariable.h:17
InputParameters
Generated on Fri Aug 21 2026 13:41:12 for https://mooseframework.inl.gov by
1.9.8