Extrude2dmesh
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 |
Hi all
I have the same neri.alemanni's question. How can i use extrude2dmesh? Thanks |
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 |
Thanks
You can post an example? Daniele |
yes of course... but i'm really busy right now, so i will post an example tomorrow.
sorry... draufunddran |
Sure. Don't worry. Thanks you a lot.
Daniele |
1 Attachment(s)
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::printStack(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 |
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? |
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? |
All times are GMT -4. The time now is 12:28. |