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

[Commercial meshers] [OpenFOAM-v1706] ccmToFoam error

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2022, 07:40
Default ccmToFoam and ccm26ToFoam on OF2112
  #21
Member
 
Join Date: Apr 2021
Posts: 31
Rep Power: 3
AlxB is on a distinguished road
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
in the src/conversion/ccm folder gives :

Code:
==> skip ccmio (no header)
==> skip optional libccm adapter
is there something missing ? what could be the issue ?




.about ccm26ToFoam which comes from:
HTML Code:
https://github.com/wyldckat/localCCM26ToFOAM
Doing
Code:
ccm26ToFoam -help
gives :

Code:
ccm26ToFoam: symbol lookup error: ccm26ToFoam: undefined symbol: _ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeEb
again, what could be the issue here ?



many thanks in advance for any help
AlxB is offline   Reply With Quote

Old   May 13, 2022, 07:45
Default
  #22
New Member
 
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 14
Rep Power: 4
NBad is on a distinguished road
Quote:
Originally Posted by AlxB View Post
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
in the src/conversion/ccm folder gives :

Code:
==> skip ccmio (no header)
==> skip optional libccm adapter
is there something missing ? what could be the issue ?




.about ccm26ToFoam which comes from:
HTML Code:
https://github.com/wyldckat/localCCM26ToFOAM
Doing
Code:
ccm26ToFoam -help
gives :

Code:
ccm26ToFoam: symbol lookup error: ccm26ToFoam: undefined symbol: _ZNK4Foam11regIOobject11writeObjectENS_8IOstream12streamFormatENS1_13versionNumberENS1_15compressionTypeEb
again, what could be the issue here ?



many thanks in advance for any help

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!
NBad is offline   Reply With Quote

Old   May 16, 2022, 04:43
Default
  #23
Member
 
Join Date: Apr 2021
Posts: 31
Rep Power: 3
AlxB is on a distinguished road
Hello,

what are the steps to follow for ccmToFoam with OF2112 as there is no ThirdParty directory?

thanks
AlxB is offline   Reply With Quote

Old   May 16, 2022, 05:16
Default
  #24
New Member
 
Nicoḷ Badodi
Join Date: Mar 2020
Posts: 14
Rep Power: 4
NBad is on a distinguished road
Quote:
Originally Posted by AlxB View Post
Hello,

what are the steps to follow for ccmToFoam with OF2112 as there is no ThirdParty directory?

thanks

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.
NBad is offline   Reply With Quote

Reply

Tags
ccmtofoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 14:31.