Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenFOAM-v8 momentumTransport compatability #16

Open
af520 opened this issue Oct 29, 2021 · 1 comment
Open

OpenFOAM-v8 momentumTransport compatability #16

af520 opened this issue Oct 29, 2021 · 1 comment

Comments

@af520
Copy link

af520 commented Oct 29, 2021

In OpenFOAM-v8, the turbulence model libraries were consolidated into a more generalised momentumTransport library, and accelerateCFD will not currently build as it still looks for libturbulenceModels.so, libincompressibleTurbulenceModels.so, libcompressibleTurbulenceModels.so and $ENV{FOAM_SRC}/TurbulenceModels/*/lnInclude, instead of momentumTransport

This can be fixed by modifying CMakeLists.txt:
Replace every instance of turbulenceModels with momentumTransportModels, and TurbulenceModels with MomentumTransportModels
The line $ENV{FOAM_LIBBIN}/libcompressibleTransportModels.so must also be removed, and the references to $ENV{FOAM_SRC}/transportModels/* need to be removed/updated

@akashaero
Copy link
Contributor

Thank you so much for pointing out Openfoam 8 compatibility errors. For now, we have updated this code for OpenFOAM 8 compatibility under a new branch. We have some plans to broaden the support for newer OpenFOAM versions. Stay tuned for that!

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

No branches or pull requests

2 participants