OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
experimental_fluid.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 //
3 // FCST: Fuel Cell Simulation Toolbox
4 //
5 // Copyright (C) 2006-2013 by Energy Systems Design Laboratory, University of Alberta
6 //
7 // This software is distributed under the MIT License
8 // For more information, see the README file in /doc/LICENSE
9 //
10 // - Class: experimental_fluid.h
11 // - Description: This class describes a fluid
12 // - Developers: Valentin N. Zingan, University of Alberta
13 // - Id: $Id: experimental_fluid.h 2605 2014-08-15 03:36:44Z secanell $
14 //
15 // ----------------------------------------------------------------------------
16 
17 #ifndef _FCST_FUELCELLSHOP_MATERIAL_EXPERIMENTAL_FLUID_H_
18 #define _FCST_FUELCELLSHOP_MATERIAL_EXPERIMENTAL_FLUID_H_
19 
21 
22 namespace FuelCellShop
23 {
24  namespace Material
25  {
26 
45  {
46  public:
47 
49 
50 
54  ExperimentalFluid(const std::string& name);
55 
59  virtual ~ExperimentalFluid();
60 
64  virtual void declare_parameters(ParameterHandler& param) const;
65 
69  virtual void initialize(ParameterHandler& param);
70 
72 
74 
75 
80  const double& get_density() const
81  {
82  return density;
83  }
84 
89  const double& get_dynamic_viscosity() const
90  {
91  return dynamic_viscosity;
92  }
93 
98  virtual void print_material_properties() const;
99 
101 
102  protected:
103 
105  // DATA //
107 
109 
110 
114  double density;
115 
120 
122 
123  };
124 
125  } // Material
126 
127 } // FuelCellShop
128 
129 #endif
virtual void initialize(ParameterHandler &param)
Initialize parameters.
const std::string name
Name of the layer.
Definition: base_material.h:155
double dynamic_viscosity
Dynamic viscosity, Pa sec.
Definition: experimental_fluid.h:119
const double & get_dynamic_viscosity() const
This function returns dynamic_viscosity.
Definition: experimental_fluid.h:89
const double & get_density() const
This function returns density.
Definition: experimental_fluid.h:80
virtual void declare_parameters(ParameterHandler &param) const
Declare parameters.
ExperimentalFluid(const std::string &name)
Constructor.
virtual void print_material_properties() const
This function prints out the material properties.
This class describes.
Definition: experimental_fluid.h:44
Virtual class used to provide the interface for all material classes.
Definition: base_material.h:54
double density
Density, kg/m^3.
Definition: experimental_fluid.h:114