saintlyknighted |
May 25, 2023 07:14 |
Unable to install ccm26ToFoam
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: https://www.cfd-online.com/Forums/op...-ccm-file.html. 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!
|