0
Old OpenFOAM4.0 solver into the new OpenFOAM8.0

Dear all

I want to compile the old solver (OpenFOAM4.0) into the new OpenFOAM 8.0. What is the parameter I need to change based on the OpenFOAM8.0

Thank you

Regards

Ramakant Gadhewal

NIT Warangal


OpenFOAM 12-11-21, 8:42 a.m. ramakantgadhewal
0
Dear Ramkant,

Converting a source code from one version to another in OpenFOAM is a tedious process. Since OpenFOAM libraries are updated almost every time a new version is out, a jump across 4 version of OpenFOAM is drastic one and would require you to spend a lot of time finding the differences. You could find the nearest possible solver from v8 that'll serve your purpose and make changes to it.

Regards,
Ashley
12-11-21, 3:43 p.m. ashleymelvin

Dear Ashley

The problem is that solver which I am working on PEM fuel cell solver is not available in the OpenFOAM5.6.7.8.9. Why I wanted to use the new OpenFOAM is because of boundary conditions that are not in the OpenFOAM4.0.

Thank you for your kind reply.

 


12-11-21, 4:41 p.m. ramakantgadhewal

Dear Ramkant,

While direct conversion might be almost impossible, you could retrace the steps followed in the creation of the fuel cell solver in OpenFOAM 4.0 and make similar changes - obviously with the updated commands/libraries - to the source code in yours (v8).

Regards,
Ashley


12-11-21, 8 p.m. ashleymelvin

Login to add comment


0
Dear Ashley, Please tell me how to approach any tutorials or lectures? Thank you
12-11-21, 11:48 p.m. ramakantgadhewal


Log-in to answer to this question.