CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] Ccm24ToFoam problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 11, 2006, 03:52
Default Ccm24ToFoam problem
  #1
tadashi
Guest
 
Posts: n/a
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
  Reply With Quote

Old   October 11, 2006, 05:54
Default One problem could be with non-
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
One problem could be with non-word characters in the boundary region definitions.
olesen is offline   Reply With Quote

Old   October 11, 2006, 06:43
Default Thanks Mark for your reply. I
  #3
tadashi
Guest
 
Posts: n/a
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?
  Reply With Quote

Old   June 6, 2007, 11:50
Default I have also got a problem rela
  #4
New Member
 
Markus Graf
Join Date: Mar 2009
Posts: 6
Rep Power: 17
graf_m is on a distinguished road
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?
graf_m is offline   Reply With Quote

Old   June 7, 2007, 15:12
Default Try ccm26ToFoam from 1.4. Has
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Try ccm26ToFoam from 1.4. Has a few bugs fixed.
mattijs is offline   Reply With Quote

Old   June 11, 2007, 02:03
Default Thanks for your advice Mattijs
  #6
New Member
 
Markus Graf
Join Date: Mar 2009
Posts: 6
Rep Power: 17
graf_m is on a distinguished road
Thanks for your advice Mattijs. The problem doesn't occur with ccm26ToFoam.
graf_m is offline   Reply With Quote

Old   June 12, 2007, 11:21
Default Hi Mattijs I am new to ope
  #7
New Member
 
abhishek k n
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 16
Rep Power: 17
knabhishek is on a distinguished road
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
knabhishek is offline   Reply With Quote

Old   June 12, 2007, 13:35
Default Have a look at the source ($FO
  #8
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Have a look at the source ($FOAM_UTILITIES/mesh/conversion/ccm26ToFoam/ccm26ToFoam/ccm26ToFoam.C)

It needs as argument a file that ends in .ccm.
mattijs is offline   Reply With Quote

Old   June 13, 2007, 08:07
Default Hi Mattijs It was my stup
  #9
New Member
 
abhishek k n
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 16
Rep Power: 17
knabhishek is on a distinguished road
Hi Mattijs

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

I will be contacting you in future too :-)
knabhishek is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


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