A number of fixes have been made to the mass transfer implementations in the phase system hierarchy in order to improve conservation of energy, and other properties. From an implementation perspective, each phase system that defines mass transfer now has also to implement all property transfers that occur as a result. The base classes no longer generate the transfers automatically; it is not in general possible to correctly calculate the property transfer terms from a single accumulated mass transfer rate. To facilitate this additional burden on the derived layers, a number of addDmdt? and addDmidt? methods have been added which compute and add these transfers into the governing equations in a generic manner. In the case of simple explicit mass transfers, a mass-transferring system need only pass a table of the transfer rates to these functions in order to generate the appropriate transfer terms. The difference between the addDmdt? and addDmidt? methods is that the former takes a table of bulk transfers across the interfaces, whilst the latter takes a table-of-tables of individual species transfers. Updates to PopulationBalancePhaseSystem and ThermalPhaseChangePhaseSystem were provided by Timo Niemi, and Juho Peltola, VTT.
README for OpenFOAM-dev
- About OpenFOAM
- Copyright
- Download and installation instructions
- Documentation
- Source code documentation
- OpenFOAM C++ Style Guide
- Reporting bugs in OpenFOAM
- Contacting the OpenFOAM Foundation
#
About OpenFOAM
OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.
Copyright
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. See the file COPYING in this directory or
http://www.gnu.org/licenses/, for a description of the GNU General Public
License terms under which you can copy the files.