All of the film transport equations are now formulated with respect to the film volume fraction in the region cell layer rather than the film thickness which ensures mass conservation of the film even as it flows over curved surfaces and around corners. (In the previous formulation the conservation error could be as large as 15% for a film flowing around a corner.) The film Courant number is now formulated in terms of the film cell volumetric flux which avoids the stabilised division by the film thickness and provides a more reliable estimate for time-step evaluation. As a consequence the film solution is substantially more robust even though the time-step is now significantly higher. For film flow dominated problem the simulations now runs 10-30x faster. The inconsistent extended PISO controls have been replaced by the standard PIMPLE control system used in all other flow solvers, providing consistent input, a flexible structure and easier maintenance. The momentum corrector has been re-formulated to be consistent with the momentum predictor so the optional PIMPLE outer-corrector loop converges which it did not previously. nonuniformTransformCyclic patches and corresponding fields are no longer needed and have been removed which paves the way for a future rationalisation of the handling of cyclic transformations in OpenFOAM to improve robustness, usability and maintainability. Film sources have been simplified to avoid the need for fictitious boundary conditions, in particular mappedFixedPushedInternalValueFvPatchField which has been removed. Film variables previously appended with an "f" for "film" rather than "face" have been renamed without the unnecessary and confusing "f" as they are localised to the film region and hence already directly associated with it. All film tutorials have been updated to test and demonstrate the developments and improvements listed above. Henry G. Weller CFD Direct Ltd.
OpenFOAM Configuration
The main OpenFOAM settings are located in the parent etc/ directory. The bash and csh shells are supported and to configure OpenFOAM source etc/bashrc or etc/cshrc respectively which source the following files in the config.sh or config.csh respectively:
settings: core settingsaliases: aliases for interactive shellsunset: sourced to clear as many OpenFOAM environment settings as possiblempi: MPI communications library settingsensight: application settings for EnSightparaview: application settings for ParaViewscotch: application settings for compiling against scotchmetis: application settings for compiling against metis 5
The config.*/example directories contains various example configuration files for the corresponding shell:
compiler: an example of fine tuning ThirdParty compiler settingsopenmpi: an example of fine tuning openmpi settings for OpenFOAMparaview: an example of chaining to the standard config/paraview with a different ParaView_VERSIONprefs: an example of supplying alternative site-defined settings