|
[Sponsors] |
June 15, 2017, 03:02 |
|
#61 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello sahm,
I think I fixed the problem, please check. It is a quick fix, so I will be improving on the performance. Map1,map2 and map3 are still empty, I think that is ok. Hope this helps Wouter |
|
June 15, 2017, 08:04 |
|
#62 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
Hello Wouter
I am getting an error that says Killed! don't know what's happening. Code:
+---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+-- in comsol version 5 no parameters reading 4398 GeomEntityIndices +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+-- finished reading type "edg" =============================================================== reading type: "quad" number of Nodes per Element 4 number of Elements 79432 +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ in comsol version 5 no parameters reading 79432 GeomEntityIndices +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ finished reading type "quad" =============================================================== reading type: "hex" number of Nodes per Element 8 number of Elements 465944 +---------+---------+---------+---------+---------+---------+---------+---------+---------+---------+ in comsol version 5 no parameters reading 465944 GeomEntityIndices +---------+---------+---------+---------+---------+---------+-----Killed
__________________
SAHM |
|
June 15, 2017, 15:08 |
|
#63 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Sahm,
attached the run of comsolToFoam on the coarse mesh. For me it gives a result. I had to delete a number of lines because the file was too large. comsolToFoam Tunnel_coarse.mphtxt report1.html checkMesh is attached as well Killed is not something from my program Hope this helps wouter |
|
June 15, 2017, 15:43 |
|
#64 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
Hi Wouter,
Could you tell me how you ran the code? I mean you say you deleted some lines, which lines were deleted? I am trying to run the code again (after a restart to clean the memory) Thanks, SAHM.
__________________
SAHM |
|
June 15, 2017, 15:54 |
|
#65 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Sahm,
the command is in the previous mail comsolToFoam Tunnel_coarse.mphtxt report1.html >comsolToFoam.log checkMesh >> comsolToFoam.log The lines I deleted were in the log file, if you open it, it says: : : lines deleted : hope his helps Wouter |
|
June 15, 2017, 15:59 |
|
#66 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
OK, I noticed it now. I thought you deleted some lines from the comsol mesh file.
I will see what happens. Thanks for your help. I hope your code helps others as well.
__________________
SAHM |
|
June 15, 2017, 16:06 |
|
#67 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Sahm,
just run the simple version: attached a picture from parafoam Best regards, Wouter |
|
June 16, 2017, 18:15 |
It's working!
|
#68 |
Senior Member
Seyyed Ali H.M.
Join Date: Nov 2009
Location: Utah
Posts: 107
Rep Power: 17 |
Hi Wouter,
Thanks a lot for your help, after some manual editing it seems like the case is working finally. Here are the troubles I ran into while I was trying to make my case work:
Again, thanks for your help.
__________________
SAHM |
|
June 16, 2017, 19:54 |
|
#69 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Sahm,
Thanks for the feedback, I will put this in my source file, so it won't get lost. I do not think I can change anything in my program to improve on these points, they are all in comsol. I can check the cyclic boundary condition in openFoam from a periodic boundary in comsol, I never used them so I do not know if I succeed. Best regards, Wouter |
|
January 11, 2021, 03:08 |
Help!
|
#70 |
New Member
Mario
Join Date: Apr 2020
Posts: 3
Rep Power: 6 |
Hello foamers,
I have tried to convert my comsol file in OpenFoam mesh but I am not sure how to source the code. I tried to source it but a weird error appear. Here it is: "make: *** No rule to make target 'Make/linux64GccDPInt32Opt/comsolToFoam8.C.dep', needed by 'Make/linux64GccDPInt32Opt/comsolToFoam8.o'. Stop." In addition, a folder called "linux64GccDPInt32Opt" is created. I will appreciate a lot if you can help me to solve this issue. Regards Mario |
|
January 12, 2021, 19:15 |
|
#71 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Mari,
It is a long time ago. Did you download the make directory? Did you run wmake? maybe you have to edit the files to reflect the latest c file look at the complete thread for more information. Please note that this is for an old version of OF and Comsol Hope this helps Regards, Wouter |
|
May 22, 2022, 05:33 |
|
#72 | |
New Member
Zhen Liao
Join Date: Apr 2022
Posts: 16
Rep Power: 4 |
Quote:
I wonder if you have updated your program so that it can suitable for comsol 6.0 & OpenFOAM 6.0? Thank you! |
||
May 23, 2022, 18:26 |
|
#73 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello zyliao,
As said in the post I do not have access to Comsol anymore, so no updates best Wouter |
|
June 1, 2022, 13:47 |
|
#74 |
New Member
Ali Can
Join Date: Apr 2021
Posts: 28
Rep Power: 5 |
hello dear foamers,
Is there any way to convert comsol mesh to openfoam? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
OpenFOAM course for beginners | Jibran | OpenFOAM Announcements from Other Sources | 2 | November 4, 2019 09:51 |
[Commercial meshers] OpenFoam Mesh to Fluent Mesh in parallel case | DominicTNC | OpenFOAM Meshing & Mesh Conversion | 3 | November 22, 2017 10:19 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 08:18 |