CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Converting custom solver from old version to openFoam4.1 (https://www.cfd-online.com/Forums/openfoam-solving/191106-converting-custom-solver-old-version-openfoam4-1-a.html)

Nigel Bruce Khan July 31, 2017 21:53

Converting custom solver from old version to openFoam4.1
 
1 Attachment(s)
Hello, I am a new openFOam user and I'm trying to use this custom-made solver i found called meltFoam (attached to post) to model the melting of an ice-cream. My problem is that this solver was written on an old version of openFoam. I have openFoam 4.1 and this solver does not compile with my version. Could you please suggest the changes i need to make to the solver so that it compiles in openFoam4.1. Or if you can provide a link to a similar melting/solidification software that runs on openFoam4.1 that would be good too. Any help would be appreciated. Thank you.

tiam August 1, 2017 05:03

Quote:

Originally Posted by Nigel Bruce Khan (Post 659043)
Hello, I am a new openFOam user and I'm trying to use this custom-made solver i found called meltFoam (attached to post) to model the melting of an ice-cream. My problem is that this solver was written on an old version of openFoam. I have openFoam 4.1 and this solver does not compile with my version. Could you please suggest the changes i need to make to the solver so that it compiles in openFoam4.1. Or if you can provide a link to a similar melting/solidification software that runs on openFoam4.1 that would be good too. Any help would be appreciated. Thank you.

This is less trivial than you perhaps think. The API gets broken all the time without the changes being summarized. There is a changelist for the latest two versionf of OF+ that might be of help to you, since they merge stuff from the foundation version as well.

http://www.openfoam.com/documentatio...rade-guide.php

You probably have to dig on your own and then ask more concrete questions here to get help.

Best,
Timofey

Nigel Bruce Khan August 11, 2017 10:45

Thank you. I'll try to do what I can with the link you have given. Sorry for the late reply.


All times are GMT -4. The time now is 20:59.