|
[Sponsors] |
January 25, 2010, 01:37 |
Extrude2dmesh
|
#1 |
New Member
neri alamanni
Join Date: Nov 2009
Posts: 4
Rep Power: 16 |
Hi all
how the extrude2dmesh works? does it extrude 2d mesh in a standard format (ideas .unv, gmsh, fluent etc)? Are there any working examples? Is the source code of extrude2dmesh available? Thank you and best regards to all of you neri |
|
July 26, 2010, 13:24 |
|
#2 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
Hi all
I have the same neri.alemanni's question. How can i use extrude2dmesh? Thanks |
|
September 1, 2010, 07:21 |
|
#3 |
New Member
Florian Becker
Join Date: Apr 2010
Posts: 12
Rep Power: 0 |
hi Daniele and neri,
i used extrude2Dmesh yesterday, and i got it to work. You only need the 4 files:
In the faces file there should be only faces with 2 points and the order should be so that you can write the boundarys in the boundary file. for example all the faces for inlet should be in one block and the faces for outlet in an other block. The cells file should only contain the cells witch are created by putting at least 3 or more faces to one cell (not a 3d cell but a 2D cell such like the faces in a 3D mesh). In the boundary file you only have to write the boundary-faces with the number of faces and where the block starts. i hope this will help a bit, and sorry for my bad english, i'm not very good at writing english.... greetings draufunddran Last edited by draufunddran; September 20, 2010 at 07:14. |
|
October 11, 2010, 07:14 |
|
#4 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
Thanks
You can post an example? Daniele |
|
October 11, 2010, 07:29 |
|
#5 |
New Member
Florian Becker
Join Date: Apr 2010
Posts: 12
Rep Power: 0 |
yes of course... but i'm really busy right now, so i will post an example tomorrow.
sorry... draufunddran |
|
October 11, 2010, 07:41 |
|
#6 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
Sure. Don't worry. Thanks you a lot.
Daniele |
|
October 11, 2010, 09:19 |
|
#7 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
Nobody uses extrude2DMesh? This is my simple test case: a 2D square with only 1 cell, and I want extrude it. I have this error:
Create polyMesh for time = 0 Direction:0 range:1 Direction:1 range:1 Direction:2 range:0 Extruding in direction 2 with thickness 100 #0 Foam::error:rintStack(Foam::Ostream&) in "/home/acconcia/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/acconcia/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 in "/home/acconcia/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/extrude2DMesh" #4 in "/home/acconcia/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/extrude2DMesh" #5 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #6 in "/home/acconcia/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/extrude2DMesh" Segmentation fault |
|
October 11, 2010, 09:40 |
|
#8 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
I eliminate errors and my output now it is:
Create time Create polyMesh for time = 0 Direction:0 range:1 Direction:1 range:1 Direction:2 range:0 Extruding in direction 2 with thickness 1 Adding empty patch frontAndBack at index 4 for front and back faces. Writing extruded mesh to time 1 End It likes right. But if I try to visualize mesh with parafoam it crash. Why? |
|
October 11, 2010, 11:22 |
|
#9 |
Senior Member
Daniele
Join Date: Feb 2010
Posts: 134
Rep Power: 16 |
I resolved the problem. Now I'm trying to create a 2D mesh with triangular elements, but I have the same error that you posted i your thread:
--> FOAM FATAL ERROR: Created illegal face 2(3 1) at position:7 when filtering removed points From function polyTopoChange::compact(..) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 988. FOAM aborting Do you find the problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
extrude2DMesh | ChrisPro | OpenFOAM Pre-Processing | 1 | March 24, 2016 14:48 |
[Other] extrude2DMesh does not work ! | ooo | OpenFOAM Meshing & Mesh Conversion | 3 | July 5, 2013 11:19 |
[mesh manipulation] extrude2Mesh stucks on error "created illegal face" | draufunddran | OpenFOAM Meshing & Mesh Conversion | 0 | September 20, 2010 04:32 |