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

[ANSYS Meshing] guidance about refining hex mesh?

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 1 Post By Kapi
  • 1 Post By Kapi
  • 1 Post By Kapi
  • 1 Post By Kapi
  • 1 Post By Kapi
  • 1 Post By Kapi
  • 1 Post By Kapi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2015, 08:49
Default guidance about refining hex mesh?
  #1
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi all
i mehed my model with tet mesh and it refined as well, but unfortunately number of cells is very high( number of node is 5 million), now i want used hex mesh , whether exist way for refining hex mesh using of body of influence or sphere of influence ?, i using multizone for hex mesh as shown figure, please help me. how i refined mesh in arbitrary area like tet mesh as shown follow, i want refined mesh in portion that given as red color in figure and remain of figure not useful for me.
thanks in advance
Attached Images
File Type: jpg 2015-05-06_161510.jpg (76.9 KB, 72 views)
File Type: jpg 2015-05-01_154643.jpg (80.1 KB, 73 views)
hamidciv is offline   Reply With Quote

Old   May 7, 2015, 02:54
Default
  #2
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi hamidciv,

Divide your geometry in some parts and pick the part where you need fine mesh and then give Body Sizing on that part.

Sphere of Influence is good when you are not able to pick particular edge/face/body for sizing.

Hope It helps

Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   May 7, 2015, 03:58
Default
  #3
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi, your answer is very clear and direct , very thanks for answer my question
dear kapi , if your possible i have 2 question for you
1-whether divided geometry to the various parts dont create problem in mesh? my mean is Lack of uniformity in mesh(also i apply as from part in geometry)
2- wheteher Despite using hex mesh, we can used of sphere of influence, when i selected sphere of influence (also body of influence is diactive) displayed x sign in beside body sizing and finally dont generated mesh.
thanks in advance
best wishes

Last edited by hamidciv; May 7, 2015 at 07:37.
hamidciv is offline   Reply With Quote

Old   May 7, 2015, 19:41
Default
  #4
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi Hamidciv,

Quote:
whether divided geometry to the various parts dont create problem in mesh?
It dosent create any problem.
Make sure you give interface between the bodies connected.

Quote:
wheteher Despite using hex mesh, we can used of sphere of influence, when i selected sphere of influence (also body of influence is diactive) displayed x sign in beside body sizing and finally dont generated mesh.
Please create new coordinate center for sphere of influence if thats the problem.
What errors is it displaying?
can you post picture of error?


Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   May 8, 2015, 03:56
Default
  #5
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi , thanks for response
i divide geometry in two parts and do freeze it and finally apply from new part, whether interface in geometry have a problem?
about sphere of influence, i used multizone for hex mesh,As soon as i selected sphere of influence in body sizing , appear x sign in side it and finally Blue box is filled but body sizing not worked.
best wishes
hamidciv
Attached Images
File Type: jpg 2015-05-08_103835.jpg (29.7 KB, 56 views)
File Type: jpg 2015-05-08_112957.jpg (47.4 KB, 53 views)
File Type: jpg 2015-05-08_103513.jpg (48.7 KB, 56 views)

Last edited by hamidciv; May 9, 2015 at 10:57.
hamidciv is offline   Reply With Quote

Old   May 10, 2015, 22:41
Default
  #6
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi hamidciv,

Quote:
i divide geometry in two parts and do freeze it and finally apply from new part, whether interface in geometry have a problem?
Please make sure in detailed view of your geometry, "Shared Topology Method is on Imprints. This will make sure you have imprint of 1 surface on other. To check click on the interface or select the interface, it should show 2 faces rather than 1. If its showing 2 faces then there is no problem.

Quote:
about sphere of influence, i used multizone for hex mesh,As soon as i selected sphere of influence in body sizing , appear x sign in side it and finally Blue box is filled but body sizing not worked.
I think Your Advance function is active which You need to switch off.
Tools>Options>Meshing>>Sizing> Use Advance Size Function - > Off

the trick is that you need to turn off the Advanced Size Function if you are trying to scope sphere of influence to edges and faces.
For body sizing, make sure your Sphere of influence is close to edge or includes edge. Somehow it doesn't do sizing if it doesn't have any edges or faces associated with it.


Hope it helps

Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   May 12, 2015, 03:37
Default
  #7
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi, very thanks for spending time for me

dear kapi unfortunately Everything I do, exist x sign in side of body sizing, my advance size function was Pre-Off, i also checked interface in geometry that is consist of two face, when type is on element size in body sizing, checkmark appeared and when it is on sphere of influence again x sign appeared, i really dont know Where is the problem? i very confused.
thanks a lot
best regards
hamidciv
hamidciv is offline   Reply With Quote

Old   July 4, 2015, 05:49
Default
  #8
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi every body
As shown above unfortunately my problem still dont solved, i slice geometry in two part,
At first I used body of influence with tet mesh, but number of cells was very high, now i decided used of body of influence that i facing error (display x sign in side body sizing and Not working it ), i attached geometry in zip format.
please guide me and express Any comments about my model for selected better mesh method.
thanks a lot
best regards

Last edited by hamidciv; July 20, 2015 at 15:52.
hamidciv is offline   Reply With Quote

Old   July 9, 2015, 23:07
Default
  #9
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Quote:
hi dear kapi
my goal is comparing result of numerical modeling with experimental results, i dont exactly What mesh size is good enough for my model, i when used vertical lines for edge and I doingy analysis with this mesh, i stopped my run after of multiple time steps and with regarding define plane of water.volume fraction , my graphical shape was unclear that in my opinion induced of coarse mesh.
dear kapi i used horizontal line in addition vertical lines my number of nodes Was obtained about 6 million, that really my system Do not respond with this value, the problem is when i used edge sizing
The lower part the model that I do not need it also doing mesh.
i dont know really reached one optimum mesh for my model, please advise me.
i attached one image of runing after multiple time steps, in my opinion movement of water is unclear, whether this is induced of coarse mesh?
https://drive.google.com/file/d/0B1T...ew?usp=sharing
thanks a lot for spending time for me
best regards
hamid
Hi Hamidciv,

You have to run your simulation till it reaches steady state then only your solution will give picture of what you have done. Atleast run your simulation till the time you tend to see that its going to converge.
The Picture your shared is of no use cuz you have done very few timestep.
Anyways by the looks of it, mesh isnt as good.
You have to decide if you are happy with the mesh or not.
After meshing you can click on mesh and go to mesh>Statistics>Mesh Metric and see whats your element quality, skewness, aspect ration.... are! this will help you decide if you have obtain a good mesh.
You have to find sensitive areas in your geometry and get good mesh at those locations.
Also have you fixed your geometry yet or not? I showed you that your edges are divided at several places.
Can I suggest you to read about getting good mesh as well, it will help you now and in future.

Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   July 10, 2015, 15:39
Default
  #10
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi
yes i fixed geometry in places divided to several edges and i connected to one edge, i used edge sizing with vertical line and horizontal line, but unfortunately element quality and aspect ratio is not good, how do improve this? as your said and clear with look previous image in runing induced bad mesh in my model, as i previous said when i used tet meshing all mesh metric was good only alone problem i have number of elemets was about 28 million in model and finally Was accompanied by an increase in computation time therefore i used hex mesh instead.
please advise me
thanks a lot
Attached Images
File Type: jpg 2015-07-10_231248.jpg (45.6 KB, 39 views)
File Type: jpg 2015-07-10_230412.jpg (47.6 KB, 37 views)

Last edited by hamidciv; July 10, 2015 at 16:51.
hamidciv is offline   Reply With Quote

Old   July 12, 2015, 20:37
Default
  #11
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi Hamidciv,

Reduce your elements size in Vertical edges and Increase in your Horizontal edges. Check your mesh, see where you are getting bad aspect ratio and post the picture of the location here.

Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   July 20, 2015, 07:15
Default
  #12
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi
as your mentioned i do increase element size in horizontal lines and decrease its in vertical lines, with do this high affected on aspect ratio improvement and other metrics also is good, but element quality is not good still, i attached image of element quality in model.
thanks a lot
Attached Images
File Type: jpg 2015-07-20_143547.jpg (35.3 KB, 26 views)

Last edited by hamidciv; July 20, 2015 at 15:53.
hamidciv is offline   Reply With Quote

Old   July 20, 2015, 21:22
Default
  #13
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
Hi Hamidciv,

Under Mesh, change Smoothing to High and Span Angle center to Fine.
You can find out if your mesh is good or not by this:

Skewness: 0-0.25 (excellent), 0.25-0.50 (very good), 0.50-0.80 (good), 0.80-0.94 (acceptable), 0.95-0.97 (bad), 0.98-1.00 (unacceptable).

Orthogonal quality: 0-0.001 (unacceptable), 0.001-0.14 (bad), 0.15-0.20 (acceptable), 0.20-0.69 (good), 0.70-0.95 (very good), 0.95-1.00 (excellent)

Element Quality: >0.30(good)

Cheers
KAPI
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   July 26, 2015, 16:47
Default
  #14
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
hi dear kapi
with your helps my problem is solved.
thanks very much for all.
hamidciv is offline   Reply With Quote

Old   July 26, 2015, 19:36
Default
  #15
Senior Member
 
Join Date: Apr 2014
Location: Melbourne
Posts: 584
Rep Power: 14
Kapi is on a distinguished road
No worries!

Good luck with your project
hamidciv likes this.
Kapi is offline   Reply With Quote

Old   July 27, 2015, 03:28
Default
  #16
Senior Member
 
Hydreaulic structures
Join Date: Sep 2012
Posts: 283
Rep Power: 15
hamidciv is on a distinguished road
dear kapi

I’m grateful to you for all the things you have done for me.
best regards
hamid
hamidciv is offline   Reply With Quote

Reply


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
ill defined primitive entry 'boundary' francisco.angel OpenFOAM Pre-Processing 16 September 8, 2022 07:11
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 10:03
[Other] 2D hex mesh on multi element airfoil Verfblikje OpenFOAM Meshing & Mesh Conversion 0 January 19, 2012 11:55
[blockMesh] Blockmesh error - 2D scramjet ishaninair OpenFOAM Meshing & Mesh Conversion 7 March 18, 2011 01:14


All times are GMT -4. The time now is 16:28.