https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TimeDerivativeNodalKernel.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{
19 "Forms the contribution to the residual and jacobian of the time derivative term from an ODE "
20 "being solved at all nodes.");
21 return params;
22}
23
28
29Real
34
35Real
registerMooseObject("MooseApp", TimeDerivativeNodalKernel)
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
void addClassDescription(const std::string &doc_string)
This method adds a description of the class that will be displayed in the input file syntax dump.
unsigned int _qp
Quadrature point index.
virtual Real computeQpJacobian() override
The user can override this function to compute the "on-diagonal" Jacobian contribution.
virtual Real computeQpResidual() override
The user can override this function to compute the residual at a node.
static InputParameters validParams()
Constructor (Comment here for @aeslaughter :-)
TimeDerivativeNodalKernel(const InputParameters &parameters)
Represents a simple ODE of du/dt - rate = 0.
static InputParameters validParams()
Constructor initializes the rate.
const VariableValue & _u_dot
Time derivative of u.
const VariableValue & _du_dot_du
Derivative of u_dot with respect to u.