|
[Sponsors] |
April 3, 2017, 17:46 |
|
#21 |
New Member
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Hi,
Here there's a cube. Keep me posted! Thx |
|
April 8, 2017, 10:25 |
|
#22 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Minisasi,
I am still struggling with the 2D mesh. The 3D mesh you sent me does not seem to have an internal grid so no mesh. Can you convert the attached 4.2 mesh to 5.x mesh? Thanks Wouter |
|
April 8, 2017, 17:28 |
|
#23 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Minisasi,
I think I made at least the 2D part work, please test the 3D part and send me an update. Or send me the 3D mesh. Hope this helps, Wouter |
|
April 8, 2017, 18:53 |
|
#24 |
New Member
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Hi Wouter,
I've just seen your message. Sorry about the cube I didn't check before sending it. I'll ask my colleague (I don't have the licence) to remesh it, and I'll be back to you. Meanwhile your 2D prototype looks fine, but let me double check it with my colleague and the original mesh in comsol 5.2. Thank you so much for sharing your code |
|
April 10, 2017, 17:08 |
|
#25 |
New Member
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Hi Wouter,
There is another cube here in Comsol 5.2. Hope it can work this time |
|
April 11, 2017, 14:35 |
|
#26 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Minisasi,
Did you manage to import the old mesh I included last time? If this is a complete mesh in version 5 I need to work a lot more, because there are no prism, hex, tet or pyr defined like in version 4. And I have to create them from the faces in the program. I do not know if there is enough information to do that. Best regards, Wouter |
|
April 14, 2017, 13:55 |
|
#27 |
New Member
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Hi,
In the attachment your cube in comsol 5.2 Hope it helps |
|
April 14, 2017, 17:47 |
|
#28 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Minisasi,
This file works for me, it has 8 hexes. attached log and paraFoam picture. There are warnings, I do not know how to get rid of them, but the conversion works. Hope this help, Wouter |
|
April 14, 2017, 17:48 |
|
#29 |
New Member
Join Date: Jul 2014
Posts: 26
Rep Power: 12 |
Nice job!
Have you tried with any other 3D geometry? Do you want to share your code? |
|
April 15, 2017, 09:55 |
|
#30 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Minisasi,
I did not change anything so the code I send before should work. I cannot try any other 5.2 mesh because I do not have access to Comsol. Best regards, Wouter |
|
May 15, 2017, 13:51 |
|
#31 |
New Member
Elaheh
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Hello Wouter,
I tried your code: comsolToFoam for the 2D geometry and it perfectly converted the Comsol mesh to OpenFOAM but when I tried to convert the 2D-axisymmetry mesh from Comsol to OpenFOAM, it converts the mesh to 2D not 2D axisymmetry. Is there any way to convert the 2D-axisymmetry from COMSOL to OpenFOAM? I will appreciate if you can help me. Regards, |
|
May 21, 2017, 10:29 |
|
#32 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
hello Eli_O,
Sorry for the late response, I was on holiday abroad. Could you send me a sample of an axi-symmetric comsol mesh, so I can see what goes wrong. Best regards, Wouter |
|
May 23, 2017, 15:47 |
|
#33 | |
New Member
Elaheh
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Quote:
Thanks for your attention. a sample of an axisymmetric comsol mesh is attached. In fact, I know how to convert the 2D to 2D-axi-symmetric in OpenFOAM but it will be much easier if there would be a way to convert the mesh from comsol 2D axisymmetry directly to OpenFOAM 2d-axisymmetric mesh. I am looking forward to your response. Regards, |
||
May 23, 2017, 19:25 |
|
#34 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Eli_O,
comsolToFoam expects to find a boundary called "Axial_Symmetry_1" in the html file to make it a 2D-axi mesh, if it is not there then 2D mesh. Please check if in the html file all the boundaries are reported. could you tell me what the name is of the axis, maybe phi? best regards, Wouter |
|
May 24, 2017, 12:17 |
|
#35 | |
New Member
Elaheh
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Quote:
Yes you are right I forgot to define axis. now, I define all the boundaries in these new files, the name of axis is axis in this html file. Regards, |
||
May 24, 2017, 20:17 |
|
#36 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Eli_O,
I am still missing some information, see the attached screen shot of the HTML file of version 4.2 I used as a long time ago. I do not know if this still is generated in the report and I do not remember what to include in the report. Please try to find out and send me the new html file. I will try to change the program that you can tell it what the symmetry axis is without the HTML file. best regards, Wouter |
|
May 26, 2017, 11:32 |
|
#37 | |
New Member
Elaheh
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Quote:
Sorry for the delay. Finally, I managed to have what you want. to have axis symmetry chapter a physic and a study should be added in COMSOL Please see the attached file. Regards, |
||
May 26, 2017, 13:01 |
|
#38 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Eli_O,
Are you sure you sent me the right file, because I cannot find chapter Axial Symmetry 1 best regards Wouter |
|
May 26, 2017, 13:35 |
|
#39 | |
New Member
Elaheh
Join Date: May 2017
Posts: 8
Rep Power: 9 |
Quote:
Regards |
||
May 26, 2017, 18:52 |
|
#40 |
Senior Member
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18 |
Hello Eli_O,
This file works for me with the latest comsolToFoam, in ParaFoam I can see a wedge, so what is the problem you had? Best regards, Wouter |
|
|
|
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 |