|
[Sponsors] |
January 19, 2016, 11:23 |
What makes a good mesh?
|
#1 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
I am working with T-Rex meshing on a 2D aerofoil. But it seems everything I put in front of my professor, he keeps saying "its not a good mesh"
what I wanted to know is what exactly makes a good unstructured mesh? edit: when ever i import my mesh into FLUENT it gives me negative volume and back handedness issues Quote:
Last edited by weigl; January 19, 2016 at 12:51. |
||
January 20, 2016, 11:31 |
|
#2 |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
If there are multiple domains in your grid, be sure the domain normals are all are oriented in the same relative direction. By convention, 2D Fluent grids are built in the XY plane with the domain normals pointing in the +Z direction. Use Edit, Orient... to adjust.
As far as "what makes a good grid?" That is the million dollar question! It seems like your professor should give you some "good mesh" criteria to use. I general you want to the max included cell angles to be < 175. And you want a nice transition from smaller cells to larger cells. Use the Examine tools menu in Pointwise to evaluate these criteria. If you post your PW file or an image we can provide more specific help. Please read this. |
|
January 21, 2016, 10:25 |
|
#3 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
Quote:
I understand that you have to check the aspect ratios, wall distances and orthogonality etc of the mesh profile. What I dont get is how I know whats best for a certain system. Are there any predefined set of values for a particular condition? i am trying to validate my results against transonic viscous flow values to see if an unstructured mesh works well on it. I have been able to validate results with structured mesh, but the whole unstructured mesh I can't seem to get down. Last edited by weigl; January 21, 2016 at 12:02. |
||
January 21, 2016, 12:57 |
|
#4 |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
I will have to leave those kinds of details up to more experienced grid builders. However, I did find a few things...
In Grid, T-Rex..., you need to check the Push Attributes box. This will force the T-Rex layers growing off of the wake connector to "push" their spacing onto the Match domains. The T-Rex Growth Rate is currently set to 2.0. That seems way too high! Normally, we use values around 1.2. I am not sure if the wall delta-S spacing is correct. It is my understanding that you should use a value based on the target Y+ value. You can use the (free) Pointwise Y+ calculator. On the T-Rex, Attributes tab, you can also play with the Boundary Decay value (0 to 1.0) to propagate the cell sizes further out from the airfoil. Values closer to 1.0 propagate cells further into the far field. Finally, you said this was transonic. If I recall my aero properly, that means you may have shock fronts. You probably need to add a baffle connector to the dom in the region of the expected front to properly resolve the shock. To add a baffle, create a connector at the proper location near the airfoil. The connector should not touch the airfoil and its end point should be just outside the trex layer region. Add the connector to the domain using Edit, Add/Remove Edges... menu. I have attached a picture of my result. |
|
January 28, 2016, 09:02 |
|
#5 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
Quote:
The mesh is looking better. As for orientation, when i try to orient it i get something like the picture i have attached below. why is that one arrow not pointing in the positive z? |
||
January 28, 2016, 11:47 |
|
#6 |
Senior Member
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16 |
Is there a particular reason you're using an unstructured mesh for such a simple geometry? Pointwise has a hyperbolic extrusion feature which would create a boundary conforming mesh very easily which should provide some benefits to the accuracy of your solution since the cell edges are flow-aligned. I've created an example for you using your NACA0012 geometry which you can download using this link. The initial spacing was set to that which you were using, and it is oriented appropriately for use with FLUENT.
To learn more about using hyperbolic extrusions in Pointwise for your specific example, see this video. |
|
January 28, 2016, 11:52 |
|
#7 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
Quote:
|
||
January 28, 2016, 12:08 |
|
#8 | |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
Quote:
Could you upload the grid file that is doing this? If you zip the PW file, and it is less than 195.3KB, you can attach it to this forum directly. |
||
January 28, 2016, 12:17 |
|
#9 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
Quote:
i have set the orientation back to normal. but when i orient the domain it shows the way it did in the image. I am using 17.2R1 |
||
January 28, 2016, 13:02 |
|
#10 |
Senior Member
David Garlisch
Join Date: Jan 2013
Location: Fidelity Pointwise, Cadence Design Systems (Fort Worth, Texas Office)
Posts: 307
Rep Power: 14 |
That appears to be a bug! I will log it with our support team.
It appears this bug is already fixed in the next release of Pointwise V17.3R5. It will be available in a week or two. As a workaround:
Last edited by dgarlisch; January 28, 2016 at 13:27. Reason: update |
|
January 28, 2016, 13:37 |
|
#11 | |
New Member
Join Date: Jan 2016
Posts: 18
Rep Power: 10 |
Quote:
|
||
July 25, 2016, 08:02 |
|
#12 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
Hi,
I have a simple question about TRex. I understand that TRex is anisotropic tetrahedral extrusion. I want to know how the progression is handled from one layer to the next one and how to calculate the total height of the layers. Is there any mathematical expression based one the initial height, number of layers and the growth rate to calculate the total height? Thanks in advance, |
|
July 25, 2016, 10:21 |
|
#13 |
Senior Member
Zach Davis
Join Date: Jan 2010
Location: Los Angeles, CA
Posts: 101
Rep Power: 16 |
The extrusion advances geometrically. You provide an initial cell height and a growth rate. The cell height for each successive layer is multiplied by this growth rate. The geometric series looks like:
initDs * growthRate^(layerNum - 1) |
|
July 25, 2016, 10:24 |
|
#14 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
Thanks zack. This is exactly what I needed to hear. I suspected that the progression might be geometrical but I wasn't sure. Thank you so much for making it clear to me.
|
|
July 25, 2016, 14:28 |
|
#15 |
Member
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12 |
Hi Zack,
Thanks Last edited by adi.ptb; July 30, 2016 at 12:51. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 22:11 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
How to control Minximum mesh space? | hung | FLUENT | 7 | April 18, 2005 10:38 |