-
Notifications
You must be signed in to change notification settings - Fork 65
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
Make in openfoam v9 error #48
Comments
Hello Jiaqi, I noticed that the error occurred after compiling some files for Catch2. Have you tried building with -DCMAKE_BUILD_TYPE=Release to ignore tests? I think the library can work witout that part. Lines 243 to 249 in f45593a
Best, Fracturist |
Hi, Fracturist.
|
I believe it has something to do with the mesh functions and maybe some names have changed from v8 to v9 or the function signature. I would need to look into that for a moment and see what changes had been made from v8 to v9. Generally, at some point the library wont be able to work for both versions as more and more they diverge and it would require a lot of pre processing macros to then switch between the versions. |
I probably get to it in the next few weeks but you can also have a look at it yourself. Try to see in which file and which function it fails, you can also use a IDE like visual code, it you are more familiar with this. Once you located the troublesome functions check the change logs of OpenFOAM v8 to v9 and try to find out what has changed for these functions. Alternatively, go to the documentation page and the Doxygen and look the class up and see how the function is called now or what arguments it requires. When you can get it to compile with v9 you can create a pull request to merge your changes into this library. |
I found the issue. They have refactored the snappyHexMesh and polyMeshAddr functions
This change substantially changes how the reconstructParMesh works. You would need to work through how the merge process is managed now and how to merge the connecting patches/faces. |
Hi, WENOEXT,
Do you have a plan to update the WENOEXT to openfoam v9?
Now, there is a bug, below:
The text was updated successfully, but these errors were encountered: