www.mooseframework.org
NSSpecificVolumeAux.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef NSSPECIFICVOLUMEAUX_H
8 #define NSSPECIFICVOLUMEAUX_H
9 
10 #include "AuxKernel.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<NSSpecificVolumeAux>();
17 
21 class NSSpecificVolumeAux : public AuxKernel
22 {
23 public:
24  NSSpecificVolumeAux(const InputParameters & parameters);
25 
26  virtual ~NSSpecificVolumeAux() {}
27 
28 protected:
29  virtual Real computeValue();
30 
31  const VariableValue & _rho;
32 };
33 
34 #endif
Auxiliary kernel for computing the specific volume (1/rho) of the fluid.
const VariableValue & _rho
virtual Real computeValue()
NSSpecificVolumeAux(const InputParameters &parameters)
InputParameters validParams< NSSpecificVolumeAux >()