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

[Commercial meshers] Unable to install ccm26ToFoam

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 25, 2023, 08:14
Default Unable to install ccm26ToFoam
  #1
New Member
 
Bryan Tan
Join Date: May 2023
Posts: 2
Rep Power: 0
saintlyknighted is on a distinguished road
Hi everyone,


I'm trying to convert a mesh from STAR-CCM+ into an OpenFoam format to be used in coupling with the SERPENT 2 neutronics code. I've not used OpenFoam before (would probably only need it for this conversion) and am generally quite software illiterate so please bear with me if I make stupid mistakes or not understand some terms and instructions.



I've downloaded OpenFoam v2212 on Ubuntu using the instructions provided in this link: https://develop.openfoam.com/Develop...ompiled/debian. Next, I followed the instructions here: https://github.com/wyldckat/localCCM26ToFOAM#readme, but I'm unable to obtain the libccmio package as I keep getting timed out:



Code:
Preparing folder ccm26ToFoam...
cp: cannot stat '/usr/lib/openfoam/openfoam2212/applications/utilities/mesh/conversion/Optional/ccm26ToFoam': No such file or directory
sed: can't read ccm26ToFoam/Make/files: No such file or directory
sed: can't read ccm26ToFoam/Make/options: No such file or directory
sed: can't read ccm26ToFoam/Make/options: No such file or directory
mkdir: cannot create directory ‘download’: File exists
* The license of the libccmio library is proprietary:

    Users wishing to make use of its functionality should contact CD-Adapco
    for possible download and terms of use.

Have you contacted CD-Adapco and received the libccmio package?

  - If you have, then press Enter to continue. It will download the package available at the VisIt project.

  - If you have not, then press the key combination Ctrl+C to abort.

Downloading from VisIt's third party online folder:
downloading libccmio-2.6.1.tar.gz from http://visit.ilight.com/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz
--2023-05-24 17:03:49--  http://visit.ilight.com/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz
Resolving visit.ilight.com (visit.ilight.com)... 71.104.59.178
Connecting to visit.ilight.com (visit.ilight.com)|71.104.59.178|:80... failed: Connection timed out.
Retrying.

--2023-05-24 17:06:00--  (try: 2)  http://visit.ilight.com/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz
Connecting to visit.ilight.com (visit.ilight.com)|71.104.59.178|:80... failed: Connection timed out.
Retrying.

--2023-05-24 17:08:12--  (try: 3)  http://visit.ilight.com/svn/visit/trunk/third_party/libccmio-2.6.1.tar.gz
Connecting to visit.ilight.com (visit.ilight.com)|71.104.59.178|:80... failed: Connection timed out.
Retrying.

I instead managed to obtain the package via a link that someone else suggested (http://downloads.sourceforge.net/pro...o-2.6.1.tar.gz) and started following the instructions from this link instead: How to install ccm26ToFoam in OF2.2.x and convert a ccm file. I placed the libccmio-2.6.1 directory into the directory "~/OpenFOAM/bryantan-v2212" as in Step 2, but when I try to run the "./AllwmakeLibccmio" command it tells me there's no such file or directory (which is true, there is no AllwmakeLibccmio file the present working directory).


I did find a AllwmakeLibccmio file in the "~/OpenFOAM/bryantan-v2212/localCCM26ToFOAM-of-v1606-" directory and so I tried to run the "./AllwmakeLibccmio" command there, but it gave me the following output:


Code:
+ cd libccmio-2.6.1
+ mkdir Make
mkdir: cannot create directory ‘Make’: File exists
+ cp -n ../wmakeFiles/libccmio/files ../wmakeFiles/libccmio/options Make/
+ wmake libso
wmake libso (libccmio-2.6.1)
Making dependencies: ccmio.c
gcc -m64 -DOPENFOAM=2212 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3    -iquote. -IlnInclude -I/usr/lib/openfoam/openfoam2212/src/OpenFOAM/lnInclude -I/usr/lib/openfoam/openfoam2212/src/OSspecific/POSIX/lnInclude   -fPIC -c libccmio/ccmio.c -o Make/linux64GccDPInt32Opt/libccmio/ccmio.o
libccmio/ccmio.c:31:10: fatal error: libadf/ADF.h: No such file or directory
   31 | #include <libadf/ADF.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib/openfoam/openfoam2212/wmake/rules/General/transform:38: Make/linux64GccDPInt32Opt/libccmio/ccmio.o] Error 1

I've tried manipulating the files around but nothing seemed to work, and I don't really remember exactly what I did unfortunately. Would appreciate any help!
saintlyknighted is offline   Reply With Quote

 


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.com] Unable to install OpenFOAM v1906/v2012 in Ubuntu 20.04.2 LTS chandra shekhar pant OpenFOAM Installation 5 June 18, 2021 09:49
[OpenFOAM.org] How to install ccm26ToFoam in OF2.2.x and convert a ccm file donQi OpenFOAM Installation 20 July 21, 2020 06:07
Unable to Install ANSA on different directory bikooo3878 ANSA 2 September 26, 2019 08:46
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 12:18
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 16:45


All times are GMT -4. The time now is 20:12.