www.mooseframework.org
NSVelocityAux.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 "AuxKernel.h"
13 
14 // Forward Declarations
15 class NSVelocityAux;
16 
17 template <>
18 InputParameters validParams<NSVelocityAux>();
19 
23 class NSVelocityAux : public AuxKernel
24 {
25 public:
30  NSVelocityAux(const InputParameters & parameters);
31 
32  virtual ~NSVelocityAux() {}
33 
34 protected:
35  virtual Real computeValue();
36 
37  const VariableValue & _rho;
38  const VariableValue & _momentum;
39 };
40 
NSVelocityAux::_momentum
const VariableValue & _momentum
Definition: NSVelocityAux.h:38
NSVelocityAux::_rho
const VariableValue & _rho
Definition: NSVelocityAux.h:37
NSVelocityAux
Velocity auxiliary value.
Definition: NSVelocityAux.h:23
NSVelocityAux::NSVelocityAux
NSVelocityAux(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
Definition: NSVelocityAux.C:29
NSVelocityAux::computeValue
virtual Real computeValue()
Definition: NSVelocityAux.C:35
validParams< NSVelocityAux >
InputParameters validParams< NSVelocityAux >()
Definition: NSVelocityAux.C:18
NSVelocityAux::~NSVelocityAux
virtual ~NSVelocityAux()
Definition: NSVelocityAux.h:32