Fluent mesh to OF conversion
Hi,
I am new OpenFoam user and I am trying to convert mesh created in Fluent to OpenFOAM. Till this time I converted only simple ANSYS meshes and experienced no problems but now I get errors and can't deal with them. fluent3DMeshToFoam gave errors at the very start, saying something about "not knowing characters". I switched to fluentMeshToFoam and got veeeery long response in terminal. Finishing with the error I don't understand. Code:
Create time For clarity, I post the last part again separately: Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" I didn't create that mesh - all I know about it is: - it works fine in Fluent, - it was exported from Fluent as .msh file in ASCII format, - it was composed from several (~9) meshes created in ANSYS mesher, put altogether in Fluent. Can anyone help me with that? |
Please, any tips? I cannot find anything similar to this case on the forum.
|
Hello Michal,
my tip is to use fluent3DMeshToFoam. If you get a message similar to this: "--> FOAM FATAL ERROR: Do not understand characters: | on line 5894448," you should just remove this character. To do so, this file has to be in ascii format. Actually msh files can be really big, so donīt open it in order to delete the characters manually. use this command in your terminal if you want to delete this character "|": sed 's/|//g' mesh1.msh > mesh2.msh You can delete any character with this command. e.G. & ---> sed 's/&///g' If you want to delete "/", donīt type sed '////' but sed /\///. ( \ in front of / ) I hope this helps! Best regards Tobi |
Hello Michal,
my tip is to use fluent3DMeshToFoam. If you get a message similar to this: "--> FOAM FATAL ERROR: Do not understand characters: | on line 5894448," you should just remove this character. To do so, this file has to be in ascii format. Actually msh files can be really big, so donīt open it in order to delete the characters manually. use this command in your terminal if you want to delete this character "|": sed 's/|//g' mesh1.msh > mesh2.msh You can delete any character with this command. e.G. & ---> sed 's/&///g' If you want to delete "/", donīt type sed '////' but sed /\///. ( \ in front of / ) I hope this helps! Best regards Tobi |
Problem with mesh conversion
I have a .msh file generated with icem and want to convert it to openfoam with fluent3dtofoam.
I already did this a few times and it worked very well. This time I got the following error message: Code:
I didnīt find this error in google, so I hope here is someone who can help me. Otherwise I just to do a new mesh with Icem. Thank you so far. Best regards Tobi |
Thank you for help, Tobias.
I am doing as suggested (and indeed i wanted to try fluent3DMeshToFoam and delete these characters but simply couldn't open the file - it was too big) but I keep getting errors concerning other characters. As a result I spent a while removing several capitals, brackets, but when it came to the letter 'r' I stopped. These are regular characters and should be understood. Why does it happen? I am pretty sure that mesh was saved in ASCII format (I saw the 'write as a binary file' box being unchecked). |
Well, it seems to me that I solved the problem. Errors were occurring because the mesh was multidomain. The solution and proper conversion method is presented clearly in this topic: http://www.cfd-online.com/Forums/ope...n-problem.html
|
Hi Michal
I have exactly the same error. Do you have a solution? Thank you very much in advance. saba |
All times are GMT -4. The time now is 19:05. |