blockMeshDict
Dear Foamers,
I have an OpenFOAM mesh (polyMesh folder) which was created by another department. Unfortunately that mesh-file got lost and all I have left is the OpenFOAM mesh, in which I would like to introduce some changes. It would be possible to simply edit some coordinates if I had a blockMeshDict file, so my question is if there is a way to convert a polyMesh mesh back into a blockMeshDict file? Thanks! |
Greetings Ruehri,
AFAIK, there is no automated way to convert an already generated mesh back to "blockMeshDict". You might be able to re-create it manually, if the mesh is simple enough. By what I know, you have a few possibilities:
Bruno |
Is foamMeshToFluent of any use?
|
Thanks a lot you two for the quick response!
Since the mesh already has its own refinements and grid density distributions, using a stl would result in a lot of workload, but I agree that this could be a good way for creating a suitable new mesh. I just tried the foamMeshToFluent tool and everything looks awesome. I got some error warnings about cell shapes needing to be converted to polyhedrals, but the mesh looks good. I will try to convert that mesh back into foam (unmodified) and see if anything got messed up during forth-and-back conversion. If yes, I will switch over and do the diligence work with stls, otherwise I'd be happy to use akidess solution. Anyways thanks you two! |
Just to report back, foamMeshToFluent worked for my case. There seemed to be some weirdly shaped cells when I inspected the mesh manually in paraFoam, but those were in a rather coarse region and rerunning after back-conversion yielded the same result. Thanks again for all the help!
|
All times are GMT -4. The time now is 19:36. |