https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
12
14
17{
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
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("NavierStokesApp", PINSFVMomentumTimeDerivative)
MooseVariableFV< Real > & _var
void addClassDescription(const std::string &doc_string)
void mooseError(Args &&... args) const
PINSFVMomentumTimeDerivative(const InputParameters &params)