https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DistributedPower.h
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#pragma once
11
12#include "Kernel.h"
13
14// Forward Declarations
15
24{
25public:
27
29
30protected:
31 virtual Real computeQpResidual();
32 virtual Real computeQpJacobian();
33 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
34
35 RealVectorValue _acceleration;
36 unsigned int _rhou_var_number;
37 unsigned int _rhov_var_number;
38 unsigned int _rhow_var_number;
42};
The DistributedPower kernel computes the kinetic energy contribution of the body force due to total e...
static InputParameters validParams()
RealVectorValue _acceleration
const VariableValue & _rho_u
virtual Real computeQpResidual()
virtual Real computeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _rho_v
unsigned int _rhou_var_number
unsigned int _rhow_var_number
const VariableValue & _rho_w
unsigned int _rhov_var_number
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue