|
[Sponsors] |
[Commercial meshers] [OpenFOAM-v1706] ccmToFoam error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 13, 2022, 08:40 |
ccmToFoam and ccm26ToFoam on OF2112
|
#21 |
Member
Join Date: Apr 2021
Posts: 41
Rep Power: 5 |
Hello,
in the past, I was able to install and run ccm26ToFoam on OF.org/v8 but I don't succeed to repeat this on OF.com/2112, whether with ccmToFoam or 'local' ccm26ToFoam. .about ccmToFoam which comes already installed within the OF folder: Doing Code:
./Allwmake Code:
==> skip ccmio (no header) ==> skip optional libccm adapter .about ccm26ToFoam which comes from: HTML Code:
https://github.com/wyldckat/localCCM26ToFOAM Code:
ccm26ToFoam -help Code:
ccm26ToFoam: symbol lookup error: ccm26ToFoam: undefined symbol: _ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeEb many thanks in advance for any help |
|
May 13, 2022, 08:45 |
|
#22 | |
New Member
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 19
Rep Power: 6 |
Quote:
Hi Alex, I abandoned OpenFOAM for a while now, but if I remember correctly these errors are related to the fact that the libraries used to convert the mesh to/from StarCCM are propretary and thus are not shipped with OpenFOAM. You should look online for the ccmio and libccm libraries and download them separately, then re-build the application. Where you can find these libs? No idea, if I remember correctly I found them inside a github project somewhere. Good luck! |
||
May 16, 2022, 05:43 |
|
#23 |
Member
Join Date: Apr 2021
Posts: 41
Rep Power: 5 |
Hello,
what are the steps to follow for ccmToFoam with OF2112 as there is no ThirdParty directory? thanks |
|
May 16, 2022, 06:16 |
|
#24 | |
New Member
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 19
Rep Power: 6 |
Quote:
Unfortunately I don't recall it.. But from the version name it looks like you're using the OpenCFD version of openfoam. This is a little bit different from the OpenFOAM Fundation version (OpenFOAM v9). You might want to try and install this latter version and see if you find what you're looking for.. https://openfoam.org/version/9/ The procedure I followed is more or less this: I went and built the ccm2foam application using its wmake script. You can probably find a procedure here: [OpenFOAM-v1706] ccmToFoam error The issue is that at some point you don't have the libbccmio library, which is propretary. Try looking into github: https://github.com/MVoz/libccmio-msv...aster/libccmio This is probably where I found the libccmio library. I take no responsability for the content of the download tho, since I don't recall if this is exactly the one I downloaded. The procedure then would be: build the shared library libccmio.so, then building the application ccm2foam, including the .so in the wmake file so that the compiler uses it. I hope this was helpful. |
||
January 19, 2023, 12:12 |
|
#25 |
New Member
Nick
Join Date: Jan 2017
Posts: 6
Rep Power: 9 |
Hello all. Here is how you can build the ccmToFoam utility with OpenFoam-v2212 from www.openfoam.com. I am on Linux/Ubuntu.
1. Download the source code for openfoam-v2212.tgz and thirdparty-v2212.tgz from https://dl.openfoam.com/source/latest/ 2. Unzip both files in your openfoam install location, e.g. ~/openfoam/. The two folders should be parallel. You don't need to move the thirdparty-v2212 folder inside openfoam-v2212. 3. Download the libccmio library. I found a download link by going into ThirdParty-v2212 and running "./makeCCMIO -help" 4. Copy the libccmio top level folder into the ThirdParty-v2212 folder. My directory reads openfoam/ThirdParty-v2212/libccmio-2.6.1. 5. Go into /OpenFOAM-v2212 and run "source etc/bashrc" to make sure your environment is set up. 6. Go into /OpenFOAM-v2212 and run "./Allwmake". This will take a while. 7. Go into /ThirdParty-v2212 and run "./makeCCMIO" and "./makeCCMIO lib". You should now have folders "include" and "lib" in openfoam/ThirdParty-v2212/platforms/linux64Gcc/libccmio-2.6.1/ 8. Go into /OpenFOAM-v2212/src/conversion/ccm and run "./Allwmake" 9. Finally, go into OpenFOAM-v2212/applications/utilities/mesh/conversion/ccm and run "./Allwmake" 10. You should now have the ccmToFoam executable. For me, it's located in OpenFOAM-v2212/platforms/linux64GccDPInt32Opt/bin/ccmToFoam Some links that I used to figure this out: https://develop.openfoam.com/Develop.../-/issues/1045 https://develop.openfoam.com/Develop.../-/issues/2469 https://develop.openfoam.com/Develop...velop/BUILD.md https://develop.openfoam.com/Develop...r/doc/Build.md |
|
June 29, 2023, 12:32 |
|
#26 |
Senior Member
|
Thanks Nick for sharing this information
Thanks Last edited by juliom; June 29, 2023 at 12:43. Reason: -- |
|
May 13, 2024, 03:13 |
|
#27 |
New Member
adarah
Join Date: May 2024
Posts: 1
Rep Power: 0 |
Hello all, I followed the instructions from Nick to build utility ccmToFoam with OpenFOAM-v2306 on OpenSUSE OS (cross-compiled).
But I faced the problem that undefine references such as: ../OpenFOAM-v2306/build/linux64MingwDPInt32Opt/applications/utilities/mesh/conversion/ccm/ccmToFoam/ccmToFoam.o:ccmToFoam.C.text.startup+0x7c4): undefined reference to `Foam::ccm::reader::reader(Foam::fileName const&, Foam::ccm::reader:ptions const&) Do you have any ideas to resolved this problem? Thank you in advance. |
|
Tags |
ccmtofoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries | NickG | OpenFOAM Installation | 3 | December 30, 2019 01:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |