https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSMomentumTimeDerivative.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
13
16{
18 params.addClassDescription("This class computes the time derivative for the incompressible "
19 "Navier-Stokes momentum equation.");
20 params.addParam<MaterialPropertyName>("rho_name", "rho", "density name");
21 return params;
22}
23
25 : TimeDerivative(parameters), _rho(getMaterialProperty<Real>("rho_name"))
26{
27}
28
29Real
34
35Real
40
41Real
registerMooseObject("NavierStokesApp", INSMomentumTimeDerivative)
This class computes the time derivative for the incompressible Navier-Stokes momentum equation.
const MaterialProperty< Real > & _rho
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
INSMomentumTimeDerivative(const InputParameters &parameters)
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)
unsigned int _qp
virtual Real computeQpResidual() override
virtual Real computeQpJacobian() override
static InputParameters validParams()