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

No negative volume in icem/cfx issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 26, 2020, 00:31
Default No negative volume in icem/cfx issue
  #1
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Hi,
I'm trying to run a case in cfx, but the problem was reported:

* ERROR # 002100012 has occurred in subroutine cVolSec. |
* | Message: |
* | A negative ELEMENT volume Has Been detected. This is a fatal |
* | Error and execution will be terminated. The location of the first |
* | Reported negative volume is below. |

But I checked ICEM meshing and I did not find any negative volume cells. I did run for problems, I find some single elements. I am attaching the pictures.

Kindly help me why I am getting negative volume, and how can I fix it. Thank you.
Attached Images
File Type: png fig1.PNG (61.6 KB, 18 views)
File Type: png fig2.PNG (44.0 KB, 14 views)
File Type: png fig3.PNG (36.0 KB, 16 views)
musa19 is offline   Reply With Quote

Old   October 5, 2020, 00:46
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error message does not lie; you really do have an inside-out element. It should report the XYZ location of it so you can find it.

If this occurs at the start of your simulation then the mesh you generated is the problem.

If this occurs a while into a moving mesh simulation then the way you are moving the mesh does not work.

Here are some more tips: https://www.cfd-online.com/Wiki/Ansy..._went_wrong.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 5, 2020, 03:37
Default
  #3
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27
Gert-Jan will become famous soon enough
Sure your mesh needs some improvements.
Nevertheless, I have had a similar case, where I got these messages appearing in double precision mode, and not in single precision. Do you run in double precision?
And in another case I got the messages after translation of my mesh in Pre. There, ICEM thought everything was OK, whereas Pre lost accuracy, resulting in an error in subroutine cVolSec. So did you translate/rotate the mesh in Pre?
Gert-Jan is offline   Reply With Quote

Old   October 5, 2020, 20:58
Default
  #4
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Thank you Glenn and Gert for your precious time. Firstly, I checked the mesh in ICEM quality and it shows no negative element.
Yes I am doing PITCHING AIRFOIL CASE/moving mesh study. I am getting this error after few iterations.

I tried in double precision, but I will try it in single precision as well.

Your help is highly appreciated. How should I solve this issue. Thank you.
musa19 is offline   Reply With Quote

Old   October 6, 2020, 03:30
Default
  #5
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,885
Rep Power: 27
Gert-Jan will become famous soon enough
You can look in ICEM as long as you like, but you won't find the problem nor solution there. It definitely has to do with moving/deforming mesh.
I expect you have to reduce timestep or alter the settings of the mesh deformation to prevent CFX from creating a negative volumue.

Good luck. You might need that.

Regs, Gert-Jan
Gert-Jan is offline   Reply With Quote

Old   October 6, 2020, 14:32
Default
  #6
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Hi Glenn, thank you for your time. My time step is 0.00003. It is already small. I will look into it why it is creating the problem.
In the mean time, if you have any suggestions, please let me know. Thank you.
musa19 is offline   Reply With Quote

Old   October 6, 2020, 18:04
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your time step is unlikely to have anything to do with the problem. What is likely to be happening is the mesh is folding as it moves. Have you read the FAQ I linked to? https://www.cfd-online.com/Wiki/Ansy..._went_wrong.3F
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 16, 2020, 18:58
Default
  #8
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Hi Glenn and Gert,
Thank you for your seggestions. I was able to figure out the issue. It was bascically the trailing edge mesh. I changed the trailing edge from blunt to round and it worked.
I need help in plotting hystersis loops for lift and drag in CFX. How can I obtain the loops in CFX. I have attached two pictures as an example. Your help is highly appreciated.

Thank you.
Attached Images
File Type: png ex1.PNG (100.4 KB, 8 views)
File Type: jpg ex2.jpg (99.0 KB, 7 views)
musa19 is offline   Reply With Quote

Old   October 17, 2020, 05:14
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I hope you are not using moving mesh to get these AOA curves. Talk about doing it the hard way.....
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   October 17, 2020, 20:43
Default
  #10
Member
 
PENANG
Join Date: Aug 2017
Location: Malaysia
Posts: 40
Rep Power: 9
musa19 is on a distinguished road
Hi Glenn,
Thank you for your reply. I am doing transient analysis on an oscillating airfoil using Mesh deformation with regions of motion specified in CFX. I use expressions for lift and drag but they provide results for a particular alpha only. I want to plot the hystersis loop for pitching airfoil.
Can you guide me accordingly. Thank you.
musa19 is offline   Reply With Quote

Old   October 18, 2020, 04:32
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you are just looking for the lift and drag curve then you should do this using fixed mesh simulations with the AOA adjusted for each simulation.

If your intention is to model transient behaviour of an oscillating airfoil, then the easiest way to do it is if you can model this with the lift and drag curve from fixed mesh models then a ODE solver to model the motion. This only works if the transient motion does not affect the lift or drag based on the speed you are modelling. In other words, you can assume a separation of time scales - the flow time scale is fast compared to the motion time scale.

If you cannot assume a separation of time scales and the transient motion does affect the lift and drag (which your comment that you want the hysteresis would imply) then you have to model this with a transient mesh deformation simulation.

If you are getting negative volume elements in a moving mesh simulation I recommend you read the FAQ (https://www.cfd-online.com/Wiki/Ansy..._went_wrong.3F) and adjust the mesh deformation diffusion as it suggests. Use the techniques describes to debug this problem quickly.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[ANSYS Meshing] Small mesh error: Zero or negative volume for elements. [Explicit dynamics] matin ANSYS Meshing & Geometry 0 September 14, 2017 20:19
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 04:27
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 20:32.