CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (http://www.cfd-online.com/Forums/openfoam-meshing-other/)
-   -   Ccm24ToFoam problem (http://www.cfd-online.com/Forums/openfoam-meshing-other/61748-ccm24tofoam-problem.html)

tadashi October 11, 2006 03:52

Hi! All I have some difficu
 
Hi! All

I have some difficulty with mesh converting from .ccm to OpenFOAM. I used ccm24ToFoam of OpenFOAM ver1.3, but it doesn't work fine. Please refer the log attached below.
On the other hand, ccm24ToFoam of OpenFOAM ver1.2 could work fine.
Does somebody help me?


[tadashi@panoutsosvisitor simpleFoam_rot]$ ccm24ToFoam . dummy blade.ccm
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.3 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : ccm24ToFoam . dummy blade.ccm
Date : Oct 11 2006
Time : 09:57:59
Host : panoutsosvisitor
PID : 20683
Root : /home/tadashi/OpenFOAM/tadashi-1.3/run/tutorials/simpleFoam_rot
Case : dummy
Nprocs : 1
Create time

Vertices: number: 202064 max: 202064
Cells: number: 190450 max: 190450
Faces: internal: 561490 boundary: 21340
boundary:0 ProstarRegionNumber:-1
Foam::error::printStack
Foam::sigSegv::sigSegvHandler
/lib64/libc.so.6 [0x33c5c2f550]
ccm24ToFoam [0x411e46]
ccm24ToFoam [0x412b5d]
ccm24ToFoam [0x418280]
__libc_start_main
__gxx_personality_v0
Segmentation fault

olesen October 11, 2006 05:54

One problem could be with non-
 
One problem could be with non-word characters in the boundary region definitions.

tadashi October 11, 2006 06:43

Thanks Mark for your reply. I
 
Thanks Mark for your reply.
If I use the default boundary definition at pro-star and export this boundary condition to .ngeom file, does this cause the problem when I convert .ccm to OpenFOAM?

graf_m June 6, 2007 11:50

I have also got a problem rela
 
I have also got a problem related to the ccm24ToFoam function.
I have built a mesh in a proStar and did run all the proStar commands which are described in the users manual to standardize ccm file layout. Whenever I run the ccm24ToFoam function I always receive the following error message for all my boundary faces:

Vertices: number: 122105 max: 125430
Cells: number: 115585 max: 115585
Faces: internal: 340051 boundary: 13145
boundary:1 ProstarRegionNumber:1
boundary:2 ProstarRegionNumber:2
boundary:3 ProstarRegionNumber:3
boundary:4 ProstarRegionNumber:4
boundary:5 ProstarRegionNumber:5
boundary:6 ProstarRegionNumber:6
boundary:7 ProstarRegionNumber:7
boundary:8 ProstarRegionNumber:8
Error reading opt string 'BoundaryType'
Number of (uncompacted) points:125431
Number of internal faces:340051
Number of boundary faces:13145
Number of (uncompacted) cells:115586
*** InternalFaces:340051
*** Number of patches:1
Patch:0 ccm boundary id:0 name:wall0 type:wall
Boundary face has invalid region.
Face:340051 verts:4(100218 100366 100368 100220) owner:974 neighbour:-9999 has ccm.boundary:1 which has no Foam patch equivalence. Assigning it to patch 0.
To prevent this compact your boundary regions!
Boundary face has invalid region.
Face:340052 verts:4(104088 104248 104250 104090) owner:4984 neighbour:-9999 has ccm.boundary:1 which has no Foam patch equivalence. Assigning it to patch 0.

...

The problem is that my eight different boundary faces are assigned to one single patch.
Does anybody know what additional proStar command or setting I need to generate a valid ccm file so that the different boundaries are assigned to different patches after executing ccm24ToFoam?

mattijs June 7, 2007 15:12

Try ccm26ToFoam from 1.4. Has
 
Try ccm26ToFoam from 1.4. Has a few bugs fixed.

graf_m June 11, 2007 02:03

Thanks for your advice Mattijs
 
Thanks for your advice Mattijs. The problem doesn't occur with ccm26ToFoam.

knabhishek June 12, 2007 11:21

Hi Mattijs I am new to ope
 
Hi Mattijs

I am new to open foam.....the error message when i imported ccm file using ccm26ToFoam

-> FOAM FATAL ERROR : Cannot read file "bus"

From function ccm26ToFoam
in file ccm26ToFoam.C at line 618.

What kind of format should be used binary/ascii or something different

mattijs June 12, 2007 13:35

Have a look at the source ($FO
 
Have a look at the source ($FOAM_UTILITIES/mesh/conversion/ccm26ToFoam/ccm26ToFoam/ccm26ToFoam.C)

It needs as argument a file that ends in .ccm.

knabhishek June 13, 2007 08:07

Hi Mattijs It was my stup
 
Hi Mattijs

It was my stupid mistake of typing the command. Thank you for the help.

I will be contacting you in future too :-)


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