CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] Star4ToFoam boundary problems. (https://www.cfd-online.com/Forums/openfoam-meshing/73442-star4tofoam-boundary-problems.html)

ghindi March 8, 2010 15:35

Star4ToFoam boundary problems.
 
Hi there,

I'm having a lot of problem trying to convert a StarCD mesh to OpenFoam. I've not figured out what is going on, but the issue is with the bnd file.
My mesh is an engine cylinder geometry, and as the StarCD bnd file is the problem, I'd like to convert the mesh without it.
My question is how can I patch the mesh latter on? I've tried the autoPatch, but it's quite a massive job because it's not an simple geometry.
Does anyone know of a graphical interface or any other ideas on how can I overcome this painful task?

Thanks in advance!

Gustavo.

olesen March 9, 2010 02:19

Quote:

Originally Posted by ghindi (Post 249027)
My question is how can I patch the mesh latter on? I've tried the autoPatch, but it's quite a massive job because it's not an simple geometry.
Does anyone know of a graphical interface or any other ideas on how can I overcome this painful task?

Perhaps the surfaceToPatch utility might work for you.

Here's the doxygen description
http://foam.sourceforge.net/doc/Doxy...d1051f173.html


BTW:
Does your mesh pass all checks in proSTAR?
How well does the conversion work if you use the *.ccm format?

ghindi March 9, 2010 18:51

Hi Olesen,
thanks for replying.

I'm going to look in more details the surfaceToPatch utility, but I've manage to convert it correctly with ccm26ToFoam. So I think that I'm going to use it from now on.

Regards,
Gustavo.

olesen March 10, 2010 02:22

Quote:

Originally Posted by ghindi (Post 249235)
I'm going to look in more details the surfaceToPatch utility, but I've manage to convert it correctly with ccm26ToFoam. So I think that I'm going to use it from now on.

A nice side-effect of using the ccm conversion is that proSTAR does some geometry checks when writing it and thus might actually result in a better starting point that the cel/vrt/bnd files.

You just need to aware that ccm26ToFoam doesn't really handle separate domains particularly well. If you have a mix of solids/fluids/porosities in your model, they'll each be in separate domains.


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