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

[Commercial meshers] ccmToFoam Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2020, 11:17
Default ccmToFoam Problem
  #1
New Member
 
andrea chianese
Join Date: May 2020
Posts: 3
Rep Power: 5
Joffy is on a distinguished road
Hi everybody,

I'm having problems with ccmToFoam installation.
I have downloaded the Libccmio-2.6.1.folder (85MB), put it in the thirdparty folder and followed this instructions:


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/ccm
./Allwmake


but at last step I have still the same error;
==> skip optional ccm conversion components (no libccm.so)



PLS can somebody helps me? this work is for my thesis.


when I use the first command in Thirdparty folder:

Quote:
cpMakeFiles libccmio .
wmake lib (libccmio-2.6.1)
Making dependency list for source file ccmioversion.c
Making dependency list for source file ccmioutility.c
Making dependency list for source file ccmiocore.c
Making dependency list for source file ccmioprivate.c
Making dependency list for source file ccmio.c
Making dependency list for source file ADF_internals.c
Making dependency list for source file ADF_interface.c
Making dependency list for source file ADF_fortran_2_c.c
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libadf/ADF_fortran_2_c.c -o Make/linux64GccDPInt32Opt/libadf/ADF_fortran_2_c.o
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libadf/ADF_interface.c -o Make/linux64GccDPInt32Opt/libadf/ADF_interface.o
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libadf/ADF_internals.c -o Make/linux64GccDPInt32Opt/libadf/ADF_internals.o
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libccmio/ccmio.c -o Make/linux64GccDPInt32Opt/libccmio/ccmio.o
libccmio/ccmio.c: In function ‘MakeEntityName’:
libccmio/ccmio.c:523:40: warning: format not a string literal and no format arguments [-Wformat-security]
snprintf(name, kCCMIOMaxStringLength, gEntityNames[(int)type]);
^~~~~~~~~~~~
libadf/ADF_internals.c: In function ‘DC_flush_range’:
libadf/ADF_internals.c:696:29: warning: variable ‘prev’ set but not used [-Wunused-but-set-variable]
struct DISK_CACHE_NODE *prev, *node = disk_cache;
^~~~
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libccmio/ccmiocore.c -o Make/linux64GccDPInt32Opt/libccmio/ccmiocore.o
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libccmio/ccmioprivate.c -o Make/linux64GccDPInt32Opt/libccmio/ccmioprivate.o
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libccmio/ccmioutility.c -o Make/linux64GccDPInt32Opt/libccmio/ccmioutility.o
libccmio/ccmioutility.c: In function ‘CCMIOCopyNode’:
libccmio/ccmioutility.c:302:6: warning: attempt to free a non-heap object ‘dims’ [-Wfree-nonheap-object]
free(dims);
^~~~~~~~~~
gcc -m64 -DOPENFOAM_PLUS=1706 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -IlnInclude -I. -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude -I/opt/openfoam/v1706/OpenFOAM-v1706/src/OSspecific/POSIX/lnInclude -fPIC -c libccmio/ccmioversion.c -o Make/linux64GccDPInt32Opt/libccmio/ccmioversion.o
ar cr /opt/openfoam/v1706/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/lib/libccmio.a Make/linux64GccDPInt32Opt/libadf/ADF_fortran_2_c.o Make/linux64GccDPInt32Opt/libadf/ADF_interface.o Make/linux64GccDPInt32Opt/libadf/ADF_internals.o Make/linux64GccDPInt32Opt/libccmio/ccmio.o Make/linux64GccDPInt32Opt/libccmio/ccmiocore.o Make/linux64GccDPInt32Opt/libccmio/ccmioprivate.o Make/linux64GccDPInt32Opt/libccmio/ccmioutility.o Make/linux64GccDPInt32Opt/libccmio/ccmioversion.o
ranlib /opt/openfoam/v1706/OpenFOAM-v1706/platforms/linux64GccDPInt32Opt/lib/libccmio.a
'libccmio/ccmio.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmio.h'
'libccmio/ccmiocore.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmiocore.h'
'libccmio/ccmioprivate.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioprivate.h'
'libccmio/ccmiotypes.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmiotypes.h'
'libccmio/ccmioutility.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioutility.h'
'libccmio/ccmioverifymesh.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioverifymesh.h'
'libccmio/ccmioversion.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioversion.h'
root@andrea-desktop:/opt/openfoam/v1706/ThirdParty-v1706# ./makeCCMIO lib
cpMakeFiles libccmio .
wmake lib (libccmio-2.6.1)
'libccmio/ccmio.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmio.h'
'libccmio/ccmiocore.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmiocore.h'
'libccmio/ccmioprivate.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioprivate.h'
'libccmio/ccmiotypes.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmiotypes.h'
'libccmio/ccmioutility.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioutility.h'
'libccmio/ccmioverifymesh.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioverifymesh.h'
'libccmio/ccmioversion.h' -> '/opt/openfoam/v1706/ThirdParty-v1706/platforms/linux64Gcc/libccmio-2.6.1/include/libccmio/ccmioversion.h'
after the second command in OpenFoam-V1806:


wmake libso (conversion)
==> skip optional libccm adapter
Joffy is offline   Reply With Quote

Old   May 13, 2022, 07:46
Default
  #2
Member
 
Join Date: Apr 2021
Posts: 41
Rep Power: 4
AlxB is on a distinguished road
Hello Joffy,
did you solve the issue ?

if so, please may I know how ?

I am using OF2112 and doing
Quote:
./Allwmake
in the src/conversion/ccm folder leads to :

==> skip ccmio (no header)
==> skip optional libccm adapter
AlxB 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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 18:57.