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

ccmToFoam error at v1912

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2021, 11:39
Default ccmToFoam error at v1912
  #1
New Member
 
Mehmet Alim
Join Date: Feb 2021
Posts: 1
Rep Power: 0
mehmetalim is on a distinguished road
Hi foamers,
I want to convert a .ccm mesh file by STAR-CCM+ to OpenFOAM. In the OpenFOAM-v1912, 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)".
Need your help and wish your reply.
mehmetalim is offline   Reply With Quote

Old   January 28, 2022, 10:49
Default
  #2
New Member
 
Join Date: Nov 2019
Posts: 13
Rep Power: 6
user007 is on a distinguished road
Same problem with openFOAM 2112. I've downloaded the library libccmio-2.6.1 and placed in which seams to be the required folder
Code:
/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libccm/
since the Allwmake script is loocking for the lib at
Code:
$FOAM_LIBBIN/libccm
but the Allwmake is still unable to find it.
user007 is offline   Reply With Quote

Old   April 29, 2022, 09:34
Default
  #3
New Member
 
Shenhui Ruan
Join Date: Nov 2021
Location: Karlsruhe
Posts: 12
Rep Power: 4
fly_light is on a distinguished road
please read this thread, the solution of Mathieu works to me, I hope it also works for you.
I think the problem maybe there are some special settings in OpenFOAM compile which would relocate the libccm. But I don't know the details.

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.

in the OpenFOAM compilation process, I find the following information, I don't know whether it is helpful.
Quote:
-lfiniteVolume -lfileFormats -lconversion -L/home/shenhuiruan/OpenFOAM/OpenFOAM-v2112/ThirdParty/platforms/linux64Gcc/libccmio-2.6.1/lib64 -lccmio -o /home/shenhuiruan/OpenFOAM/OpenFOAM-v2112/platforms/linux64GccDPInt32Opt/lib/libccm.so
/usr/bin/ld: /home/shenhuiruan/OpenFOAM/OpenFOAM-v2112/ThirdParty/platforms/linux64Gcc/libccmio-2.6.1/lib64/libccmio.a(ccmioutility.o): in function `CCMIOCompress':
fly_light is offline   Reply With Quote

Reply


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
[Commercial meshers] [OpenFOAM-v1706] ccmToFoam error shuai_manlou OpenFOAM Meshing & Mesh Conversion 25 June 29, 2023 11:32
different results form openfoam 3.0.1 to 1912 yuno OpenFOAM Running, Solving & CFD 0 September 28, 2020 03:09
OpenFOAM v1912 Green Water Loading Case Implementation Problem leuthar OpenFOAM Running, Solving & CFD 2 March 12, 2020 16:42
[OpenFOAM.com] Can't build ParaView in v1912 after changing from OpenFOAM.org (v7) fanta OpenFOAM Installation 1 February 24, 2020 04:35
[swak4Foam] Setting field with a zone() condition using OpenFOAM V1912 setExprField stewaj5 OpenFOAM Community Contributions 0 January 5, 2020 20:38


All times are GMT -4. The time now is 23:45.