Cantera  3.2.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 [Pa·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 [W/m/K] of water at the current conditions
47 /*!
48 * This function calculates the value of the thermal conductivity of water
49 * at the current T and P.
50 *
51 * The formulas used are from Sengers and Watson @cite sengers1986.
52 *
53 * The formulation is accurate for all temperatures and pressures, for steam
54 * and for water, even near the critical point. Pressures above 500 MPa and
55 * temperature above 900 C are suspect.
56 */
57 double thermalConductivity() override;
58
59 void init(ThermoPhase* thermo, int mode=0) override;
60};
61}
62#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 [W/m/K] of water at the current conditions.
WaterTransport()=default
default constructor
void init(ThermoPhase *thermo, int mode=0) override
Initialize a transport manager.
double bulkViscosity() override
The bulk viscosity [Pa·s].
double viscosity() override
Returns the viscosity of water at the current conditions [Pa·s].
string transportModel() const override
Identifies the model represented by this Transport object.
Namespace for the Cantera kernel.
Definition AnyMap.cpp:595