de\boost\preprocessor\slot\detail\def.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\preprocessor\enum_params.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\preprocessor\repetition\enum_params.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\detail\is_mem_fun_pointer_tester.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\detail\is_function_ptr_tester.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_scalar.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_arithmetic.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_integral.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_float.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_enum.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\add_reference.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_function.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\detail\is_function_ptr_helper.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_void.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\is_polymorphic.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\add_rvalue_reference.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\remove_reference.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\type_traits\msvc\remove_reference.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\iterator\detail\config_def.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\iterator\detail\config_undef.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\iterator\iterator_traits.hpp \
		..\FabScan_source_Windows\pcl\3rdParty\Boost\include\boost\detai<html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
   <meta name="date" content="2015-03-15 19:48:59-04:00"><title>1.2.2.&nbsp;Equations of State</title><link rel="stylesheet" type="text/css" href="gifplayer.css"><link rel="stylesheet" type="text/css" href="viewer.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="cfx_thry.html" title="CFX-Solver Theory Guide"><link rel="up" href="i1299405.html" title="1.2.&nbsp;Governing Equations"><link rel="prev" href="i1299421.html" title="1.2.1.&nbsp;Transport Equations"><link rel="next" href="i1299720.html" title="1.2.3.&nbsp;Conjugate Heat Transfer"><script type="text/javascript"><!--
function toggleElementDisplay (id) {
  var elem = document.getElementById(id);
  if (elem.style.display != "block") {
    elem.style.display = "block";
  } else {
    elem.style.display = "none";
  }
}
//--></script></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="1.2.2.&nbsp;Equations of State"><div class="titlepage"><div><div><h3 class="title"><a name="i1299475"></a>1.2.2.&nbsp;Equations of State</h3></div></div></div><p>The transport equations described above must be augmented with
constitutive equations of state for density and for enthalpy in order
to form a closed system. In the most general case, these state equations
have the form:</p><div class="informalequation"><div><img src="graphics/md0e15291.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15320.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15382.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15436.svg"></div></div><p>Various special cases for particular material types are described
below.</p><div class="section" title="1.2.2.1.&nbsp;Incompressible Equation of State"><div class="titlepage"><div><div><h4 class="title"><a name="a1258tg"></a>1.2.2.1.&nbsp;Incompressible Equation of State</h4></div></div></div><a class="indexterm" name="d0e3338"></a><a class="indexterm" name="d0e3343"></a><p>This is the simplest case: density is constant and <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e15498.svg"></span> can be (at most) a function of temperature.</p><div class="informalequation"><div><img src="graphics/md0e15515.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15544.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15592.svg"></div></div></div><div class="section" title="1.2.2.2.&nbsp;Ideal Gas Equation of State"><div class="titlepage"><div><div><h4 class="title"><a name="i1299497"></a>1.2.2.2.&nbsp;Ideal Gas Equation of State</h4></div></div></div><a class="indexterm" name="d0e3360"></a><a class="indexterm" name="d0e3365"></a><p><a class="indexterm" name="d0e3369"></a>For an ideal gas, density is calculated
from the Ideal Gas law and <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e15647.svg"></span> can be (at most) a
function of temperature:</p><div class="informalequation"><div><img src="graphics/md0e15662.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15707.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e15737.svg"></div></div><p><a class="indexterm" name="d0e3385"></a>where <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e15778.svg"></span> is the molecular
weight, <span class="inlineequation" style="&#xA;        vertical-align:-10.000000px"><img src="graphics/md0e15785.svg"></span> is the absolute pressure, and <span class="inlineequation" style="&#xA;        vertical-align:-3.000000px"><img src="graphics/md0e15805.svg"></span> is the universal gas constant.</p></div><div class="section" title="1.2.2.3.&nbsp;Real Gas and Liquid Equations of State"><div class="titlepage"><div><div><h4 class="title"><a name="a1259tg"></a>1.2.2.3.&nbsp;Real Gas and Liquid Equations of State</h4></div></div></div><p>In the current version of ANSYS CFX, the Redlich Kwong equation
of state is available as a built-in option for simulating real gases.
It is also available through several pre-supplied CFX-TASCflow RGP
files. The Vukalovich Virial equation of state is also available but
currently only by using CFX-TASCflow RGP tables.</p><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><hr><p><span class="admontitle"><b>Note:</b></span>&nbsp;&nbsp;It is not possible to couple particles with gases that
use the 'real gas' equations of state. </p><p>This limitation
is caused by the way the particle tracker stores and accesses material
properties for coupled gas components and particle components. For
performance reasons, the particle tracker uses its own material database--which
is limited to either constant properties or temperature-dependent
properties (specific heats, enthalpy). The property database of the
particle tracker does not support pressure-dependent properties. </p><hr></div><div class="section" title="1.2.2.3.1.&nbsp;Real Gas Properties"><div class="titlepage"><div><div><h5 class="title"><a name="i1299514"></a>1.2.2.3.1.&nbsp;Real Gas Properties</h5></div></div></div><p>Cubic equations of state are a convenient means for predicting
real fluid behavior. They are highly useful from an engineering standpoint
because they generally only require that you know the fluid critical
point properties, and for some versions, the acentric factor. These
properties are well known for many pure substances or can be estimated
if not available. They are called cubic equations of state because,
when rearranged as a function volume they are cubic in volume. This
means that cubic state equations can be used to predict both liquid
and vapor volumes at a given pressure and temperature. Generally the
lowest root is the liquid volume and the higher root is the vapor
volume.</p><p>Four versions of cubic state equations are available: Standard
Redlich Kwong, Aungier Redlich Kwong, Soave Redlich Kwong, and Peng
Robinson. The Redlich-Kwong equation of state was first published
in 1949 [<a href="../cfx_ref/i1375448.html#i1378514" class="olink"><i>85</i></a>]
and is considered one of the most accurate two-parameter corresponding
states equations of state. More recently, Aungier (1995) [<a href="../cfx_ref/i1375448.html#i1374765" class="olink"><i>96</i></a>] has modified the
Redlich-Kwong equation of state so that it provides much better accuracy
near the critical point. The Aungier form of this equation of state
is the default cubic equation used by ANSYS CFX. The Peng Robinson [<a href="../cfx_ref/e123456.html#bib_rgbc_2" class="olink"><i>157</i></a>]] and Soave Redlich
Kwong equation of state were developed to overcome the shortcomings
of the Redlich Kwong equations to accurately predict liquid properties
and vapor-liquid equilibrium.</p><div class="section" title="1.2.2.3.1.1.&nbsp;Redlich Kwong Models"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRealRedl"></a>1.2.2.3.1.1.&nbsp;Redlich Kwong Models</h6></div></div></div><p>The Redlich Kwong variants of the cubic equations of state are
written as:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="i1299520"></a><div><img src="graphics/md0e15869.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;94)</b></p></td></tr></table><p>where <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e15935.svg"></span> is the specific volume <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e15943.svg"></span>.</p><div class="section" title="1.2.2.3.1.1.1.&nbsp;The Standard Redlich Kwong Model"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRedlStan"></a>1.2.2.3.1.1.1.&nbsp;The Standard Redlich Kwong Model</h6></div></div></div><p>The Standard Redlich Kwong model sets the parameter <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e15977.svg"></span> to zero,
and the function <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e15984.svg"></span> to:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e15996.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;95)</b></p></td></tr></table><p>where <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16045.svg"></span> is <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16052.svg"></span> and</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16064.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;96)</b></p></td></tr></table><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16121.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;97)</b></p></td></tr></table></div><div class="section" title="1.2.2.3.1.1.2.&nbsp;The Aungier Redlich Kwong Model"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRedlAung"></a>1.2.2.3.1.1.2.&nbsp;The Aungier Redlich Kwong Model</h6></div></div></div><p>The Aungier form differs from the original by a non-zero parameter <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16169.svg"></span> that is
added to improve the behavior of isotherms near the critical point,
as well as setting the exponent <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16176.svg"></span> differently. The parameter <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16184.svg"></span> in <a class="xref" href="i1299475.html#i1299520" title="(1&#8211;94)"><i>Equation&nbsp;1&#8211;94</i></a> is given by:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16198.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;98)</b></p></td></tr></table><p>and the standard Redlich Kwong exponent of <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16292.svg"></span> is replaced by
a general exponent <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16304.svg"></span>. Optimum values of <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16312.svg"></span> depend on
the pure substance. Aungier (1995) [<a href="../cfx_ref/i1375448.html#i1374765" class="olink"><i>96</i></a>] presented values for twelve experimental
data sets to which he provided a best fit polynomial for the temperature
exponent <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16321.svg"></span> in terms of the acentric factor, <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16329.svg"></span>:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="i1354958"></a><div><img src="graphics/md0e16341.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;99)</b></p></td></tr></table></div><div class="section" title="1.2.2.3.1.1.3.&nbsp;The Soave Redlich Kwong Model"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRedlSoav"></a>1.2.2.3.1.1.3.&nbsp;The Soave Redlich Kwong Model</h6></div></div></div><p>The Soave Redlich Kwong real gas model was originally published
by Soave (1972). The model applies to non-polar compounds and improves
on the original Redlich Kwong model by generalizing the attraction
term to depend on the acentric factor, which accounts for molecules
being non-spherical, and accounting for a range of vapor pressure
data in the development of the temperature dependency of this parameter. </p><p>The Soave Redlich Kwong equation is explicit in pressure, and
given by:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="dupli1299520"></a><div><img src="graphics/md0e16394.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;100)</b></p></td></tr></table><p>where:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16465.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;101)</b></p></td></tr></table><p>as in the original Redlich Kwong equation, and </p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16506.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;102)</b></p></td></tr></table><p>where:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16581.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;103)</b></p></td></tr></table><p>and the parameter <span class="emphasis"><em>n</em></span> is computed as a function
of the acentric factor, &#969;:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16641.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;104)</b></p></td></tr></table></div></div><div class="section" title="1.2.2.3.1.2.&nbsp;Peng Robinson Model"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRealPeng"></a>1.2.2.3.1.2.&nbsp;Peng Robinson Model</h6></div></div></div><p>The Peng Robinson model also gives pressure as a function of
temperature and volume: </p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="i1299529"></a><div><img src="graphics/md0e16689.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;105)</b></p></td></tr></table><p>where:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16753.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;106)</b></p></td></tr></table><p>as in the original Redlich Kwong equation, and </p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16793.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;107)</b></p></td></tr></table><p>where:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16868.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;108)</b></p></td></tr></table><p>and the parameter <span class="emphasis"><em>n</em></span> is computed as a function
of the acentric factor, &#969;:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e16928.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;109)</b></p></td></tr></table></div><div class="section" title="1.2.2.3.1.3.&nbsp;Real Gas Constitutive Relations"><div class="titlepage"><div><div><h6 class="title"><a name="cfxBasiRealReal"></a>1.2.2.3.1.3.&nbsp;Real Gas Constitutive Relations</h6></div></div></div><p>In order to provide a full description of the gas properties,
the flow solver must also calculate enthalpy and entropy. These are
evaluated using slight variations on the general relationships for
enthalpy and entropy that were presented in the previous section on
variable definitions. The variations depend on the zero pressure,
ideal gas, specific heat capacity and derivatives of the equation
of state. The zero pressure specific heat capacity must be supplied
to ANSYS CFX while the derivatives are analytically evaluated from <a class="xref" href="i1299475.html#i1299520" title="(1&#8211;94)"><i>Equation&nbsp;1&#8211;94</i></a> and <a class="xref" href="i1299475.html#i1299529" title="(1&#8211;105)"><i>Equation&nbsp;1&#8211;105</i></a>.</p><p>Internal energy is calculated as a function of temperature and
volume (<span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e16971.svg"></span>, <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e16978.svg"></span>) by integrating
from the reference state (<span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e16985.svg"></span>, <span class="inlineequation" style="&#xA;        vertical-align:-6.000000px"><img src="graphics/md0e17001.svg"></span>) along path 'amnc' (see diagram below) to the required
state (<span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e17017.svg"></span>, <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e17024.svg"></span>) using the following
differential relationship:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17036.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;110)</b></p></td></tr></table><div class="informalfigure"><div class="mediaobject"><span class="imagedata" style="position: relative;bottom:0.000in"><img src="graphics/basic_capability_TV_chart.jpg"></span></div></div><p>First the energy change is calculated at constant temperature
from the reference volume to infinite volume (ideal gas state), then
the energy change is evaluated at constant volume using the ideal
gas <span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e17117.svg"></span>. The final
integration, also at constant temperature, subtracts the energy change
from infinite volume to the required volume. In integral form, the
energy change along this path is:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17137.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;111)</b></p></td></tr></table><p>Once the internal energy is known, then enthalpy is evaluated
from internal energy:</p><p><span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e17387.svg"></span></p><p>The entropy change is similarly evaluated:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17414.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;112)</b></p></td></tr></table><p>where <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e17671.svg"></span> is the zero pressure ideal gas specific heat capacity.
By default, ANSYS CFX uses a 4th order polynomial for this and requires
that coefficients of that polynomial are available. These coefficients
are tabulated in various references including Poling et al. [<a href="../cfx_ref/i1375448.html#i1374529" class="olink"><i>84</i></a>].</p><p>In addition, a suitable reference state must be selected to
carry out the integrations. The selection of this state is arbitrary,
and can be set by the user, but by default, ANSYS CFX uses the normal
boiling temperature (which is provided) as the reference temperature
and the reference pressure is set to the value of the vapor pressure
evaluated using <a class="xref" href="i1299475.html#BGBDCBCE" title="(1&#8211;118)"><i>Equation&nbsp;1&#8211;118</i></a> at
the normal boiling point. The reference enthalpy and entropy are set
to zero at this point by default, but can also be overridden if desired.</p><p>Other properties, such as the specific heat capacity at constant
volume, can be evaluated from the internal energy. For example, the
Redlich Kwong model uses:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17705.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;113)</b></p></td></tr></table><p>where <span class="inlineequation" style="&#xA;        vertical-align:-3.000000px"><img src="graphics/md0e17821.svg"></span> is the ideal gas portion of the internal energy:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17841.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;114)</b></p></td></tr></table><p>specific heat capacity at constant pressure, <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e17928.svg"></span>, is calculated from <span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e17944.svg"></span> using:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e17964.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;115)</b></p></td></tr></table><p>where <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e18014.svg"></span> and <span class="inlineequation" style="&#xA;        vertical-align:-1.000000px"><img src="graphics/md0e18021.svg"></span> are the volume
expansivity and isothermal compressibility, respectively. These two
values are functions of derivatives of the equation of state and are
given by:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18033.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;116)</b></p></td></tr></table><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18106.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;117)</b></p></td></tr></table></div></div><div class="section" title="1.2.2.3.2.&nbsp;Real Gas Saturated Vapor Properties"><div class="titlepage"><div><div><h5 class="title"><a name="cfxBasiRealReal1"></a>1.2.2.3.2.&nbsp;Real Gas Saturated Vapor Properties</h5></div></div></div><p>When running calculations with liquid condensing out of the
vapor (equilibrium phase change or Eulerian thermal phase change model)
or dry calculations, the flow solver needs to know the form of the
vapor pressure curve. Pressure and temperature are not independent
in the saturation dome, so vapor saturation properties are evaluated
by first assuming an equation that gives the dependence of vapor pressure
on temperature, and then substituting that into the equation of state.</p><p>For materials that use the cubic equations of state ANSYS CFX approximates
the vapor pressure curve using a form given by Poling et al. [<a href="../cfx_ref/i1375448.html#i1374529" class="olink"><i>84</i></a>]:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="BGBDCBCE"></a><div><img src="graphics/md0e18170.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;118)</b></p></td></tr></table><p>Vapor saturation properties are calculated by evaluating the
equation of state and constitutive relations along the saturation
curve.</p></div><div class="section" title="1.2.2.3.3.&nbsp;Real Gas Liquid Properties"><div class="titlepage"><div><div><h5 class="title"><a name="cfxBasiRealReal2"></a>1.2.2.3.3.&nbsp;Real Gas Liquid Properties</h5></div></div></div><p>As previously mentioned, it is possible to derive liquid densities
directly from the cubic state equations, however, this is not always
desirable. For example, the Redlich Kwong models are very inaccurate,
and sometimes completely wrong, in the compressed liquid regime.</p><p>Instead, when you select to use one of the Redlich Kwong variants
for a liquid, the properties are assumed to vary along the vapor pressure
curve as a function of saturation temperature. These properties are
approximate and should only be used when the amount of liquid in your
calculation will be small. For example, they work well with the equilibrium
condensation model or non-equilibrium small droplet phase change model.</p><p>To derive the liquid enthalpy and entropy, such that they are
completely consistent with the gas phase, requires all the same data
as is provided for the gas phase: the critical point data, the acentric
factor and the zero pressure specific heat coefficients.</p><p>To calculate saturated liquid densities, an alternative equation
of state originally published by Yamada and Gunn (1973), is used by
CFX that gives liquid specific volume as a function of temperature:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18284.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;119)</b></p></td></tr></table><p>This equation is convenient because it only requires knowledge
of the critical volume and temperature as well as the acentric factor.
The valid temperature range for the liquid equation of state is 0.4<span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e18364.svg"></span> &lt; <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e18380.svg"></span> &lt; 0.99<span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e18387.svg"></span>. The solver will clip the temperature used in this
equation to that range.</p><p>Saturated liquid enthalpy is calculated using knowledge of the
gas saturation enthalpy and the following equation:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18411.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;120)</b></p></td></tr></table><p>where the enthalpy of vaporization, <span class="inlineequation" style="&#xA;        vertical-align:-7.000000px"><img src="graphics/md0e18449.svg"></span>, is given by the following expression taken from
Poling et al. [<a href="../cfx_ref/i1375448.html#i1374529" class="olink"><i>84</i></a>]:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18472.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;121)</b></p></td></tr></table><p>Saturated liquid entropy can easily be derived using the second
law and the gas saturation entropy:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18587.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;122)</b></p></td></tr></table><p>Prediction of liquid specific heat capacity with the Redlich
Kwong equation has a similar problem to the liquid density, so ANSYS CFX uses
an alternative form presented by Aungier (2000):</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18636.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;123)</b></p></td></tr></table><p>which requires knowledge of the zero pressure heat capacity
coefficients, as well as the acentric factor. For the saturated liquid
it is assumed that <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e18750.svg"></span>.</p><p>Note that the use of either of the Redlich Kwong models for
flows of almost entirely pure liquid is highly discouraged. If you
want to use one of the cubic equations of state for this type of problem,
then use the Peng Robinson or Soave Redlich Kwong state equations
and set the expert parameter <code class="constant">realeos liquid prop</code> to <code class="constant">2</code>. This forces the liquid properties to
be dependent on temperature and pressure, fully consistently with
the equation of state. Saturation properties are also evaluated as
described for gases in <a class="xref" href="i1299475.html#cfxBasiRealReal1" title="1.2.2.3.2.&nbsp;Real Gas Saturated Vapor Properties"><i>Real Gas Saturated Vapor Properties</i></a>.</p></div><div class="section" title="1.2.2.3.4.&nbsp;IAPWS Equation of State"><div class="titlepage"><div><div><h5 class="title"><a name="BGBDDGAI"></a>1.2.2.3.4.&nbsp;IAPWS Equation of State</h5></div></div></div><p>The IAPWS-IF97 database represents an accurate equation of state
for water and steam properties. The database is fully described elsewhere
[<a href="../cfx_ref/e123654.html#BIHFFGFA" class="olink"><i>125</i></a>], but a
summary will be provided in this section. The IAPWS database uses
formulations for five distinct thermodynamic regions for water and
steam, namely:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>subcooled water (1)</p></li><li class="listitem"><p>supercritical water/steam (2)</p></li><li class="listitem"><p>superheated steam (3)</p></li><li class="listitem"><p>saturation data (4)</p></li><li class="listitem"><p>high temperature steam (5)</p></li></ul></div><div class="figure"><a name="BGBHHJAG"></a><p class="title"><b>Figure&nbsp;1.1:&nbsp;&nbsp;Regions and Equations of IAPWS-IF97</b></p><div class="figure-contents"><div class="mediaobject"><span class="imagedata" style="position: relative;bottom:0.000in"><img src="graphics/IAPWS_regions_and_equations.jpg" alt="Regions and Equations of IAPWS-IF97"></span></div></div></div><br class="figure-break"><p>Region 5 has not been implemented in ANSYS CFX because it represents
a thermodynamic space at very high temperatures (1073.15 - 2273.15
K) and reasonably low pressures (0-10 MPa) that can be adequately
described using other property databases already in ANSYS CFX (that
is, Ideal Gas EOS with NASA specific heat and enthalpy). Furthermore,
because this region is not defined for pressures up to 100 MPa, as
is the case for regions 1, 2 and 3, problems arise in filling out
the pressure-temperature space in the tables when temperatures exceed
1073.15 K and pressures exceed 10 MPa. The database implemented in
CFX therefore covers temperatures ranging from 273.15 to 1073.15 K
and pressures ranging from 611 Pa to 100 MPa.</p><p>The reference state for the IAPWS library is the triple point
of water. Internal energy, entropy and enthalpy are all set to zero
at this point.</p><p>T<sub>ref</sub> = 273.16 K, P<sub>ref</sub> = 611.657 Pa, u<sub>liquid</sub> = 0 J/kg,
s<sub>liquid</sub> = 0 J/kg/K, h<sub>liquid</sub> = 0 J/kg</p><p>In ANSYS CFX, the analytical equation of state is used to transfer
properties into tabular form, which can be evaluated efficiently in
a CFD calculation. These IAPWS tables are defined in terms of pressure
and temperature, which are then inverted to evaluate states in terms
of other property combinations (such as pressure/enthalpy or entropy/enthalpy).
When developing the IAPWS database for ANSYS CFX, therefore, properties
must be evaluated as functions of pressure and temperature. For the
most part, this involves a straightforward implementation of the equations
described in the IAPWS theory [<a href="../cfx_ref/e123654.html#BIHFFGFA" class="olink"><i>125</i></a>]. Region 4 involves saturation data
that uses only pressure or temperature information.</p><p>However, some difficulties are encountered when evaluating the
properties around Region 3 (near the critical point), where the EOS
is defined explicitly in terms of density and temperature. In this
region, the density must be evaluated using Newton-Raphson iteration.
This algorithm is further complicated in that the EOS is applicable
on both the subcooled liquid and superheated vapor side leading up
to critical conditions. Therefore, depending on the pressure-temperature
state, one may be evaluating a subcooled liquid or a superheated vapor
with the same EOS. To apply the Newton-Raphson scheme in a reliable
way, one must detect on which side of the saturation dome the pressure-temperature
state applies, and apply an appropriate initial guess. Such an iteration
scheme, including logic for an initial guess, has been implemented
in ANSYS CFX so that table generation around the critical region is
possible.</p></div><div class="section" title="1.2.2.3.5.&nbsp;Metastable Superheated Liquid/Supercooled Vapor States"><div class="titlepage"><div><div><h5 class="title"><a name="cfxBasiRealMeta"></a>1.2.2.3.5.&nbsp;Metastable Superheated Liquid/Supercooled Vapor States</h5></div></div></div><p>The IAPWS library also extends to metastable states, so that
this equation of state is available for non-equilibrium phase change
models such as the Droplet Condensation Model. The EOS for regions
1 and 3 in <a class="xref" href="i1299475.html#BGBHHJAG" title="Figure&nbsp;1.1:&nbsp;&nbsp;Regions and Equations of IAPWS-IF97"><i>Figure&nbsp;1.1:&nbsp;Regions and Equations of IAPWS-IF97</i></a> are stated
to have reasonable accuracy for metastable states close to the saturation
line d liquid states [<a href="../cfx_ref/e123654.html#BIHFFGFA" class="olink"><i>125</i></a>]. However, the term &#8220;reasonable&#8221; is not quantified,
and therefore the degree to which the extrapolation of the EOS can
be applied is unknown.</p><p>In region 2, an additional set of equations have been developed
for supercooled vapor conditions under 10 MPa. These equations have
been tuned to match the saturation data. Above 10 MPa, the EOS for
the superheated region can safely be extrapolated into supercooled
conditions, but it does not match smoothly with the specialized supercooled
equations below 10 MPa.</p></div><div class="section" title="1.2.2.3.6.&nbsp;Numerical Testing to Delineate Metastable Regions"><div class="titlepage"><div><div><h5 class="title"><a name="cfxBasiRealNume"></a>1.2.2.3.6.&nbsp;Numerical Testing to Delineate Metastable Regions</h5></div></div></div><p>In order to make the IAPWS database as robust as possible, numerical
testing has been done to determine approximate metastable vapor/liquid
spinodal lines. <a class="xref" href="i1299475.html#BGBBBFFG" title="Figure&nbsp;1.2:&nbsp;&nbsp;Spinodal Limits Built into Tables"><i>Figure&nbsp;1.2:&nbsp;Spinodal Limits Built into Tables</i></a> is given
to demonstrate these spinodal lines that are essentially boundaries
up to which metastable conditions can exist. These would be defined
similar to saturation curves as functions of either temperature or
pressure. The IAPWS database tables are always generated up to these
limits regardless of what flow models are specified (equilibrium or
non-equilibrium) and therefore allow non-equilibrium phase change
models to be applied.</p><div class="figure"><a name="BGBBBFFG"></a><p class="title"><b>Figure&nbsp;1.2:&nbsp;&nbsp;Spinodal Limits Built into Tables</b></p><div class="figure-contents"><div class="mediaobject"><span class="imagedata" style="position: relative;bottom:0.000in"><img src="graphics/spinodal_limits.jpg" alt="Spinodal Limits Built into Tables"></span></div></div></div><br class="figure-break"></div><div class="section" title="1.2.2.3.7.&nbsp;The Acentric Factor"><div class="titlepage"><div><div><h5 class="title"><a name="sect_acentric_fact"></a>1.2.2.3.7.&nbsp;The Acentric Factor</h5></div></div></div><p>The acentric factor must be supplied when running the real gas
models and is tabulated for many common fluids in Poling et al. [<a href="../cfx_ref/i1375448.html#i1374529" class="olink"><i>84</i></a>]. If you do not
know the acentric factor, or it is not printed in a common reference,
it can be estimated using knowledge of the critical point and the
vapor pressure curve with this formula:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><div><img src="graphics/md0e18915.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;124)</b></p></td></tr></table><p>where the vapor pressure, <span class="inlineequation" style="&#xA;        vertical-align:-8.000000px"><img src="graphics/md0e18971.svg"></span>, is calculated
at <span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e18986.svg"></span>. In addition to the critical point pressure, this
formula requires knowledge of the vapor pressure as a function of
temperature.</p></div></div><div class="section" title="1.2.2.4.&nbsp;General Equation of State"><div class="titlepage"><div><div><h4 class="title"><a name="a1257tg"></a>1.2.2.4.&nbsp;General Equation of State</h4></div></div></div><p>User-defined equations of state are also supported: </p><div class="informalequation"><div><img src="graphics/md0e19020.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e19048.svg"></div></div><p>Noting that:</p><div class="informalequation"><div><img src="graphics/md0e19094.svg"></div></div><p>where <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e19166.svg"></span>,</p><p>the equation of state for enthalpy therefore follows as:</p><table width="100%"><colgroup><col width="95%" align="center"><col width="5%" align="right"></colgroup><tr><td align="center"><a name="a1256tg"></a><div><img src="graphics/md0e19194.svg"></div></td><td nowrap="yes" align="right" valign="middle"><p class="title"><b>(1&#8211;125)</b></p></td></tr></table><p>Note, however, that user-defined expressions for <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e19283.svg"></span> and <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e19291.svg"></span> must be thermodynamically consistent. Consistency
requires that mathematical properties for exact differentials be satisfied.
For example, suppose <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e19307.svg"></span> is an exact differential defined as:</p><div class="informalequation"><div><img src="graphics/md0e19330.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e19387.svg"></div></div><div class="informalequation"><div><img src="graphics/md0e19422.svg"></div></div><p>Consistency then requires that:</p><div class="informalequation"><div><img src="graphics/md0e19459.svg"></div></div><p>Applying this concept to <a class="xref" href="i1299475.html#a1256tg" title="(1&#8211;125)"><i>Equation&nbsp;1&#8211;125</i></a>, it therefore follows that general equations
of state must obey:</p><div class="informalequation"><div><img src="graphics/md0e19517.svg"></div></div><p>Note that it is valid to specify a general equation of state
where density is a function of <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e19598.svg"></span> only. Under these circumstances, it is impossible
to heat the fluid at a constant volume, because the thermal expansion
cannot be compensated by a change in pressure. This corresponds to
an infinite value for <span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e19604.svg"></span>, which the solver represents as a large constant
number. Consequently, such an equation of state requires the specification
of <span class="inlineequation" style="&#xA;        vertical-align:-5.000000px"><img src="graphics/md0e19614.svg"></span> (not <span class="inlineequation" style="&#xA;        vertical-align:-4.000000px"><img src="graphics/md0e19623.svg"></span>) as either a constant or a function of <span class="inlineequation" style="&#xA;        vertical-align:0.000000px"><img src="graphics/md0e19634.svg"></span>.</p></div></div><hr><p class="legalfooter"><small><i>Release 16.1 - &copy; SAS IP, Inc. All rights reserved.</i></small></p></body></html>