Why don't we use domain interface to solve this problem?
2 Attachment(s)
Hi,
May I ask you a question about Ogrid generation? :confused: Here is a picture. I'd like to generate a picture like B. But since I can't rotate my block, I always obtain A. How to solve this problem? Best regards and many thanks, lnk 
what u want to do?

A=B. So it does not make any difference.

4 Attachment(s)
Quote:
Best regards and many thanks, lnk 
This is easy case for ICEM Hexa. If you can share your files, we can give a quick try.

just create points at the 2 exits of your model and associate the vertices of your ogrid to modifiy its shape. Then align the internal vertices of your ogrid with the vertices of the 2 exits of your model and you are all good !

1 Attachment(s)
Quote:
Best, lnk 
Quote:

Far, Broly. this geometry is not easy...very tricky... i've been fighting with it for more than 4 hours now.i thought may be li's strategy for blocking was incorrect, so i erased his blocking and tried to came up with a better one using bottomup approach. I couldn't, then i came back to li's blocking, realized that he can never get a good quality because he needs ygrid when the arc's circle meets the tangent line, alse noticed that geometry needs some cleanup, there are additional surfaces inside (tube), maybe that's why. I don't understand why and how li did that blocking... i need a break. i hope i can wake up the morning and find your approaches...
@li i'll come back to your geometry tomorrow to finish it... i saw another thread where you're asking about ygrid, you have to merge before, and select the triangular shape, but i just don't know how you can do that with your blocking... 
i'm going on a vacation on Sunday... like you said FAR may be this is easy geometry, i just need vacation...

Those kind of geometry are hard because your circle geometry meet the corner of a rectangular shape. So I think you can avoid bad elements at the intersection of those 2 shapes.
I don't have much type to take a look at the geometry, will try this week :S 
1 Attachment(s)
Ok finally, I took some time to have a look.
Attached an example of blocking. you only need to do the association and maybe improve the position of some vertices. You can't avoid some bad elements between the corner of your rectangle and the print of your tube, but 1/4 of Ogrid help to handle it. 
2 Attachment(s)
Quote:
I tried that but I can't improve the quality because of the same reason. The quality at the attachment is the best I can do. :o 
You can incraese the number of nodes, move the vertices in order to optmize the blocking. But you have to know that at some point, you won't be able to improve the mesh because of your geometry.

Quote:

Yep, but your biggest issue is not about the determinant, but about the min angle ... You can get a min determinant around 0.2, which is not that bad.
But there are few cells which min angle is between 0 and 9°, which could crash your solver ... If you work hard and moving the vertices of the 1/4 of Ogrid, maybe you could improve a little bit your mesh ... Or maybe someone else could provide another blocking ? Have fun ;) 
You have to ask yourself one question:
Is it important that the geometric feature (the sharp angle) is represented by the mesh? Or wouldn't the flow field be almost exactly the same if the sharp angle is not represented by the mesh? In this case: change the geometry to allow better meshing. 
The blocking is wrong...
@stief, that's exactly what i was thinking. you are right. Why do we have to follow the geometry ? how about something like this https://dl.dropbox.com/u/35161486/manifold.JPG someone correct if i'm wrong... 
1 Attachment(s)
I correct some errors in the blocking (see attached).
And I fully agree with flotus ;) 
2 Attachment(s)
Quote:
I did in this way at the first time. It didn't work so I changed to make the mesh follow the geometry. The pipe is not inside the cube. It goes through the cube. If the mesh doesn't follow the geometry, the mesh will have problem at the connection part too which is, I think, also difficult to correct. You can see my attachments. It is even clear at the mesh picture. Best, lnk 
All times are GMT 4. The time now is 20:18. 