www.mooseframework.org
DistributedPower.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 
23 class DistributedPower : public Kernel
24 {
25 public:
27 
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
34 
36  unsigned int _rhou_var_number;
37  unsigned int _rhov_var_number;
38  unsigned int _rhow_var_number;
42 };
const VariableValue & _rho_v
virtual Real computeQpResidual()
RealVectorValue _acceleration
virtual Real computeQpJacobian()
const VariableValue & _rho_u
The DistributedPower kernel computes the kinetic energy contribution of the body force due to total e...
unsigned int _rhow_var_number
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
static InputParameters validParams()
const VariableValue & _rho_w
unsigned int _rhov_var_number
unsigned int _rhou_var_number
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
DistributedPower(const InputParameters &parameters)
const InputParameters & parameters() const