www.mooseframework.org
MomentumConvectiveFlux.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 
15 
16 template <>
17 InputParameters validParams<MomentumConvectiveFlux>();
18 
23 class MomentumConvectiveFlux : public Kernel
24 {
25 public:
26  MomentumConvectiveFlux(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpResidual();
30  virtual Real computeQpJacobian();
31 
32  // coupled variables
33  const VariableValue & _vel_x;
34  const VariableValue & _vel_y;
35  const VariableValue & _vel_z;
36 };
37 
MomentumConvectiveFlux::MomentumConvectiveFlux
MomentumConvectiveFlux(const InputParameters &parameters)
Definition: MomentumConvectiveFlux.C:25
MomentumConvectiveFlux::_vel_z
const VariableValue & _vel_z
Definition: MomentumConvectiveFlux.h:35
validParams< MomentumConvectiveFlux >
InputParameters validParams< MomentumConvectiveFlux >()
Definition: MomentumConvectiveFlux.C:16
MomentumConvectiveFlux::_vel_y
const VariableValue & _vel_y
Definition: MomentumConvectiveFlux.h:34
MomentumConvectiveFlux::computeQpJacobian
virtual Real computeQpJacobian()
Definition: MomentumConvectiveFlux.C:41
MomentumConvectiveFlux::computeQpResidual
virtual Real computeQpResidual()
Definition: MomentumConvectiveFlux.C:34
MomentumConvectiveFlux
Momentum convective flux: .
Definition: MomentumConvectiveFlux.h:23
MomentumConvectiveFlux::_vel_x
const VariableValue & _vel_x
Definition: MomentumConvectiveFlux.h:33