|
[Sponsors] |
[Commercial meshers] [OpenFOAM-v1706] ccmToFoam error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 17, 2017, 20:25 |
[OpenFOAM-v1706] ccmToFoam error
|
#1 |
Member
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14 |
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. |
|
November 1, 2017, 11:13 |
|
#2 |
Member
Mathieu Olivier
Join Date: Mar 2009
Location: Quebec City, Canada
Posts: 77
Rep Power: 17 |
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. Last edited by mathieu; November 2, 2017 at 09:44. |
|
November 4, 2017, 21:41 |
|
#3 |
Member
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14 |
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 |
|
February 6, 2018, 04:20 |
|
#4 |
Member
Hosein
Join Date: Nov 2011
Location: Germany
Posts: 94
Rep Power: 15 |
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. |
|
February 6, 2018, 04:49 |
|
#5 |
Member
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 12 |
good to see that i am not alone who is working with ccm to OpenFoam
__________________
If it is easy, then something is fishy! |
|
February 6, 2018, 04:53 |
|
#6 |
Member
CAO Liushuai
Join Date: Apr 2012
Posts: 30
Rep Power: 14 |
Hi einstein_zee,
Thanks for sharing your experience, now you have proved that the instructions work well for both OF5.x and OF1712. |
|
March 13, 2018, 05:13 |
Ccm26ToFoam- error reding cells
|
#7 |
Member
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15 |
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 |
|
September 4, 2018, 02:16 |
same converting problem
|
#8 | |
New Member
Yejun Gong
Join Date: Mar 2009
Posts: 21
Rep Power: 18 |
Quote:
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 |
||
September 21, 2018, 11:39 |
|
#9 |
New Member
Anonymous
Join Date: Jan 2015
Posts: 1
Rep Power: 0 |
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.
|
|
September 24, 2018, 07:47 |
|
#10 | |
Member
ynos
Join Date: Jan 2011
Posts: 39
Rep Power: 15 |
Quote:
Thanks a lot Best Regards Simón |
||
August 18, 2019, 16:41 |
CCMIO compile on v1906
|
#11 |
New Member
Michael Shives
Join Date: Aug 2019
Posts: 1
Rep Power: 0 |
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 |
|
May 19, 2020, 02:41 |
|
#12 |
Member
Vignesh Rajendiran
Join Date: Aug 2016
Location: Chennai, India
Posts: 62
Rep Power: 10 |
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 |
|
May 26, 2020, 13:34 |
|
#13 |
New Member
Liz
Join Date: Apr 2020
Location: Germany
Posts: 10
Rep Power: 6 |
Hi,
did you find out how to do it? |
|
July 16, 2020, 09:33 |
|
#14 |
New Member
Liz
Join Date: Apr 2020
Location: Germany
Posts: 10
Rep Power: 6 |
Hi eveybody,
I'm still searching for the libccmio-2.6.1. Does someone know where to find it? It'll be very helpful! |
|
October 31, 2020, 06:05 |
I find this note: (libccmio-2.6.1.spec)
|
#15 |
New Member
Gabriel Binelli
Join Date: May 2020
Posts: 2
Rep Power: 0 |
||
April 13, 2021, 09:28 |
Can ccm26ToFoam work in openfoam installed on ubuntu?
|
#16 | |
New Member
Jiayu Sun
Join Date: Jul 2020
Location: Harbin,China
Posts: 18
Rep Power: 6 |
Quote:
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 |
||
April 15, 2021, 10:05 |
starToFoam or ccm26ToFoam?
|
#17 | |
New Member
Jiayu Sun
Join Date: Jul 2020
Location: Harbin,China
Posts: 18
Rep Power: 6 |
Quote:
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 11:23. Reason: add some information |
||
June 19, 2021, 07:26 |
|
#18 | |
New Member
Join Date: Aug 2020
Posts: 2
Rep Power: 0 |
Quote:
"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" |
||
October 19, 2021, 06:02 |
|
#19 | |
New Member
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 20
Rep Power: 6 |
Quote:
To solve this error you just need to install make: "sudo apt install make" |
||
January 28, 2022, 12:02 |
|
#20 | |
New Member
Join Date: Nov 2019
Posts: 13
Rep Power: 7 |
Quote:
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 Code:
/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libccm/ Code:
$FOAM_LIBBIN/libccm |
||
Tags |
ccmtofoam |
|
|
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 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |