Personalization of mapFields and libsampling - Compilation issues
Dear Foamers,
i'm using OpenFOAM 2.2.2. In order to lower the interpolation errors of mapFields near walls I am trying to add a new interpolation scheme like this was done here: http://www.cfd-online.com/Forums/ope...mapfields.html Therefore I need to change mapFields itself as well as some files in the sampling library (inside meshToMeshInterpolation). I want the original mapFields executable and sampling libraries to be unchanged. Thats why I copied the mapFields directory as well as the whole OpenFOAM src-folder (including 'sampling') to another location. To get a smooth start I changed the names 'mapFields' to mapFieldsMJ and did some changes to the Make-files. Now they look like that: mapFieldsMJ/Make/files: Code:
mapLagrangian.C Code:
EXE_INC = \ Code:
... (only last line changed) ... Code:
EXE_INC = \ Code:
*** glibc detected *** mapFieldsMJ: corrupted double-linked list: 0x00000000013694e0 *** I tried to get rid of this problem without success - getting a little bit frustrated since I did not even change anything inside the code. Could you please help me? I would be very grateful if anyone could give me a hint how to solve the problem. |
Your Make deep revision!
Here are few general points,
|
Thank you very much for this answer.
Please don't blame me for my inexperience, but actually I'm still not sure what I did wrong. Which classes did I compile twice? Do I have to rename everything in the sampling-directory? |
No worries, we all are on OpenFOAM learning curve.
The classes of sampling library are recompiled without renaming. You don't need them all, you only need meshToMesh class. Before you processed further in this issue, it is better to test the new versions of OpenFOAM because this class had major updates since OF2.2. Even in OF2.2, you will notice that there are new meshToMesh class. The easiest and most straight forward way could be copy and rename meshtoMesh and included directly in your application. |
All times are GMT -4. The time now is 06:25. |