www.mooseframework.org
navier_stokes
include
materials
Air.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 "
NavierStokesMaterial.h
"
13
14
// Forward Declarations
15
class
Air
;
16
17
template
<>
18
InputParameters
validParams<Air>
();
19
20
// Class for Air with constant properties
21
// TODO: Add thermal conductivity
22
class
Air
:
public
NavierStokesMaterial
23
{
24
public
:
25
Air
(
const
InputParameters & parameters);
26
27
protected
:
28
virtual
void
computeProperties
();
29
30
// The dynamic viscosity we will report back to the base class in computeProperties()
31
// This can be set in the input file, otherwise a default value for air at 300K will be
32
// used. Some tabulated values for air at different temperatures are given below:
33
//
34
// 100K, 0.6924e-5
35
// 150K, 1.0283e-5
36
// 200K, 1.3289e-5
37
// 250K, 1.4880e-5
38
// 300K, 1.9830e-5
39
// 350K, 2.0750e-5
40
// 400K, 2.2860e-5
41
// 450K, 2.4840e-5
42
// 500K, 2.6710e-5
43
// 550K, 2.8480e-5
44
// 600K, 3.0180e-5
45
Real
_mu
;
46
};
47
Air::Air
Air(const InputParameters ¶meters)
Definition:
Air.C:30
Air::computeProperties
virtual void computeProperties()
Must be called after the child class computes dynamic_viscocity.
Definition:
Air.C:36
NavierStokesMaterial
This is the base class all materials should use if you are trying to use the Navier-Stokes Kernels.
Definition:
NavierStokesMaterial.h:36
validParams< Air >
InputParameters validParams< Air >()
Definition:
Air.C:18
NavierStokesMaterial.h
Air
Definition:
Air.h:22
Air::_mu
Real _mu
Definition:
Air.h:45
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16