It is now possible to map from one field to another within the same patch, using the mappedValue boundary condition. The restriction is that the mapping must be from a different field, otherwise field values are being assigned to themselves, which produces an undefined result. The mappedValue boundary condition can now be used in place of the copiedFixedValue condition in the multiphaseEuler module. The copiedFixedValue condition has therefore been removed. In addition, the error messages that result from casting a patch to its mapping engine (mappedPatchBase) have been standardised, and made more specific to the situation in which the mapping is applied. It may be inappropriate, for example, to map within the same region or patch. These cases are now identified and appropriate error messages are generated. The error messages have also been made IO errors, so they now provide context with regards to the dictionary entries that they relate to.
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.