Cantera  3.1.0a2
Loading...
Searching...
No Matches
WaterTransport.h
Go to the documentation of this file.
1/**
2 * @file WaterTransport.h Header file defining class WaterTransport
3 */
4
5// This file is part of Cantera. See License.txt in the top-level directory or
6// at https://cantera.org/license.txt for license and copyright information.
7
8#ifndef CT_WATERTRAN_H
9#define CT_WATERTRAN_H
10
13
14namespace Cantera
15{
16
17//! Transport Parameters for pure water
18//! @ingroup tranprops
20{
21public:
22 //! default constructor
23 WaterTransport() = default;
24
25 string transportModel() const override {
26 return "Water";
27 }
28
29 //! Returns the viscosity of water at the current conditions (kg/m/s)
30 /*!
31 * This function calculates the value of the viscosity of pure water at the
32 * current T and P.
33 *
34 * The formulas used are from Sengers and Watson @cite sengers1986.
35 *
36 * The formulation is accurate for all temperatures and pressures, for steam
37 * and for water, even near the critical point. Pressures above 500 MPa and
38 * temperature above 900 C are suspect.
39 */
40 double viscosity() override;
41
42 double bulkViscosity() override {
43 return 0.0;
44 }
45
46 //! Returns the thermal conductivity of water at the current conditions
47 //! (W/m/K)
48 /*!
49 * This function calculates the value of the thermal conductivity of water
50 * at the current T and P.
51 *
52 * The formulas used are from Sengers and Watson @cite sengers1986.
53 *
54 * The formulation is accurate for all temperatures and pressures, for steam
55 * and for water, even near the critical point. Pressures above 500 MPa and
56 * temperature above 900 C are suspect.
57 */
58 double thermalConductivity() override;
59
60 void init(ThermoPhase* thermo, int mode=0, int log_level=0) override;
61};
62}
63#endif
Headers for the Transport object, which is the virtual base class for all transport property evaluato...
Headers for a class for calculating the equation of state of water from the IAPWS 1995 Formulation ba...
Base class for a phase with thermodynamic properties.
Base class for transport property managers.
Definition Transport.h:72
ThermoPhase & thermo()
Phase object.
Definition Transport.h:103
Transport Parameters for pure water.
double thermalConductivity() override
Returns the thermal conductivity of water at the current conditions (W/m/K)
WaterTransport()=default
default constructor
double bulkViscosity() override
The bulk viscosity in Pa-s.
double viscosity() override
Returns the viscosity of water at the current conditions (kg/m/s)
string transportModel() const override
Identifies the model represented by this Transport object.
void init(ThermoPhase *thermo, int mode=0, int log_level=0) override
Initialize a transport manager.
Namespace for the Cantera kernel.
Definition AnyMap.cpp:564