[OpenFOAM-v1706] ccmToFoam error
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. |
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. |
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 |
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. |
good to see that i am not alone who is working with ccm to OpenFoam
|
Hi einstein_zee,
Thanks for sharing your experience, now you have proved that the instructions work well for both OF5.x and OF1712. |
Ccm26ToFoam- error reding cells
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 box:(0 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 |
same converting problem
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 |
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.
|
Quote:
Thanks a lot Best Regards Simón |
CCMIO compile on v1906
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 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 |
Hi,
did you find out how to do it? |
Hi eveybody,
I'm still searching for the libccmio-2.6.1. Does someone know where to find it? It'll be very helpful! |
I find this note: (libccmio-2.6.1.spec)
|
Can ccm26ToFoam work in openfoam installed on ubuntu?
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 |
starToFoam or ccm26ToFoam?
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. |
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" |
Quote:
To solve this error you just need to install make: "sudo apt install make" |
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 |
All times are GMT -4. The time now is 23:34. |