|
[Sponsors] |
December 9, 2009, 13:40 |
mesh like spiderweb?
|
#1 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
Hi Folks,
is it possible to create a mesh like a spiderweb (see picture attached) ? best regards heavy |
|
December 9, 2009, 17:11 |
|
#2 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
With blockMesh you can only create an O-Grid for the discretization of a circle.
If you have some other netgenerator you can try to mix tet- with hex-elements.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
December 10, 2009, 08:27 |
|
#3 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
||
December 10, 2009, 10:04 |
|
#4 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Using salome. 3 mins.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
December 10, 2009, 10:44 |
|
#5 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
Nice!
But with blockmesh it takes a "little" more time, i guess... |
|
December 10, 2009, 11:45 |
Duct Mesh
|
#6 |
New Member
Join Date: Jun 2009
Posts: 4
Rep Power: 17 |
Hi,
see attach the grid (3-D) for ducted. You can used very good blockMesh in OF to generate Mesh. First I used FORTRAN to organize blockMeshDict and transfer to OF. Try to learn how to organize blockMeshDict for OF. |
|
December 10, 2009, 14:27 |
|
#7 |
New Member
Join Date: Dec 2009
Posts: 3
Rep Power: 17 |
Don't guess.
If you'd start reading manuals instead of complaining that they are not useful, you could do it in 3 minutes with blockmesh. Also in Salome you can't create a mesh in 3 minutes unless you read about it or you play around for a loooong time before you begin real work. By the way, I don't know why you are so heavy. I recommend that you try a diet. Robert |
|
December 10, 2009, 15:07 |
|
#8 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
I agree with you dratkins, but the amount of work you need to put into using/learning either Blockmesh or Salome would be somewhat the same. When you get to very complex geometries it is not a feasible approach to use blockmesh. At least not in the industry, maybe for scientific work blockmesh will suffice in a day to day basis.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. Last edited by linnemann; December 12, 2009 at 13:12. |
|
December 11, 2009, 04:02 |
|
#9 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Or even better if you want pure hexes
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
December 11, 2009, 11:04 |
|
#10 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
HI All,
thx for your nice answers and images!! but i am wondering.... Since i have no manual (which is great, by the way!) i am not shure what to do.. lets take the posted mesh of linnmann. If you create the mesh with blockmesh you can chose the meshpoints on the x- y- and z-axis of each hex block. Like this: hex (vertices) (100 100 50) simpleGrading (1 1 1) But in the case the lines of the geometry are not parallel to the axes of the coordinate-system the lines of the geometry can be described by a combination of x and y (or x and z, or y and z; depending of how you have your coordinate system). so i end up, not being able to mesh the radial direction independently. How can i independently determin the radial mesh-points? Can i do it in polarcoordinates or what is the trick? (and if, how can i do so) Or can I mesh each edge individualy (like in gambit, sorry for comparing) ? I could manage to alligne all the adges of the volumes surrounding the inner tube (the geometry is a cylinder in a hex box) to the coordinate-axes by creating a Volume with 10 vertices. If I look at UG page 127 this seems not possible. Is there a way to do so with blockmesh? (@dratkins: thats why i spend so much time looking for manuals and documentation...my small experience tells me that you might need them one day) thx in advance! bg Last edited by heavy_user; December 11, 2009 at 13:46. |
|
December 16, 2009, 04:51 |
Mesh generation with blockMesh
|
#11 |
Member
Jean-Peer Lorenz
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 33
Rep Power: 17 |
@heavy_user:
Have a look at section "5.3 Mesh generation with the blockMesh utility" of the OpenFOAM User's guide (v1.5). Features and usage of the blockMesh tool are described there (like in a manual). HTH, Jean-Peer. |
|
December 16, 2009, 06:15 |
|
#12 | |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
Quote:
Hi Jean-Peer, thx for your answer! Section 5.3 describes the use of blockMesh (partly). In 5.3.3 it is described how to create blocks with LESS than 8 vertices, so I asume doing different is not possible (which is not explicitly stated there)... In 5.3.1.3 in "nuber of cells" it sais: "...number of cells in each direction of the x_1 x_2 and x_3 directions.." which does not help (see description of problem above...) since i have edges in the x-y-direction that can not be graded independently (???) from the edges parallel to the x- or y- direction. I did some research and found a paper "rotatingGGI" which shows an entry of an dynamic mesh dict: coordinateSystem { type cylindrical; origin (); axis (); direction (); } .... (but that is pretty much the only informatino I could gather regarding the use of cylindrcal coordinates) But I dont know how to use cylindrical coordinates in the blockmeshdict, yet... I will try to find out (and post if i succeed) but thats the thing i have been complaining about...the UG and the PG seem not to describe the prog. completly...so i will go on guessing.. best regards! |
||
December 16, 2009, 06:56 |
|
#13 | ||
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
OpenFOAM is restricted to cartesian! Citation of the UG (you didn't find usefull): Quote:
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|||
December 16, 2009, 07:17 |
|
#14 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
I read that also, but I was confused by the thing in the dynamicmeshdict, which obviously uses something else .
So how can OF not be able to do it, when somebody uses it in the dynamicmeshdict... And I figuered there might be a trick to it, something like define a local-system for the whole geoemtry... but I thought I ask before shooting... |
|
December 16, 2009, 07:33 |
|
#15 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Quote:
Lets get back to your original problem: You want to mesh a cylinder! Why don't you use the meshes & o-grids suggested by us? They are popular and widely used.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
December 16, 2009, 08:55 |
|
#16 | |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
Quote:
Then I ran in the problems with not being able to mesh the edges independently since i have edges which are obviously seen as a combination of x and y... so i came back to findig a way of making a cylindrical mesh...and then the question of creating volumes with 10 vertices... I created a 2D geometry and I am trying to get the case running right now. The only remaing question is the indepentent-meshing problem i described before... Did I make the problem clear or should i attach a draft?? regards |
||
December 16, 2009, 09:00 |
|
#17 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
I didn't understand the problem. Maybe a draft would be useful.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
December 16, 2009, 11:12 |
|
#18 |
Senior Member
Join Date: Dec 2009
Posts: 112
Rep Power: 17 |
HI sega,
here the draft (sorry for the poor draft, but I hope it fits the cause...) Lets say we name it from left to right, the first draft is A, the second B and the third C. All drafts are to show a cylinder in a box. The Z-direction is out of the screen and the axes poking your nose... For creating the volumes around the cylinder there are 3 possebilities. A: the lines between the cylinder and the box are not parallel to one of the axes and can therefore not be graded individual. B: you could grade the edges individual, since they are parallel to the axes, but this kind of volume needs 10 vertices. (but how to determine the mesh of the circle ??) C: (i dont have photoshop at work, so sorry for cheating :-P, i should have turned the box, not the axes... ) You can grade the edges connecting the box and the cylinder with the "hex....(Nx Ny Nz) " but how do you determine the mesh of the circle and the edge of the box? They are not parallel to any of the axes..(and i know that a circle can not be parallel to a line, but you know what i am trying to say...) Perhaps it is really easy to solve and I am stuck somewhere...but i cant figure right now... thx for your efforts! regards |
|
December 16, 2009, 16:58 |
|
#19 | |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
This makes it more clearly to me, now.
But now you want to mesh the outside of the cylinder, not the inside?! Quote:
You can simply set the appropriate grading factor to the corresponding direction. Remember: each hex block (which forms a topological square) has its own coordinate system when dealing with blockmesh! And this is the reason the grading should work in this case. How the local coordinate system is determined depends on how you choose your vertices, but this can be re-read in the UG!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
||
December 17, 2009, 04:05 |
|
#20 |
Member
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 17 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh Problem. | Tom Clark | FLUENT | 10 | June 21, 2021 05:27 |
Meshing aifoil in ICEM | student123a | ANSYS Meshing & Geometry | 13 | December 8, 2010 11:40 |
problem when converting mesh (made by ICEM) using fluentMeshToFoam | Forrest_Lei | OpenFOAM | 11 | October 16, 2009 07:28 |
2d irregular grid | Remy | Main CFD Forum | 1 | December 22, 2008 05:49 |
General questions on grid-based computing | Adrin Gharakhani | Main CFD Forum | 21 | June 5, 2000 14:47 |