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

[Commercial meshers] [OpenFOAM-v1706] ccmToFoam error

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 17, 2017, 19:25
Default [OpenFOAM-v1706] ccmToFoam error
  #1
Member
 
shuai_manlou's Avatar
 
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14
shuai_manlou is on a distinguished road
Hi foamers,
I want to convert a .ccm mesh file by STAR-CCM+ v12.02 to OpenFOAM. In the OpenFOAM-v1706, there are two files in $FOAM_APP/utilities/mesh/conversion/ccm, ccmToFoam and foamToCcm, respectively. But when I want to execute the Allwmake file in ccmToFoam, there is an error "==> skip optional ccm conversion components (no libccm.so)". It seems the libccm.so is missing. But the Google cannot even find it.

By the way, in the new version OpenFOAM-v1706, it seems that ccm26ToFoam and fluent3DMeshToFoam is not used ever since, replaced by ccmToFoam and fluentMeshToFoam, respectively.

Need your help and wish your reply.
shuai_manlou is offline   Reply With Quote

Old   November 1, 2017, 10:13
Default
  #2
Member
 
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17
mathieu is on a distinguished road
Hi,

I just have revisited the procedure to compile CCM tools for OpenFOAM. In my case, I started with a fully compiled OpenFOAM-v1706, but I guess these steps should also work for a fresh install (not compiled). First, you'll need the libccmio-2.6.1 directory to be located in the ThirdParty-v1706 directory. See the ThirdParty-v1706/BUILD.md file for instructions on how to obtain it and check usage conditions since it is a proprietary package. Then:

cd $WM_THIRD_PARTY_DIR
./makeCCMIO libso
./makeCCMIO lib
foam
./Allwmake


Afterwards, for the legacy converter (if you need it):

app
cd utilities/mesh/conversion/Optional/
./Allwmake


Hope this helps.
wyldckat, mickbatti, abe and 4 others like this.

Last edited by mathieu; November 2, 2017 at 08:44.
mathieu is offline   Reply With Quote

Old   November 4, 2017, 20:41
Default
  #3
Member
 
shuai_manlou's Avatar
 
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14
shuai_manlou is on a distinguished road
Hi mathieu, Thanks a lot

I have removed the OpenFOAM-v1706 by ESI, and installed the OpenFOAM5 from www.openfoam.org.

Next, I followed the instructions by localCCM26ToFOAM in https://github.com/wyldckat/localCCM26ToFOAM

And it works well

Thanks for your share, next time I will try it again.

Best wishes
shuai_manlou is offline   Reply With Quote

Old   February 6, 2018, 03:20
Wink
  #4
Member
 
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 93
Rep Power: 14
einstein_zee is on a distinguished road
Hey there,

I just wanted to inform that I followed the instructions on the link provided by shuai_manlou and I could install this mesh converter for both OF5.0 and OF1712.
einstein_zee is offline   Reply With Quote

Old   February 6, 2018, 03:49
Default
  #5
Member
 
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 11
kera is on a distinguished road
good to see that i am not alone who is working with ccm to OpenFoam
__________________
If it is easy, then something is fishy!
kera is offline   Reply With Quote

Old   February 6, 2018, 03:53
Default
  #6
Member
 
shuai_manlou's Avatar
 
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14
shuai_manlou is on a distinguished road
Hi einstein_zee,

Thanks for sharing your experience, now you have proved that the instructions work well for both OF5.x and OF1712.
shuai_manlou is offline   Reply With Quote

Old   March 13, 2018, 04:13
Default Ccm26ToFoam- error reding cells
  #7
Member
 
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15
ynos is on a distinguished road
Hi there
I aprecciate a lot if someone cn help me. Im trying to convert mesh from Starccm to OpF5 but I found the next message: Create time

Reading state 'default' (Default state)
nPoints:0
bounding box0 0 0) (0 0 0)



--> FOAM FATAL ERROR:
"Error reading cells"

From function void CheckError(const CCMIOError&, const Foam::string&)
in file ccm26ToFoam.C at line 167.

FOAM exiting


So if someone can I help me, thanks in advanced
ynos is offline   Reply With Quote

Old   September 4, 2018, 01:16
Default same converting problem
  #8
New Member
 
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18
yejungong is on a distinguished road
Quote:
Originally Posted by ynos View Post
Hi there
I aprecciate a lot if someone cn help me. Im trying to convert mesh from Starccm to OpF5 but I found the next message: Create time

Reading state 'default' (Default state)
nPoints:0
bounding box0 0 0) (0 0 0)



--> FOAM FATAL ERROR:
"Error reading cells"

From function void CheckError(const CCMIOError&, const Foam::string&)
in file ccm26ToFoam.C at line 167.

FOAM exiting


So if someone can I help me, thanks in advanced

I met the same question. I have tried of23 and of6, both show the same message. Hope that anybody can solve this problem. Thanks in advance
yejungong is offline   Reply With Quote

Old   September 21, 2018, 10:39
Default
  #9
New Member
 
Anonymous
Join Date: Jan 2015
Posts: 1
Rep Power: 0
cdtriece is on a distinguished road
I ran into this same error as well. The converter is working correctly but the .ccm file is empty--the problem (for me anyway) was on the StarCCM side. Within Star, when you go to File->Export to create the .ccm file, you need to select your body/regions inside the "Export Data" box in the pop-up window. This tells Star which bodies you want the mesh (and/or solution) exported. Otherwise, you export an empty mesh file.
cdtriece is offline   Reply With Quote

Old   September 24, 2018, 06:47
Default
  #10
Member
 
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15
ynos is on a distinguished road
Quote:
Originally Posted by cdtriece View Post
I ran into this same error as well. The converter is working correctly but the .ccm file is empty--the problem (for me anyway) was on the StarCCM side. Within Star, when you go to File->Export to create the .ccm file, you need to select your body/regions inside the "Export Data" box in the pop-up window. This tells Star which bodies you want the mesh (and/or solution) exported. Otherwise, you export an empty mesh file.
It works perfect
Thanks a lot
Best Regards
Simón
ynos is offline   Reply With Quote

Old   August 18, 2019, 15:41
Default CCMIO compile on v1906
  #11
New Member
 
Michael Shives
Join Date: Aug 2019
Posts: 1
Rep Power: 0
mikeShives is on a distinguished road
Hi all.

Trying to get ccmToFoam conversion working.
I've got -v1906- up and running on a windows machine using ubuntu.

I have the libccmio-2.6.1 folder located in the ThirdParty-v1906 directory.

When I try
$ ./makeCCMIO libso

I get:
...
/opt/OpenFoam/OpenFOAM-v-1906/wmake/wmake: line 459: make: command not found

wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /opt/OpenFOAM/ThirdParty-v1906/libccmio-2.6.1


can anyone help?

Thanks
mikeShives is offline   Reply With Quote

Old   May 19, 2020, 01:41
Default
  #12
Member
 
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 9
Vignesh2508 is on a distinguished road
I am not able to find the libccmio-2.6.1 library file. Can some one post it or send link where i can download it.


Thanks
Vignesh2508 is offline   Reply With Quote

Old   May 26, 2020, 12:34
Default
  #13
New Member
 
Liz
Join Date: Apr 2020
Location: Germany
Posts: 10
Rep Power: 6
redTo is on a distinguished road
Hi,
did you find out how to do it?
redTo is offline   Reply With Quote

Old   July 16, 2020, 08:33
Default
  #14
New Member
 
Liz
Join Date: Apr 2020
Location: Germany
Posts: 10
Rep Power: 6
redTo is on a distinguished road
Hi eveybody,

I'm still searching for the libccmio-2.6.1. Does someone know where to find it?
It'll be very helpful!
redTo is offline   Reply With Quote

Old   October 31, 2020, 05:05
Default I find this note: (libccmio-2.6.1.spec)
  #15
New Member
 
Gabriel Binelli
Join Date: May 2020
Posts: 2
Rep Power: 0
ABgabriel13 is on a distinguished road
https://github.com/Unofficial-Extend...mio-2.6.1.spec
redTo likes this.
ABgabriel13 is offline   Reply With Quote

Old   April 13, 2021, 08:28
Talking Can ccm26ToFoam work in openfoam installed on ubuntu?
  #16
New Member
 
Jiayu Sun
Join Date: Jul 2020
Location: Harbin,China
Posts: 18
Rep Power: 5
Richal Sun is on a distinguished road
Quote:
Originally Posted by shuai_manlou View Post
Hi mathieu, Thanks a lot

I have removed the OpenFOAM-v1706 by ESI, and installed the OpenFOAM5 from www.openfoam.org.

Next, I followed the instructions by localCCM26ToFOAM in https://github.com/wyldckat/localCCM26ToFOAM

And it works well

Thanks for your share, next time I will try it again.

Best wishes
Hi Liushuai,

I am new to openfoam. I wonder if mesh generated from star ccm+ work in openfoam.
I am using windows subsystem Linux ubuntu on which openfoam is installed.The openfoam version is v1912. Do you know whether localCCM26ToFoam work in openfoam installed on ubuntu(ps:windows subsystem).One more question,what is the difference between utility ccm26ToFoam and star3/4ToFoam?
Looking forward to your reply.Thank you in advance.

Jiayu Sun
Richal Sun is offline   Reply With Quote

Old   April 15, 2021, 09:05
Smile starToFoam or ccm26ToFoam?
  #17
New Member
 
Jiayu Sun
Join Date: Jul 2020
Location: Harbin,China
Posts: 18
Rep Power: 5
Richal Sun is on a distinguished road
Quote:
Originally Posted by Richal Sun View Post
Hi Liushuai,

I am new to openfoam. I wonder if mesh generated from star ccm+ work in openfoam.
I am using windows subsystem Linux ubuntu on which openfoam is installed.The openfoam version is v1912. Do you know whether localCCM26ToFoam work in openfoam installed on ubuntu(ps:windows subsystem).One more question,what is the difference between utility ccm26ToFoam and star3/4ToFoam?
Looking forward to your reply.Thank you in advance.

Jiayu Sun
FYI,
star3/4ToFoam is established for star CD, ccm26ToFoam is used for star ccm+.
I have successfully installed ccm26ToFoam in openfoam8,failed in openfoam 1912 where ccm26ToFoam is not stored in utilitiy.
Thanks any way.

Last edited by Richal Sun; April 15, 2021 at 10:23. Reason: add some information
Richal Sun is offline   Reply With Quote

Old   June 19, 2021, 06:26
Default
  #18
New Member
 
Join Date: Aug 2020
Posts: 2
Rep Power: 0
Jesswin27 is on a distinguished road
Quote:
Originally Posted by mikeShives View Post
Hi all.

Trying to get ccmToFoam conversion working.
I've got -v1906- up and running on a windows machine using ubuntu.

I have the libccmio-2.6.1 folder located in the ThirdParty-v1906 directory.

When I try
$ ./makeCCMIO libso

I get:
...
/opt/OpenFoam/OpenFOAM-v-1906/wmake/wmake: line 459: make: command not found

wmake error: file 'Make/linux64Gcc63DPInt32Opt/sourceFiles' could not be created in /opt/OpenFOAM/ThirdParty-v1906/libccmio-2.6.1


can anyone help?

Thanks
I am also facing the same issue. Did you solved this?

"pkk@DESKTOP-LTOB3VF:/opt/OpenFOAM/OpenFOAM-v2012/ThirdParty$ ./makeCCMIO libso
Appear to have {wmkdepend,wmkdep} binary
Starting build: libccmio-2.6.1 (libso)

cpMakeFiles libccmio .
Compiling enabled on 56 cores
wmake libso (libccmio-2.6.1)
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 637: make: command not found
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 640: make: command not found
wmake error: file '/opt/OpenFOAM/OpenFOAM-v2012/build/linux64Gcc63DPInt32Opt/ThirdParty/libccmio-2.6.1/sourceFiles' could not be created in /opt/OpenFOAM/OpenFOAM-v2012/ThirdParty/libccmio-2.6.1
Error building: ccmio"
Jesswin27 is offline   Reply With Quote

Old   October 19, 2021, 05:02
Default
  #19
New Member
 
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 15
Rep Power: 6
NBad is on a distinguished road
Quote:
Originally Posted by Jesswin27 View Post
I am also facing the same issue. Did you solved this?

"pkk@DESKTOP-LTOB3VF:/opt/OpenFOAM/OpenFOAM-v2012/ThirdParty$ ./makeCCMIO libso
Appear to have {wmkdepend,wmkdep} binary
Starting build: libccmio-2.6.1 (libso)

cpMakeFiles libccmio .
Compiling enabled on 56 cores
wmake libso (libccmio-2.6.1)
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 637: make: command not found
/opt/OpenFOAM/OpenFOAM-v2012/wmake/wmake: line 640: make: command not found
wmake error: file '/opt/OpenFOAM/OpenFOAM-v2012/build/linux64Gcc63DPInt32Opt/ThirdParty/libccmio-2.6.1/sourceFiles' could not be created in /opt/OpenFOAM/OpenFOAM-v2012/ThirdParty/libccmio-2.6.1
Error building: ccmio"

To solve this error you just need to install make: "sudo apt install make"
NBad is offline   Reply With Quote

Old   January 28, 2022, 11:02
Default
  #20
New Member
 
Join Date: Nov 2019
Posts: 13
Rep Power: 6
user007 is on a distinguished road
Quote:
Originally Posted by mathieu View Post
Hi,

I just have revisited the procedure to compile CCM tools for OpenFOAM. In my case, I started with a fully compiled OpenFOAM-v1706, but I guess these steps should also work for a fresh install (not compiled). First, you'll need the libccmio-2.6.1 directory to be located in the ThirdParty-v1706 directory. See the ThirdParty-v1706/BUILD.md file for instructions on how to obtain it and check usage conditions since it is a proprietary package. Then:

cd $WM_THIRD_PARTY_DIR
./makeCCMIO libso
./makeCCMIO lib
foam
./Allwmake


Afterwards, for the legacy converter (if you need it):

app
cd utilities/mesh/conversion/Optional/
./Allwmake


Hope this helps.

I'm following your instruction with OF2112 which I've installed from binaries for openSUSE. Everything seams good until the first ./Allwmake, where the script fails after compiling third-party, at the beginning of the open-foam compilation.


Then after moving to
Code:
utilities/mesh/conversion/ccm
and running ./Allwmake is still unable to find libccmio-2.6.1 which seams to be in the required folder
Code:
/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libccm/
since the Allwmake script is looking for the library at
Code:
$FOAM_LIBBIN/libccm
.
user007 is offline   Reply With Quote

Reply

Tags
ccmtofoam


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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


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