CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

How to install ccm26ToFoam in OF2.2.x and convert a ccm file

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

Like Tree2Likes
  • 1 Post By donQi
  • 1 Post By donQi

Reply
 
LinkBack Thread Tools Display Modes
Old   October 3, 2013, 22:36
Default How to install ccm26ToFoam in OF2.2.x and convert a ccm file
  #1
New Member
 
Al
Join Date: Jul 2013
Posts: 29
Blog Entries: 1
Rep Power: 4
donQi is on a distinguished road
While compiling the ccm26ToFoam utility I got the following error:

* The license of the libccmio library is proprietary:
Users wishing to make use of its functionality should contact CD-Adapco
for possible download and terms of use.
Usage: AllwmakeLibccmio
* This script will install the libccmio library

Here the solution I found, hope can help somebody:

1) download the libccmio-2.6.1 library from the following website
https://svn.scorec.rpi.edu/wsvn/TSTT/Tools/iMeshIO/libccmio-2.6.1.tar.gz?op=log&rev=2353

2) uncompress libccmio-2.6.1.tar.gz and copy the libccmio-2.6.1 directory in
/your.OpenFOAMinstallation.path.../OpenFOAM/ThirdParty-2.2.x/

3)
AllwmakeLibccmio
Code:
cd /your.OpenFOAMinstallation.path.../OpenFOAM/ThirdParty-2.2.x/
./AllwmakeLibccmio


4) compile ccm26ToFoam
Code:
cd /your.OpenFOAMinstallation.path.../OpenFOAM/OpenFOAM-2.2.x/applications/utilities/mesh/conversion/Optional
./Allwmake


5) copy your ccm file in the StarCCMTemplate.for.ccm directory (please file attached)

6) enter the directory where you have just copy the ccm file and launch the command

Code:
ccm26ToFoam nameFile.ccm
Attached Files
File Type: gz StarCCMTemplate.for.ccmTo26Foam.launch.tar.gz (1.1 KB, 213 views)
Knigge46 likes this.

Last edited by donQi; October 13, 2013 at 22:44.
donQi is offline   Reply With Quote

Old   October 5, 2013, 07:54
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings donQi,

Thanks for sharing! I've added the link to this thread to this wiki page: http://openfoamwiki.net/index.php/Ccm26ToFoam - feel free to edit the wiki page.

As for your post, please use the [CODE] markers for the example commands you've given, as explained in the second link of my signature

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   October 13, 2013, 23:05
Default
  #3
New Member
 
Al
Join Date: Jul 2013
Posts: 29
Blog Entries: 1
Rep Power: 4
donQi is on a distinguished road
Greetings Bruno, I add the [CODE] markers.

And let me take this opportunity to thank you for your excellent contributions to this Forum.

Best regards,
Al
wyldckat likes this.
donQi is offline   Reply With Quote

Old   November 4, 2013, 17:19
Default Not working for me.
  #4
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 4
sudo is on a distinguished road
It's great that it seems to be much easier now to compile this lib. I tried to do it a few months ago and was not successful. Thanks in advance.


Now, I followed exactly what donQi outlined in the 1st post but I still can not do it. Here are my questions:
1. The untarred folder has no AllwmakeLibccmio script inside, actually it does not exist at all in the folder. So, am I missing something here?

2. It seems to me (and I am not an expert in compiling QT projects) that the downloaded file is a QT4 project. I tried opening the version.pro file in QT Creator in Ubuntu 12.10 64 bit, tried to configure the project but received two errors.

So, could you please either update the info in the first post or let me know how to run the AllwmakeLibccmio?

Thanks.


EDIT: The script in post #51 here:star-ccm mesh to O\/F
seems to have worked. ccm26ToFoam binary file was generated, used it to convert a 2D mesh (back step tutorial) I had exported from CCM+, the polymesh folder have been updated but....ParaFoam does not show the mesh as it encountered errors. Any ideas?

Last edited by sudo; November 4, 2013 at 18:32.
sudo is offline   Reply With Quote

Old   November 4, 2013, 18:46
Default
  #5
New Member
 
Join Date: Feb 2013
Posts: 24
Rep Power: 4
sudo is on a distinguished road
DELETED!

The script written by Bruno does work. I will post about my visualization issues in a new thread.

Last edited by sudo; November 5, 2013 at 11:25.
sudo is offline   Reply With Quote

Old   March 23, 2014, 17:54
Default Convert StarCCM to OPenFoam 2.2.2
  #6
New Member
 
Join Date: Mar 2014
Posts: 3
Rep Power: 3
wflo is on a distinguished road
Following donQi's post I was able to make it down to the 3rd step. I downloaded the libccmio-2.6.1.tar.gz and I uncompressed the file. The AllwmakeLibccmio shell script did not run but the ccm26local shell script did. Both files must run in order for it to work correct? Why does the AllwmakeLibccmio not run when I try to execute it?
wflo is offline   Reply With Quote

Old   March 30, 2014, 12:43
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer - @wflo: Try the instructions indicated in post #4: star-ccm mesh to O\/F - post#51
wyldckat is offline   Reply With Quote

Reply

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 convert a .msh file to open Foam? Danath OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 90 August 28, 2013 02:55
How to convert Fluent13 cas file to Fluent12 cas file? gera FLUENT 0 June 9, 2012 09:46
How to convert ansys workbench file to the file for paraview? blueaprk ANSYS 0 August 24, 2010 22:53
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
convert FLUENT mesh file to CFX mesh file?? frederic felten FLUENT 5 December 6, 1999 10:32


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