|
[Sponsors] |
December 10, 2009, 07:12 |
Improving Mesh - deleting cells
|
#1 |
Member
Join Date: Nov 2009
Location: Munich
Posts: 43
Rep Power: 17 |
Hello Foamers,
I have some problems with my converted mesh. The original data was a CCM+ file and I converted it with ccm26ToFoam, without any difficulties. Then I checked the data with checkMesh, and I recieved severel errors (take a look here:http://www.cfd-online.com/Forums/ope...tml#post239484 )- upperTriangularFace size:4158 wrongOrientedFaces size:249 nonOrthoFaces size:37012 I want to delete these faces, but I don't know how. I looked at the advises in http://www.cfd-online.com/Forums/ope...utilities.html and http://www.cfd-online.com/Forums/ope...checkmesh.html but I couldn't solve the problem. I actually want to convert the faces into cells, delete these cells and then "remesh" my case without the broken cells. I've tried setSet and in there faceSet with the files but I didn't manage to get the rigth commands. I'm getting confused about faceSet, faceToCell, topoSurface... Like: cellSet | faceSet | pointSet <setName> <action> <source> I don't know how to handle it. Is such an delating-operation acutally possible with OpenFOAM? What else could I do to get my case running?Remeshing the CCM+ file, but with which conditions (we didn't have any problems, running CCM+ on it) I realy hope you can help me on this problem. Last edited by sErik; December 10, 2009 at 09:59. |
|
December 14, 2009, 09:51 |
|
#2 | |
Member
Join Date: Nov 2009
Location: Munich
Posts: 43
Rep Power: 17 |
Now I remeshed the original CCM+ file, so that there were only tetrahedrons, and then executed ccm26ToFoam without any problems. But with checkMesh, I get this again:
Quote:
I really appreciate some help. Last edited by sErik; December 14, 2009 at 10:11. |
||
December 17, 2009, 01:11 |
|
#3 |
Senior Member
|
Your methods are a little beyond my experiance. However, you can delete cells by hunting them down in polyMesh folder files. I wouldnt have any idea how to repair them though.
I am not familiar with CCM+ files. Perhaps you could increase your resolution in the sharp geometry areas and see if that decreases the number of non-orthogonal faces. |
|
December 17, 2009, 06:07 |
|
#4 |
Member
Join Date: Nov 2009
Location: Munich
Posts: 43
Rep Power: 17 |
Hi eric,
I decreases the number of cells in the original file from 12 millions to 3 millions and now checkMesh is working fine without any problems and I could already run some test-solvers on the case. Meanwhile I'm sure that there were/are some serious problems with the CCM+ file and that they also ought to be in there. Moreover the OF tools for these operations are really badly documented and it's very hard to get them running - I couldn't figure out how to. Best regards, Erik |
|
August 3, 2010, 06:34 |
|
#5 |
Member
Andrea Petronio
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 43
Rep Power: 17 |
Hi Erik,
I'm facing now the very same problem importing a mesh from ccm+, have you understood what the problem is? Have you some guidelines for meshin in ccm+ and importing in OF? Any help will be appreciate! Andrea |
|
August 3, 2010, 10:25 |
ccm+ meshes
|
#6 |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
I have been using the ccm26ToFoam converter to convert ccm mesh files for some time now. I have recently learned that Star-CCM+ actually by default makes rather poor meshes. (I have not had so many problems with tet meshes, but I primarily use poly) So my first recommendation/question would be have you tried to clean up the mesh within ccm+ before trying to convert it? In case you are not familiar with the process, first you make only the surface mesh, then you go to Representations, right click on remeshed surface and click repair surface. A box will open where you can specify the face quality--change this from the embarrassingly small default value of 0.01 to something like 0.7. From this then you can use the mesh repair tools to target specific cells and remesh them. Your resulting volume mesh should be much cleaner and you should find that you can get rid of many of your errors on conversion.
All that said, your errors seem to have quite a few bad cells/faces so you may have something else wrong. Are you using anything like interfaces or stuff like that that may not have been defined correctly? Hope this is helpful. |
|
August 3, 2010, 10:28 |
|
#7 | |
Senior Member
Kent Wardle
Join Date: Mar 2009
Location: Illinois, USA
Posts: 219
Rep Power: 21 |
Quote:
I saw your note above about having to change all the boundary names--I have never had this problem. What versions are you using both for OF and for CCM+? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] DNS mesh | kumar | OpenFOAM Meshing & Mesh Conversion | 2 | April 9, 2010 06:04 |
RAM necessary for a 6 million cells hex mesh | Antoine | FLUENT | 2 | September 4, 2008 11:13 |
[mesh manipulation] TranformPoints gives skewed mesh Possible Bug | andersking | OpenFOAM Meshing & Mesh Conversion | 3 | March 25, 2008 22:33 |
Improving mesh resolution | Vidya Raja | FLUENT | 1 | October 13, 2005 14:52 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |