-
Notifications
You must be signed in to change notification settings - Fork 3
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
Compatibility with newer med library version #3
Comments
Hi Roberto, I am glad that someone is still on this because I have been struggling with building it for a while now. When I tried to build it with MED 4.0.0 I got an error:
Dig into cpp.openfoam.org and looked through IOobject.H I found that headerOK() have changed to typeHeaderOk() in OpenFOAM 6.0 (also in 7.0 actually). So I change headerOk() to typeHeaderOk() in checkMeshMoving.H file and build again but got another error:
You mentioned you got it work fine in OpenFOAM 7.0 so I will appreciate if you can give some tip. Thank you and best regards, niuniuaba |
@niuniuaba |
@robertodavia
That works for me. You really save my day, thank you so much! When it comes to typeHeaderOk, I did some research and found that the point is the way to call this function. Take a look at file IOobjectTemplates.C where the function is defined you will find that typeHeaderOk is a template function and it should be called in a form like Best regards, |
Hey, sorry for not responding so far, |
@mortbauer |
Hi Roberto, feel free to fork a repository if you can. I am afraid that it is far beyond my capability. I can read some code but I never write any piece of them in any programming language so far. Best regards, |
Hello,
first of all I want to thank you for the usefull application you built.
As it is the application works fine with OpenFOAM 7.0 and med 3.3.1. In order to make it work with a newer version of med, namely 4.0.0, some modifications should be made.
Thank you,
Roberto Da Vià
The text was updated successfully, but these errors were encountered: