|
[Sponsors] |
[OpenFOAM.org] How to install ccm26ToFoam in OF2.2.x and convert a ccm file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 3, 2013, 23:36 |
How to install ccm26ToFoam in OF2.2.x and convert a ccm file
|
#1 |
Member
|
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 Last edited by donQi; October 13, 2013 at 23:44. |
|
October 5, 2013, 08:54 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
November 4, 2013, 17:19 |
Not working for me.
|
#4 |
New Member
Join Date: Feb 2013
Posts: 24
Rep Power: 13 |
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:http://www.cfd-online.com/Forums/ope...tml#post429003 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. |
|
November 4, 2013, 18:46 |
|
#5 |
New Member
Join Date: Feb 2013
Posts: 24
Rep Power: 13 |
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. |
|
March 23, 2014, 17:54 |
Convert StarCCM to OPenFoam 2.2.2
|
#6 |
New Member
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
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?
|
|
March 30, 2014, 13:43 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer - @wflo: Try the instructions indicated in post #4: star-ccm mesh to O\/F - post#51
|
|
March 16, 2017, 06:09 |
download link offline
|
#8 |
New Member
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Hello Foamers,
I'm new to OpenFOAM and would like to use some meshes generated by STAR-CCM+. Unfortunately the required libccmio-2.6.1 library is no longer available from the website suggested by donQi, and CD-Adapco informed me that they no longer support the libbrary. Any suggestions where to find the required files? Best regards |
|
March 16, 2017, 06:15 |
|
#9 |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Hello,
I'm a beginner too but I have encountered with the same problem. I think this link worked: http://portal.nersc.gov/svn/visit/tr...o-2.6.1.tar.gz Sincerely |
|
March 16, 2017, 11:47 |
|
#10 |
New Member
Join Date: Mar 2017
Posts: 3
Rep Power: 9 |
Thnx! I also just found all the necessary files on wyldckat's repository on Github:
https://github.com/wyldckat/localCCM26ToFOAM Amazing! |
|
April 17, 2017, 03:50 |
help about ccm26tofoam
|
#11 |
New Member
wangyuhang
Join Date: Apr 2017
Posts: 3
Rep Power: 9 |
hello, when i used ./AllwmakeLibccmio , it failed to compile and noted that:Make/files does not exist in ***/***/***/libccmio-2.6.1
how to solve this problem? |
|
April 24, 2017, 14:32 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
April 25, 2017, 21:59 |
|
#13 |
New Member
wangyuhang
Join Date: Apr 2017
Posts: 3
Rep Power: 9 |
||
January 18, 2018, 07:24 |
error convert .ccm to foam using ccm26ToFoam
|
#14 |
New Member
song sung jin
Join Date: Dec 2014
Posts: 9
Rep Power: 12 |
Hello, when I tried to convert .ccm file to foam mesh using ccm26ToFoam, it gives an error.
what is this error? how to solve this problem?? Thank you in advance song ------------------------------------------------------------------------------------- Create time --> FOAM FATAL ERROR: "Error opening state" From function void CheckError(const CCMIOError&, const Foam::string&) in file ccm26ToFoam.C at line 167. FOAM exiting |
|
November 27, 2018, 07:16 |
Alex
|
#15 |
New Member
Shiromani Chandra
Join Date: Oct 2018
Location: India
Posts: 12
Rep Power: 8 |
Hey, I am facing same problem! Did you solve it???
|
|
December 22, 2018, 12:15 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Not much to work with here... My guess is that the mesh was not actually exported to the ".ccm" file, hence the message. If your ".ccm" file only has some 20000 bytes, than that's why. You must choose to export the meshed boundaries and internal mesh.
__________________
|
|
May 19, 2020, 02:38 |
|
#17 |
Member
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 10 |
Does someone have this libccmio-2.6.1, the older link is not working. I am using Openfoam 1912.
|
|
June 9, 2020, 18:51 |
|
#18 | |
Member
Emre
Join Date: Nov 2015
Location: Izmir, Turkey
Posts: 97
Rep Power: 11 |
Quote:
You can download it here: http://downloads.sourceforge.net/pro...o-2.6.1.tar.gz |
||
June 10, 2020, 00:25 |
|
#19 |
Member
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 10 |
Thank you Emre. I was planning to place this in the third party folder as instructed and run wmake.
Do you have any specific instructions to run this one? |
|
June 10, 2020, 05:48 |
|
#20 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
If this compilation works and installs correctly, return to the OpenFOAM directory and re-compile with these bits. Specifically you can rerun the src/conversion/Allwmake script (or src/conversion/ccm//Allwmake) which compiles the OpenFOAM wrapper libraries. Once these wrapper libraries are available, the applications/utilities/mesh/conversion/ccm/Allwmake should pick up on them and compile the conversion utilities. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Definition of y+ in yPlusRAS (1.7.1) | Taka1 | OpenFOAM Programming & Development | 41 | May 23, 2020 13:05 |
error during compilation of new solver | harsha_kulkarni | OpenFOAM Programming & Development | 2 | November 7, 2019 01:47 |
[Other] How to convert .raw file into .dat file | lisics | OpenFOAM Meshing & Mesh Conversion | 2 | January 12, 2018 13:31 |
Question about SU2 optimization | YoniHe | SU2 Shape Design | 3 | January 15, 2016 01:31 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |