CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] Eliminating Negative Volume Elements (https://www.cfd-online.com/Forums/ansys-meshing/75031-eliminating-negative-volume-elements.html)

Josh April 14, 2010 18:15

Eliminating Negative Volume Elements
 
Hello all -

Despite that I have used minimal smoothing in ICEM (I just smoothed for orthogonality, being that it is a hexahedral grid), my grid appears to have negative volume elements, as shown below.

http://img72.imageshack.us/img72/816...empt4negat.jpg

Apparently, as shown on the left in blue writing and in the histogram, there are almost 63 negative volume elements (8 + 55), with the smallest being -18.7586 mm^3. I need to get rid of these, but am not sure how.

Any ideas?

Josh April 14, 2010 18:54

The ICEM Help file mentions that it does not consider "degenerate hex elements, and will assign a negative value for them."

Could this be the problem? If so, what is a degenerate hex element?

mbell10 April 15, 2010 06:28

A hexa cell should have six surfaces, ie 8 nodes. A degenerate will have less, for instance, 7 nodes, or even 6 nodes (giving you a prism)

Josh April 15, 2010 14:52

Thanks, Mark. I couldn't find an answer to that in the Help file or online. Upon closer inspection, I can see that there are some degenerate elements (e.g. the one shown below), as well as some negative volume elements.

http://img515.imageshack.us/i/t106am...mpt4degen.jpg/

I'm thinking the problem arises from the interaction of my expansive boundary layer on the blade surface and the larger structured H-grid preceding the blade, shown below (the second picture is zoomed-in to the stagnation point).

http://img138.imageshack.us/i/t106ameshcattempt4.jpg/

http://img59.imageshack.us/i/t106ame...mpt4stagn.jpg/

How could I make this interaction feasible? Maybe I should move the blocking vertexes slightly ahead of the stagnation point? Any additional input would be much appreciated.

mbell10 April 16, 2010 05:42

1 Attachment(s)
Hi Josh,

Off the top of my head, I would suggest making a split in the blocks near to the surface of your blade that runs through the inlet and outlet sections as well. This would allow you to manipulate the shape of the block around the leading edge of the blade.

I have attached an image which shows what to do. Hope it helps!

PSYMN April 16, 2010 12:19

Suggestions...
 
4 Attachment(s)
Excellent suggestion by Mark,

Zooming in on the problem you can see that the mesh is tripping.
Attachment 2974
You could do a block split as mark suggested or simply split the edge like this...
Attachment 2975
Of course it doesn't help that your periodic boundaries meet the blade below the stagnation point...

you could also try smoothing. This is with the orthogonality smoother, the Multiblock smoother would be much better, but I am out of time for today...
Attachment 2976

Probably your best bet would be a different topology that included ogrids around the airfoil blade (Cgrids since you have only half a blade on each side)
Attachment 2977

I will try to get back to you with more later...

Josh April 16, 2010 14:37

Hi Mark -

Thanks for the reply.

I assume that to perform that split in your picture, I should use the Split Block > Split Method > Curve Parameter method to allow the block to "follow" my geometry. Below is my blocking without the split.

http://img171.imageshack.us/img171/9...t7block.th.jpg

The picture below shows the blocking with the suggested split (assuming I did it correctly).

http://img213.imageshack.us/img213/4...t7split.th.jpg

Finally, here is the "finished" product blocking scheme.

http://img213.imageshack.us/img213/4...t7split.th.jpg

With this scheme, my pre-mesh looks like this:

http://img709.imageshack.us/img709/3...t7meshw.th.jpg

Josh April 16, 2010 16:19

Hi Simon -

Using your method, I split the edge with Control Points located near the vertex. I obtained the following:

http://img411.imageshack.us/img411/2...t7simon.th.jpg

One thing I'm having problems with is using the Link Edge tool to make both block edges in the z-direction equal. In the above picture, I did both edges manually, and the overlay is pretty good, but I'd prefer it to be exact. The Link Edge tool, however, does not seem to overlay them properly.

The mesh looks like this:

http://img687.imageshack.us/img687/2...t7simon.th.jpg

I think this is the right idea. Obviously, I still have to refine the sizing and smooth with orthogonality.

Josh April 16, 2010 16:56

To follow-up, before I've done any smoothing...

With the Split Edge method, I've obtained negative volume elements along the airfoil suction surface. In the picture below, you can see the mesh "colliding" with the airfoil surface, forming negative elements.

http://img132.imageshack.us/img132/2...t7simon.th.jpg

PSYMN April 17, 2010 13:31

OGrids would avoid all this hassle.
 
Very strange... I will try to take another look some time this weekend...

I can probably block it out with Ogrids in a few minutes and save you some hassle.

Simon

PSYMN April 18, 2010 22:52

Something anyway...
 
4 Attachment(s)
Hey Josh... I spend a few minutes with it and created a 2D blocking (less work). You can always extrude this for CFX, or simply write it out as a 2D Fluent file and then read it into CFX (CFX will turn it into a 2.5D model).

I thought I recorded a replay script for you... but then I realized I had forgotten to hit record... Oh well.

Anyway... here are some pics.

First, here is the OGrid Setup (Blocks and Faces to select) for 3D...

Attachment 3006

Then here it is for 2D... (The Yellow blocks are VORFN blocks activated when I selected the edges)

Attachment 3007

Then I just used edge splits to get roughly what I wanted, and used edge params to get the distribution that I wanted... You can see that in the blocking file (sent privately).

Then I smoothed it with orthogonality and Laplace (and fudged a few nodes with "move nodes")

here are the final shots... If these won't run we can relax the periodic sides (so they can move but still be periodic) and get a better mesh.

Attachment 3008

Attachment 3009

Simon

Josh April 19, 2010 03:50

Hi Simon -

You've been an incredible help. Thank you.

One thing, though. You mentioned you sent me (privately) the blocking file, but I never received it. Did you use my Gmail account?

Josh April 20, 2010 00:45

Hi all -

I'm thinking of improving the quality of the post-blade mesh, as a quality check showed problems with the aspect ratio, skew, and overall quality in the angled region just after the blades. You can see the skewing quality in Simon's two bottom pictures in his last post. As shown, the quality could be improved.

I'm thinking there are two ways to go about this:

1) Adjust the blocking (edge distributions, vertex locations) in that region. This seems like the better option, though I'd have to re-mesh and, thus, eliminate all of the fine smoothing and node adjustments Simon performed.

2) Smoothen for quality. I know this isn't a great idea, especially for hexa meshes, and could cause overlap and degenerate/negative elements.

What do you think?

Also, just to follow-up: Simon's mesh ran perfectly in CFX.

PSYMN April 20, 2010 13:03

Go for it.
 
Sure, go for it, but keep in mind that you need a periodic model... This makes it difficult because you will have to deal with sloping channel behind the airfoil.

Sorry, I haven't had time to do much more than type a quick message. My machine is cranking right now and I just can't run any more tasks...

For smoothing, I just used orthogonal for a bunch of iterations and a few iterations of laplace, then back to orthogonal for 10 more. Then I used move nodes to straighten up some of the nodes ahead of the lower airfoil... Perhaps it would have been a bit better if I had relaxed the orthogonality requirement on the periodic walls...

PSYMN April 20, 2010 13:04

Shifted Periodic
 
You could try a "shifted periodic" blocking...

Josh April 20, 2010 17:14

Thanks, Simon. I'll see how I'm doing for time.

Jonathan July 9, 2014 13:01

Hi Josh,

I hope you are well. I cam across your post just the other day when i was looking for blocking strategies for a turbine blade i am modelling. I usually, use the blade-in-the-middle approach with an o-grid, but for specific reasons i need to model it with the blade surfaces at the outer edge, like you did here.

however, having read your posts, i was wondering how / whether, you managed to get a fully periodic (cyclic) mesh out using this approach i.e. did you manage to run your simulations ok using this mesh.

i know it is only 2D, but i assume you needed to set periodic vertices and the periodic rotation angle in the global mesh setup? Would you be willing / able to give me an idea of how you did it?

many thanks and best regards
cheers
jonathan

Quote:

Originally Posted by Josh (Post 255193)
Hi Simon -

You've been an incredible help. Thank you.

One thing, though. You mentioned you sent me (privately) the blocking file, but I never received it. Did you use my Gmail account?



All times are GMT -4. The time now is 08:41.