Skip to content

Add compatibility for OpenFOAM v2406 and update library references#20

Open
XavierNie715 wants to merge 1 commit into
HenningScheufler:masterfrom
XavierNie715:master
Open

Add compatibility for OpenFOAM v2406 and update library references#20
XavierNie715 wants to merge 1 commit into
HenningScheufler:masterfrom
XavierNie715:master

Conversation

@XavierNie715
Copy link
Copy Markdown

This pull request adds support and compatibility fixes for OpenFOAM v2406, ensuring the codebase works with the latest API while maintaining backward compatibility with previous OpenFOAM+ versions (v1812, v2006, v2012). The changes include conditional compilation for new/changed APIs, updates to documentation and usage instructions, and migration to the new library name.

OpenFOAM v2406 compatibility:

  • Added conditional compilation throughout the codebase to support OpenFOAM v2406 API changes, including updates for runtime selection tables, mesh.data().setFinalIteration, writeObject(IOstreamOption, bool), HashTable iterators, and CompactListList packing.

Documentation and usage updates:

  • Updated README.md to document support for OpenFOAM v2406, provide new build instructions, and clarify usage of the correct library name (libdynamicLoadBalanceFvMesh.so). Added explicit instructions for dynamic mesh selection and load balancing options.
    Library and configuration migration:

  • Deprecated the old library name libpolyRef.so in favor of libdynamicLoadBalanceFvMesh.so and updated example configuration files accordingly.
    Minor corrections:

  • Fixed a typo in the documentation (contolDictcontrolDict).

  • Updated a HashTable iterator usage for compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant