CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Star-CCM+ Mesh Parameters for OpenFOAM?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   April 4, 2014, 09:44
Default Star-CCM+ Mesh Parameters for OpenFOAM?
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 65
Rep Power: 7
petr.f. is on a distinguished road
Hi all,

I know that the following has already been discussed here, but it's been a while and maybe there is some new knowledge on this matter.

I'm using Star-CCM+ polyhedral mesh for two-phase computations in OpenFOAM (2.3.x). The geometry I'm meshing is quite complex - front end of a car including part of the underhood, hence I have to use the surface wrapper.

But no matter what meshing characteristics (base size, number of prism layers, face quality during surface remeshing, number of optimization cycles and threshold for polyhedral mesher) I use, the resulting mesh always contains some zero area and wrong oriented faces (polyhedral mesher produces the greatest amount, trimmer, which is basically snappyHex, a little bit less and tetrahedral mesher the smallest amount). StarCCM+ mesh analysis shows none of these problems, but checkMesh goes crazy (I use ccm26ToFoam for conversion)

I have removed all bad cells from the mesh
using procedure described here (i.e. create set with bad cells, invert mesh, create subset) and replaced boundary condition on the newly created oldInternalFaces with "symmetry". However, OpenFOAM blows up right after the momentum predictor in the first iteration because of the floating point exception.

So, I'd be very glad if anyone could share his experience with any settings for StarCCM+ that ensure no negative volume cells, zero area faces or wrong oriented faces...


Last edited by petr.f.; April 5, 2014 at 12:41.
petr.f. is offline   Reply With Quote

Old   May 6, 2014, 00:31
New Member
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 7
dreamilam is on a distinguished road
Hi Petr,

I had similar problems with simpleFoam.

you can remove the zero area faces using the zero area faces indicator( split by function) in star CCM.
Negative volume cells can be removed by right clicking on the region and selecting the "Remove invalid cells" option (You might know this already).

I haven't tested it myself.
Pls give it a try and let me know if it works

dreamilam is offline   Reply With Quote

Old   May 7, 2014, 07:09
Petr Furmanek
Join Date: Jan 2012
Location: Faenza, Italy
Posts: 65
Rep Power: 7
petr.f. is on a distinguished road
Hi Ilam and thanks for the response. I know about these StarCCM+ tools, but unfortunately, they don't work perfectly. As for now, I haven't found any settings that would ensure the resulting mesh will be OK for OpenFOAM. The problem may be partially caused ccm26ToFoam as well... At the end I've decided switch to ANSA and snappyHexMesh.
petr.f. is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Change parameters for Hybrid mesh karananand ANSYS Meshing & Geometry 3 July 18, 2010 16:37
mesh algo for volume mesh in star ccm rohit Siemens 1 August 8, 2008 20:44

All times are GMT -4. The time now is 04:04.