UnnamedMoose / BasicOpenFOAMProgrammingTutorials

Introduces basic C++ concepts to beginner users of the OpenFOAM open-source CFD libraries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Foam Fatal IO Error (attempt to read beyond EOF)

RTibo opened this issue · comments

commented

I compiled your interpolation scheme successfully, but when I'm trying to use it with my mesh (1D mesh with 150 cells) I got a fatal error saying that 'attempt to read beyond EOF'. Did you experienced something similar with your code when using other mesh then the one in your test case? Im using the openFOAM.com distribution v2012.

Hi, Sorry to hear that, I've never experienced such an issue. The tutorials have only been tested with the other OpenFOAM branch (https://openfoam.org/ and not https://www.openfoam.com/). This is probably the source of the issue.

commented

Thank you very much for answering. It working finaly! I was looking for an interpolation scheme that could be apply on the gradient. So, I tested your scheme on the 'gradient' only and then afterward, I noticed that your scheme is design to be use with the divergence. So, I did an attempt and its working just fine with the divergence but not with the gradient. Did you by any mean created an interpolation scheme/tutorial working with the gradient?

commented

Thank you very much again for your time and for replying.

Best of luck to you also with your projects.

Regards,