|
[Sponsors] |
January 27, 2012, 18:07 |
blockMeshDict
|
#1 |
New Member
Yu
Join Date: May 2010
Location: Cambridge, MA
Posts: 11
Rep Power: 15 |
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! |
|
January 28, 2012, 04:19 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
January 30, 2012, 10:50 |
|
#4 |
New Member
Yu
Join Date: May 2010
Location: Cambridge, MA
Posts: 11
Rep Power: 15 |
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! |
|
February 7, 2012, 19:18 |
|
#5 |
New Member
Yu
Join Date: May 2010
Location: Cambridge, MA
Posts: 11
Rep Power: 15 |
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!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Creating an axisymmetric piston cylinder in blockMeshDict | foadsf | OpenFOAM Meshing & Mesh Conversion | 9 | August 23, 2018 08:54 |
[blockMesh] 2:1 refined 2D blockMeshDict with mergePatchPairs? | chrisb2244 | OpenFOAM Meshing & Mesh Conversion | 0 | December 2, 2014 00:52 |
[Other] blockMeshDict not Matching Boundary | HassanDarian | OpenFOAM Meshing & Mesh Conversion | 0 | March 19, 2014 14:30 |
[blockMesh] OpenFOAM blockMeshDict | sihaqqi | OpenFOAM Meshing & Mesh Conversion | 2 | February 1, 2013 04:49 |
PLease somebody help:problem while changing blockMeshDict file | vivek070176 | OpenFOAM Installation | 1 | June 11, 2010 18:51 |