Unstruct2D  1.0
Solution of 2-D Euler- and Navier-Stokes Equations on Unstructured Triangular Grids
 All Classes Files Functions Variables Typedefs Enumerations Macros
fluidProps.h
Go to the documentation of this file.
1 //*****************************************************************************
6 //
7 // (c) J. Blazek, CFD Consulting & Analysis, www.cfd-ca.de
8 // Created February 15, 2014
9 // Last modification: July 3, 2014
10 //
11 //=============================================================================
12 //
13 // This program is free software; you can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2
16 // of the License, or (at your option) any later version.
17 //
18 // This program is distributed in the hope that it will be useful,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program; if not, write to the Free Software
25 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 //
27 //*****************************************************************************
28 
29 #ifndef FLUIDPROPS_H_INCLUDED
30 #define FLUIDPROPS_H_INCLUDED
31 
32 #include "defs.h"
33 
40 {
41 public:
42 
43  // variables
44 
48  cpgas,
49  prlam,
50  renum,
51  refVel,
53  refRho,
55  refVisc;
62  // functions
63 
64  FluidProps();
65  ~FluidProps();
66  void AllocateMemory( int nNodes );
67  void DependentVarsAll( int nNodes );
68  void DependentVarsOne( int i );
69 
70 private:
71 
72  FluidProps( const FluidProps &fluidProps ); // override default copy constructor
73  FluidProps & operator = (const FluidProps &fluidProps); // and assignment operator
74 };
75 
76 #endif // FLUIDPROPS_H_INCLUDED
DEPVARS * dv
Definition: fluidProps.h:59
Equations equsType
Definition: fluidProps.h:45
Definition: fluidProps.h:39
REAL prlam
Definition: fluidProps.h:47
REAL gamma
Definition: fluidProps.h:47
VISCDEPVARS * dvLam
Definition: fluidProps.h:60
REAL refVisc
Definition: fluidProps.h:47
Additional dependent variables for viscous flow. All quantities are in SI units.
Definition: defs.h:108
REAL refVel
Definition: fluidProps.h:47
REAL refRho
Definition: fluidProps.h:47
Conserved variables. All quantities are in SI units.
Definition: defs.h:80
CONSVARS * cv
Definition: fluidProps.h:58
double REAL
Definition: defs.h:58
~FluidProps()
Definition: fluidProps.cpp:55
Dependent variables (inviscid flow). All quantities are in SI units.
Definition: defs.h:98
FluidProps()
Definition: fluidProps.cpp:35
void DependentVarsAll(int nNodes)
Definition: dependentVars.cpp:41
Equations
Kind of equations solved.
Definition: defs.h:39
REAL cpgas
Definition: fluidProps.h:47
void DependentVarsOne(int i)
Definition: dependentVars.cpp:93
REAL renum
Definition: fluidProps.h:47
void AllocateMemory(int nNodes)
Definition: fluidProps.cpp:69