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

After a lot of tries, i just dont know how to improve this mesh quality

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2017, 15:30
Default After a lot of tries, i just dont know how to improve this mesh quality
  #1
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Hi, basically im working a vineyard simulation which domain is a 400 mts x 400 mts x 50 mts high air volume with files of vines trees at the bottom. The vines trees are modelled as rectangular prisms, as seen in the figure attached.

Ive tried different things but im gettin skewness 0,99999 and orthogonal quality around 1 E-5 all the time. I guess the cause of that is because the size of the front face of each file of vine trees is 1 mt x 1 mt (see image attached), but i dont know how to adress it.

My meshing settings right now are:

Face sizing front face: 0,5 mt element size, behaviour hard
Edge sizing file of trees: element size 5 mt, behaviour hard
Body sizing domain with air: element size 5 mt
Face sizing "ground": element size 0,4 mt

Ive used the mesh quality to spot the bad elements and all of them are situated close to the floor and/or near the intersection with the files of vinetrees.

Ive tried to use patch independent tetra on the air domain but the domain is so large that the computer doesnt mesh it, even after a couple of hours.

Every piece of advise is highly appreciated (:

Thanks in advance!
Attached Images
File Type: jpg vinetrees.jpg (125.4 KB, 61 views)
File Type: jpg front of vinetrees file.jpg (42.2 KB, 57 views)
File Type: jpg panoramic view.jpg (67.6 KB, 56 views)
Guille1811 is offline   Reply With Quote

Old   October 1, 2017, 15:32
Default
  #2
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
im using cfx mesh btw
Guille1811 is offline   Reply With Quote

Old   October 2, 2017, 09:18
Default
  #3
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 733
Rep Power: 25
siw will become famous soon enough
You are using a tetrahedral mesh method on a geometry that could be filled with hexahedral elements, that will improve the quality.

Why do you have to model so many rows of square cylinders? Cannot you model a few and use symmetry or periodic boundary conditions?
siw is offline   Reply With Quote

Old   October 2, 2017, 11:48
Default
  #4
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Well i forgot to mention a detail. In the middle of the whole air volume there is a geometry like 30 cm x 30 cm big (see picture attached). That being said, according to the mesh control tools there are no bad elements near that geometry, all of the them are placed near the ground.

I tried using hex dominant method on the air domain(with and without all quads activated) but the mesh quality doesnt improve that much (skeewness stay the same and orthogonal quality goes from 1E-5 to 8E-4).

What else can i try?
Attached Images
File Type: jpg geometry.jpg (67.7 KB, 32 views)
Guille1811 is offline   Reply With Quote

Old   October 2, 2017, 13:16
Default
  #5
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 733
Rep Power: 25
siw will become famous soon enough
The hex dominant method is not suitable for CFD, rather it is more an option for FEA of non-thin bodies.
siw is offline   Reply With Quote

Old   October 2, 2017, 14:56
Default
  #6
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Yeah ive heard that, but i tried anyway, im running out of ideas...
Guille1811 is offline   Reply With Quote

Old   October 3, 2017, 01:56
Default
  #7
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 733
Rep Power: 25
siw will become famous soon enough
It is difficult to see from your pictures but could you slice the geometry (e.g. in DesignModeler) so that the local geometry (in the separate last picture) can have a local tetrahedral mesh in that local region and the rest of the volume can be made using hexahedral elements. It should be straight forward to slice the domain into nine or more rectangular regions and use; e.g. patch conformal tetra method of the volume with the complex shape in it and MultiZone for all the others. Whether you need to have conformal nodes at the interface is up to you and the needs of the simulation. You have considerable geometry scales: ones of millimetres for the vines to hundreds of meters for the fluid domain: that's a factor of 100,000.
siw is offline   Reply With Quote

Old   October 3, 2017, 07:24
Post
  #8
New Member
 
Ovid
Join Date: Oct 2016
Location: Spain
Posts: 28
Rep Power: 9
Fole is on a distinguished road
Hello,

Sometimes it is better to leave it automatic.

In my experience, avoid hard settings unless clearly necessary. Set local sizing for problematic features. Use pinches for features causing bad elements and use mesh defeaturing. Play with tolerances. If you use Proximity refinement then play with the number of layers in gaps. Star from a coarser mesh. And play with growth rates.

I'd also suggest to part the geometry into simpler zones. It has worked for me in some complicated situations. This will require you to deal with zone interfaces, but the mesh can be improved.

Also your geometry seems sweepable. This would be a huge improvement.

Cheers,
Fole.
Fole is offline   Reply With Quote

Old   October 3, 2017, 07:31
Red face
  #9
New Member
 
Ovid
Join Date: Oct 2016
Location: Spain
Posts: 28
Rep Power: 9
Fole is on a distinguished road
I didn't read the non-sweepable thing of your geometry.
Fole is offline   Reply With Quote

Old   October 4, 2017, 09:52
Default
  #10
Member
 
Fabio Malizia
Join Date: May 2010
Location: Leuven (Belgium)
Posts: 51
Rep Power: 15
Fabio88 is on a distinguished road
I am used to mesh with T-grid, anyway I can try to give you some tips as well.

The face mesh size seems to me quite big: 0.5m when the face file has a length of 1 m will make just two cells (if I am not wrong with the meaning of face size).

Moreover, I think there is an automatic defeaturing applied to your case, if so your geometry could be deformed and this could explain some bad cells.

Are you generating as well a BL?


To have some better ideas of the ongoing problem it would be helpful to visualize the mesh on a plane perpendicular to z at different z. If you can post those pictures we can have a better look to the mesh and try to understand what is the problem.

Good luck!
Fabio88 is offline   Reply With Quote

Old   October 13, 2017, 12:36
Default
  #11
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
Thanks for your tips guys. I tried them but didnt work. What i finally did was change the shape of the rectangular prisms from a square to a circle (so they became a lot of cilinders) and that way it worked like a sharm.
Guille1811 is offline   Reply With Quote

Old   October 13, 2017, 15:38
Default
  #12
Member
 
Fabio Malizia
Join Date: May 2010
Location: Leuven (Belgium)
Posts: 51
Rep Power: 15
Fabio88 is on a distinguished road
Be careful to cylinders, it is not straightforward that you get the right flow topology around them

Sent from my D5503 using CFD Online Forum mobile app
Fabio88 is offline   Reply With Quote

Old   October 13, 2017, 15:40
Default
  #13
Member
 
Join Date: Oct 2017
Posts: 89
Rep Power: 8
Guille1811 is on a distinguished road
What exactly do you mean by flow topology?

They are meant to be a porous domain by the way...
Guille1811 is offline   Reply With Quote

Old   October 13, 2017, 15:44
Default
  #14
Member
 
Fabio Malizia
Join Date: May 2010
Location: Leuven (Belgium)
Posts: 51
Rep Power: 15
Fabio88 is on a distinguished road
In general the flow around a cylinder is not an easy task to reproduce by CFD. Now if they are porous media it may work but I never used them
Fabio88 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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[ICEM] Unexplained changes of mesh quality and blocking approach salumi ANSYS Meshing & Geometry 9 November 23, 2016 04:14
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38
[ICEM] how to improve hexa mesh quality? MatJo ANSYS Meshing & Geometry 2 May 28, 2014 19:49
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52


All times are GMT -4. The time now is 17:51.