/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2022 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see .
Class
Foam::heatExchangerModels::effectivenessTable
Description
A heat exchanger model where heat exchange
is calculated via an effectiveness table.
The total heat exchange source is given by:
\f[
Q_t = e(\phi, \dot{m}_2) (T_2 - T_1) \phi C_p
\f]
where:
\vartable
Q_t | Total heat exchange source [J/s]
e(\phi,\dot{m}_2) | Effectivenes table [-]
\phi | Net mass flux entering heat exchanger [kg/s]
\dot{m}_2 | Secondary flow mass flow rate [kg/s]
T_1 | Primary flow inlet temperature [K]
T_2 | Secondary flow inlet temperature [K]
C_p | Primary flow specific heat capacity [J/kg/K]
\endvartable
The distribution inside the heat exchanger is given by:
\f[
Q_c = \frac{V_c |U_c| (T_c - T_{ref})}{\sum(V_c |U_c| (T_c - T_{ref}))}
\f]
where:
\vartable
Q_c | Source for cell
V_c | Volume of the cell [m^3]
U_c | Local cell velocity [m/s]
T_c | Local cell temperature [K]
T_{ref} | Min or max(T) in cell zone depending on the sign of Qt [K]
\endvartable
Usage
Minimal example by using \c constant/fvOptions:
\verbatim
{
// Inherited entries
...
// Mandatory entries
model effectivenessTable;
secondaryMassFlowRate ;
secondaryInletT ;
file "";
outOfBounds ;
// Conditional optional entries
// when the total heat exchange is calculated with primary inlet T
primaryInletT ;
// when the total heat exchange is calculated with a given target
targetQdot ;
targetQdotCalcInterval