|
[Sponsors] |
March 31, 2014, 07:41 |
|
#61 |
New Member
Join Date: Mar 2014
Posts: 3
Rep Power: 12 |
Thanks ziad you were right. I just needed to add the necessary folders for an openfoam project. I then placed the ccm file into the project folder and ran the ccmtofoam command to populate the polymesh folder for the conversion to work. I appreciate the help.
|
|
April 1, 2014, 22:13 |
|
#62 | |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 14 |
Quote:
Thank you for your detailed instruction. I'm new to OpenFOAM and I use OpenFOAM-2-1-1. I followed #51 step by step, after I ran the ccm26local, I got an error, so I didn't get instructions the script gives. The error is kind of complex for me and I don't know how to show it to you. So can you help me with this? Thanks, Pengchuan |
||
April 1, 2014, 22:25 |
|
#63 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi wang,
Post your error here then may i can help to you... B |
|
April 1, 2014, 22:36 |
|
#64 |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 14 |
Hi Baris,
Thank you for you help. The error is in the attachment. I couldn't post it here. It says that I have more than 10 images, which makes me confused. Thank you again. Pengchuan |
|
April 2, 2014, 01:29 |
|
#65 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
Hi wang,
just let me know that when you run the ./ccm26local and saw the following line Have you contacted CD-Adapco and received the libccmio package? (yes/no): Did you write here yes or only y..you should write directly yes then it will work well. And also check again whether you are in the correct folder (cd ccm26local220)or not in terminal. Hope this helps.. B |
|
April 2, 2014, 01:39 |
|
#66 |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 14 |
Hi Baris,
I did answer "yes" in the terminal. Thanks, Pengchuan |
|
April 2, 2014, 01:41 |
|
#67 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
So it works fine or still gives same error?
|
|
April 2, 2014, 01:50 |
|
#68 |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 14 |
Hi Baris,
It still gives the same error make: *** [Make/linuxGccDPOpt/ccm26ToFoam.o] Error 1 after that the compile stops. Thanks, Pengchuan |
|
April 2, 2014, 01:58 |
|
#69 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
ohh Wang ok i got it...your version 2.1.x but if you follow from post #51 which is for v.2.2.x
so please follow in post 27, with the file in post 29 work for OpenFoam 2.1.1 I think that it will work fine. Best regards. B. |
|
April 2, 2014, 02:05 |
|
#70 |
Member
Pengchuan Wang
Join Date: Nov 2012
Location: Michigan USA
Posts: 58
Rep Power: 14 |
Hi Baris,
Thank you for your quick reply. I followed your advice, I downloaded the file in #29 and follow the instruction in #27. However, I still get some errors. + ./AllwmakeLibccmio downloading libccmio-2.6.1.tar.gz from https://wci.llnl.gov/codes/visit/3rd...o-2.6.1.tar.gz --2014-04-02 01:01:55-- https://wci.llnl.gov/codes/visit/3rd...o-2.6.1.tar.gz Resolving wci.llnl.gov (wci.llnl.gov)... 198.128.246.10 Connecting to wci.llnl.gov (wci.llnl.gov)|198.128.246.10|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2014-04-02 01:01:56 ERROR 404: Not Found. no download/libccmio-2.6.1.tar.gz to unpack + cd libccmio-2.6.1 ./AllwmakeLibccmio: 61: cd: can't cd to libccmio-2.6.1 + exit 1 + [ -e /home/pechwang/OpenFOAM/pechwang-2.1.1/platforms/linuxGccDPOpt/lib/libccmio.so ] + wmake ccm26ToFoam Making dependency list for source file ccm26ToFoam.C SOURCE=ccm26ToFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I/home/pechwang/OpenFOAM/pechwang-2.1.1/Optional/libccmio-2.6.1 -I/home/pechwang/OpenFOAM/pechwang-2.1.1/Optional/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/ccm26ToFoam.o ccm26ToFoam.C:46:19: fatal error: ccmio.h: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOpt/ccm26ToFoam.o] Error 1 So which file do I need to use, from #27 or from #29 Thanks, Pengchuan |
|
April 2, 2014, 02:20 |
|
#71 |
Senior Member
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13 |
you should use file from #29 and follow the instruction from #27. It should work, bcs i tried and works fine. By the way, if you ask my opinion, you just wanna convert the mesh then easily download last version of OP 2.3.0
and change by running: gedit ~/.bashrc as source /opt/openfoam230/etc/bashrc then follow post #51. after you convert your mesh then you can reset .bashrc file as opt/openfoam211/etc/bashrc B |
|
November 25, 2014, 12:05 |
|
#72 |
New Member
Join Date: May 2014
Posts: 4
Rep Power: 12 |
Hiya,
thanks for writing this script! Unfortunately, it doesn't work for me. Maybe the reason is that I'm trying with OF230? I do not really want to install OF2.2.x (using Ubuntu 14.04 it takes some time to compile the source code), but maybe I will have to give it a try. last error is: ccm26ToFoam.C:46:19: fatal error: ccmio.h: No such file or directory If you have any remark, please find attached the error file. |
|
November 26, 2014, 07:36 |
|
#73 |
New Member
Join Date: May 2014
Posts: 4
Rep Power: 12 |
Okay, thanks, it works with OpenFOAM-2.2.2!
However, I now have the problem that I am not sure whether the conversion process is doing the right job. When I open the converted mesh in paraView, under Information/Statistics/Number_of_cells a far higher amount of cells is displayed than in the original StarCCM mesh. Paraview suggests that the topology has changed. However, if I run checkMesh it tells me the right statistics and the right number of cells. Now I don't have an idea how to check whether the problem is on the paraFoam displaying side or on the side of the mesh conversion. Any ideas? I have attached both grids. You can see, that some of the rectangles of the surface mesh are divided into several triangles. |
|
November 30, 2014, 07:37 |
|
#74 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
|
||
March 28, 2016, 11:55 |
|
#75 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
I've finished creating a git repository that has the instructions and part of the needed code for building and installing the ccm26ToFoam utility. The installation instructions are available in the main page of the new repository: localCCM26ToFOAM Best regards, Bruno
__________________
|
|
September 15, 2016, 07:12 |
|
#76 |
New Member
Francesco
Join Date: May 2012
Location: italy
Posts: 8
Rep Power: 14 |
Hi guys,
is there anyone who has installed ccm226tofoam in OF v1606?? Best regards Francesco |
|
September 17, 2016, 09:10 |
|
#77 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
__________________
|
||
September 19, 2016, 10:25 |
|
#78 | |
New Member
Francesco
Join Date: May 2012
Location: italy
Posts: 8
Rep Power: 14 |
Quote:
|
||
Tags |
.msh, .vrt, mesh conversion, star-ccm |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |