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

Negative Volume Expert Parameter

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2015, 10:12
Default Negative Volume Expert Parameter
  #1
New Member
 
Join Date: Oct 2014
Posts: 14
Rep Power: 11
awesim is on a distinguished road
Hello everyone,

I encountered a problem at the beginning of my simulation. The solver found a negative sector volume and hence exited.
I'm modeling moving meshes and I am pretty much sure that the mesh is alright.

I also know that there's an expert parameter that prevents the solver from crashing when finding a negative sector volume because of another simulation I reviewed that also had a negative volume in it.

There it says: This warning (the negative volume warning) may be made fatal by setting the expert parameter 'negative volume option = 1'.

Does anyone know where to edit this parameter? I am not able to find it, either in CFX-Pre or in any help document.

If I could tell the solver to not exit when finding a negative sector volume my simulation should be able to run.


Thanks and kind regards,
Simon
awesim is offline   Reply With Quote

Old   January 22, 2015, 11:44
Default
  #2
New Member
 
Felipe Mendes
Join Date: Mar 2012
Location: Lausanne
Posts: 11
Rep Power: 14
Felipe Mendes is on a distinguished road
Dear Awesim, I don't know how to activate this parameter.
But maybe you could prevent the moving mesh from producing these undesirable negative volumes by setting a higher value of "Mesh Stiffness" with the "mesh motion model". Have you tried that?
Felipe Mendes is offline   Reply With Quote

Old   January 22, 2015, 12:33
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 1,803
Rep Power: 32
Opaque will become famous soon enough
The warning is there for important reasons. If you understand the details of the discretization, you may be able to know how a negative volume sector may degrade the quality of the solution.

A negative volume sector may be due to corrupt topology, way too skewed elements, etc. Removing the warning opens the door for unpredictable solutions; otherwise, developers would have ignored the issue the same way you are attempting to do.
Opaque is offline   Reply With Quote

Old   January 22, 2015, 16:57
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I agree with Opaque, if you remove this error you will get divergence in the linear solver instead so you have not gained much. Better to fix the underlying problem and stop the negative volume elements.

FAQ: http://www.cfd-online.com/Wiki/Ansys..._went_wrong.3F
ghorrocks is offline   Reply With Quote

Old   January 23, 2015, 03:19
Default
  #5
New Member
 
Join Date: Oct 2014
Posts: 14
Rep Power: 11
awesim is on a distinguished road
Thanks for your help.

No Felipe, I haven't tried that. I'm not modeling any Mesh Deformation; "just" a two stage turbine with moving blade rows. Could it help to adjust the Stiffness here?

Opaque and Ghorrocks, I know that removing the warning is not the best way to deal with this problem. I certainly have undesirable elements in my mesh due to my meshing approach. Maybe you can give more advise if I explain my setup more detailed.

I'm trying to create unstructured meshes for a two-stage turbine. It's part of my masters thesis that I compare those unstructured meshes to structured ones.
The blades I'm modeling are shrouded. So my idea was to create a hybrid mesh that consists of a sweeped quasi-structured mesh where the labyrinth seal is and a tetra-mesh in the main passage where the blade is. The sweeping should prevent the mesher to create too many tetra-elements in the sealing-region since my focus is not on the flow topology in that area. But because of that the cells in this region always have large aspect ratios and hence bad quality.
Another problem is the connection between the two meshes. I want to get a 1:1 connection to avoid using an interface, but the transitional elements always seem to be a lot skewed.
Last but not least the geometry I got is not really great. The trailing edge is very thin, the fillet radii were modeled "by hand" (using free surfaces) and at some points there are sharp edges or holes. I tried to fix all that in the workbench design modeler, but as you can see there's plenty of opportunities for the mesher to fail.

So, what I'm trying to say: It will be hard for me to obtain a good mesh, but of course I won't stop trying (at least not until the time for my thesis runs out haha).
So if there's a chance to ignore the warning so that I could see how the simulation behaves on this mesh, I would gladly take it.

Sorry for my long post, just wanted to give you a hint of what I'm dealing with. If you're interested I can possibly post some pictures as well.


Thanks and regards,
Simon
awesim is offline   Reply With Quote

Old   January 23, 2015, 04:04
Default
  #6
Member
 
Chris_321's Avatar
 
Christian
Join Date: Sep 2013
Location: Germany
Posts: 88
Rep Power: 12
Chris_321 is on a distinguished road
Why dont you use a Rotating Reference Frame? Its mutch easier than a moving mesh simulation.
Chris_321 is offline   Reply With Quote

Old   January 23, 2015, 04:05
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Negative volume elements are a problem in moving mesh simulations. But your simulation does not sound like moving mesh - it sounds like a fixed mesh (or maybe a rotating frame of reference, but that is a different model to moving mesh).

In this case you definitely should not be getting negative volume elements. It means that your meshing is poor. You MUST fix these problems in the mesher. They most commonly come about when you do too much smoothing on the mesh and some elements go inside out. I would recommend not doing any manual smoothing at all and just use the meshes the tet/hybrid mesher gives you.

If you are modelling thin regions (eg into the seals) then you cannot mesh this nicely with tets. You will want to use a structured mesh in this region so you can stretch the mesh to reduce the element count. And then you need to interface the seal mesh with the main mesh, either with an interface, or if you are proficient at meshing you can make it contiguous so you do not need an interface.

On second read it appears you are using moving mesh to model a rotating simulation - as Chris says you should be using rotating frames of reference, not moving mesh. Then you will not have negative volume errors.
ghorrocks is offline   Reply With Quote

Old   January 23, 2015, 04:15
Default
  #8
New Member
 
Join Date: Oct 2014
Posts: 14
Rep Power: 11
awesim is on a distinguished road
Yes, I'm using rotating frames indeed. I thought it was the same as doing a moving mesh, sorry for the confusion!

I actually found a negative element in my mesh and am trying to fix it now.

I'm not doing manual smoothing since I use the Workbench Mesher. But I will try meshing without any smooting and see where it takes me.

That was my idea too, that I can't mesh the seal region properly with tet's. Right now I'm trying to obtain a 1:1 connection but when there's no other choice I will have to use a GGI instead. This should also solve the negative volume problem since it appears that these elements are within the transition region of the different meshes.

Will keep you updated, thank you so far!
awesim is offline   Reply With Quote

Old   January 23, 2015, 05:29
Default
  #9
New Member
 
Join Date: Oct 2014
Posts: 14
Rep Power: 11
awesim is on a distinguished road
So I was actually able to get rid of the negative volume by adjusting my meshing options! I haven't tried to run another simulation because I think I will first look for problems in every other mesh too.

I could fix it by forcing certain edges to be meshed with a prescribed amount of nodes.

If I'm able to fix all meshes and start another simulation I'll come back to you.

Edit: The Simulation is working now, it really was a problem with the mesh.

Thanks and regards,
Simon

Last edited by awesim; January 26, 2015 at 05:57.
awesim is offline   Reply With Quote

Old   July 17, 2017, 05:12
Default
  #10
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
hey there!

What meshing parameters did you change? if you can recall.

Brett
Bdew8556 is offline   Reply With Quote

Old   July 17, 2017, 06:13
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The adjustments required to fix a specific case are unlikely to work in other cases. If you describe your problem we might be able to help you.
ghorrocks is offline   Reply With Quote

Old   July 17, 2017, 06:17
Default
  #12
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Thanks Greg, my fellow Australian I believe...

Basically I'm doing centrifugal compressor simulations and I had previously come up with a set of mesh parameters that worked nicely and produced no errors.
I've since moved on to analysing a new compressor of a larger size, the blade contours/angles remain unchanged.
For some reason I now get the following error:

ERROR
Mesh Elements with negative volumes detected in domain Passage.

I've never seen this before.

Any thoughts?
Bdew8556 is offline   Reply With Quote

Old   July 17, 2017, 06:43
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The name's Glenn actually

Negative volume error is a FAQ: https://www.cfd-online.com/Wiki/Ansy..._went_wrong.3F

Why are you doing a moving mesh simulation of a compressor? What are you trying to model?
ghorrocks is offline   Reply With Quote

Old   July 17, 2017, 06:49
Default
  #14
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Thanks Greg,

Well to my knowledge im not doing a moving mesh simulation, that's added to my confusion.

It's just a standard centrifugal compressor model. Inlet domain: stationary, impeller domain: rotating, outlet domain: stationary. Frozen rotor interfaces between.
Bdew8556 is offline   Reply With Quote

Old   July 17, 2017, 06:53
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
My name is still Glenn, and has not been Greg for some time

Check that you have not activated the moving mesh options. Also check you are modelling this using rotating frames of reference, not moving mesh. If that is all OK then your meshing software appears to have generated an invalid mesh with inside out elements. You will need to fix this inside the meshing software as CFX cannot do anything about it.
ghorrocks is offline   Reply With Quote

Old   July 17, 2017, 07:06
Default
  #16
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
sorry Glen, my mistake.

Where abouts is the option to activate the moving mesh?
Bdew8556 is offline   Reply With Quote

Old   July 17, 2017, 07:23
Default
  #17
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In the domain tab.
ghorrocks is offline   Reply With Quote

Old   July 17, 2017, 08:00
Default
  #18
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 13
Bdew8556 is on a distinguished road
Thanks Glen,

Looks like I have no mesh deformation set so it can't be that.
Any other thoughts?

Brett
Bdew8556 is offline   Reply With Quote

Old   July 17, 2017, 08:05
Default
  #19
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
As I said a few posts ago....

Quote:
If that is all OK then your meshing software appears to have generated an invalid mesh with inside out elements. You will need to fix this inside the meshing software as CFX cannot do anything about it.
ghorrocks 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
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[ICEM] negative sector volume adam2008 ANSYS Meshing & Geometry 0 August 9, 2014 00:24
Courant number blowing up, non-orthogonal mesh? odellar OpenFOAM Running, Solving & CFD 5 October 22, 2013 19:50
remeshing due to negative volume error Doginal CFX 1 August 21, 2011 21:50
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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