CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] To ask a question about O-grid generation

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2012, 15:50
Question Why don't we use domain interface to solve this problem?
  #1
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Hi,

May I ask you a question about O-grid generation? 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
Attached Images
File Type: jpg O-grid.jpg (19.5 KB, 39 views)
File Type: jpg block.jpg (53.8 KB, 48 views)

Last edited by lnk; July 18, 2012 at 16:35.
lnk is offline   Reply With Quote

Old   July 9, 2012, 16:14
Default
  #2
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,552
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
what u want to do?
Far is online now   Reply With Quote

Old   July 9, 2012, 16:49
Default
  #3
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,552
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
A=B. So it does not make any difference.
Far is online now   Reply With Quote

Old   July 9, 2012, 17:20
Default
  #4
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by Far View Post
A=B. So it does not make any difference.
Here is the problem. The geometry I'd like to mesh is a connection of a tube with a cube. If I have the O-grid like A, I can't correct the bad quality meshes at the connection part of the tube and cube. So I try to rotate the O-grid to solve this problem.

Best regards and many thanks,
lnk
Attached Images
File Type: jpg block.jpg (53.0 KB, 28 views)
File Type: jpg quality.jpg (51.3 KB, 31 views)
File Type: jpg surface.jpg (50.8 KB, 34 views)
File Type: jpg mesh.jpg (60.9 KB, 33 views)
lnk is offline   Reply With Quote

Old   July 10, 2012, 03:31
Default
  #5
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,552
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
This is easy case for ICEM Hexa. If you can share your files, we can give a quick try.
Far is online now   Reply With Quote

Old   July 10, 2012, 05:38
Default
  #6
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
just create points at the 2 exits of your model and associate the vertices of your o-grid to modifiy its shape. Then align the internal vertices of your o-grid with the vertices of the 2 exits of your model and you are all good !
BrolY is offline   Reply With Quote

Old   July 10, 2012, 07:30
Default
  #7
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by Far View Post
This is easy case for ICEM Hexa. If you can share your files, we can give a quick try.
Here is my file. Thanks you very much!

Best,
lnk
Attached Files
File Type: zip abc.zip (53.9 KB, 5 views)

Last edited by lnk; July 11, 2012 at 06:15.
lnk is offline   Reply With Quote

Old   July 10, 2012, 09:10
Question
  #8
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by BrolY View Post
just create points at the 2 exits of your model and associate the vertices of your o-grid to modifiy its shape. Then align the internal vertices of your o-grid with the vertices of the 2 exits of your model and you are all good !
What do you mean by 'exits'? Won't that change my geometry?
lnk is offline   Reply With Quote

Old   July 11, 2012, 00:50
Default
  #9
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
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 bottom-up 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...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   July 11, 2012, 00:52
Default
  #10
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
i'm going on a vacation on Sunday... like you said FAR may be this is easy geometry, i just need vacation...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   July 11, 2012, 05:47
Default
  #11
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
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
BrolY is offline   Reply With Quote

Old   July 11, 2012, 06:40
Default
  #12
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
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 O-grid help to handle it.
Attached Files
File Type: zip TUBE_MANIFOLD.zip (48.0 KB, 6 views)
BrolY is offline   Reply With Quote

Old   July 11, 2012, 07:48
Default
  #13
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by BrolY View Post
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 O-grid help to handle it.

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.
Attached Images
File Type: jpg QUALITY.jpg (56.5 KB, 19 views)
Attached Files
File Type: zip work.zip (24.0 KB, 1 views)
lnk is offline   Reply With Quote

Old   July 11, 2012, 08:28
Default
  #14
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
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.
BrolY is offline   Reply With Quote

Old   July 11, 2012, 08:41
Default
  #15
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by BrolY View Post
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.
Yes. That's the problem. I can't make all my meshes have quality over 0.5.
lnk is offline   Reply With Quote

Old   July 11, 2012, 09:02
Default
  #16
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
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 O-grid, maybe you could improve a little bit your mesh ...

Or maybe someone else could provide another blocking ?

Have fun
BrolY is offline   Reply With Quote

Old   July 11, 2012, 11:21
Default
  #17
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,393
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
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.
flotus1 is offline   Reply With Quote

Old   July 11, 2012, 11:30
Default
  #18
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
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

someone correct if i'm wrong...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   July 11, 2012, 11:59
Default
  #19
Senior Member
 
AB
Join Date: Sep 2009
Location: France
Posts: 323
Rep Power: 21
BrolY will become famous soon enough
I correct some errors in the blocking (see attached).

And I fully agree with flotus
Attached Files
File Type: zip TUBE_MANIFOLD.zip (45.7 KB, 5 views)
BrolY is offline   Reply With Quote

Old   July 11, 2012, 12:25
Default
  #20
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by diamondx View Post
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

someone correct if i'm wrong...

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
Attached Images
File Type: jpg QUALITY.jpg (71.3 KB, 12 views)
File Type: jpg MESH.jpg (77.8 KB, 12 views)
lnk is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid Generation Raghunandan K.V. Main CFD Forum 2 October 4, 2008 10:26
cartesian grid generation method Abu Taleb Main CFD Forum 7 April 14, 2001 10:49
Cartesian grid generation method Abu Taleb Main CFD Forum 0 April 8, 2001 13:15
Cartesian grid generation method Abu Taleb Main CFD Forum 0 April 8, 2001 13:03
grid generation help zhe zhang Main CFD Forum 2 November 12, 1999 23:48


All times are GMT -4. The time now is 01:21.