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

[ANSYS Meshing] negative cell volume detected while running ANSYS Fluent UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2016, 23:52
Default negative cell volume detected while running ANSYS Fluent UDF
  #1
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
khushbu.bhavsar92 is on a distinguished road
HI
I am trying to simulate vortex induced vibrations in a cylinder (2D). I am trying to achieve this using udf and six degree of freedom solver with smoothing and remeshing in Fluent. I keep getting an error -negative cell volume detected while running the simulation. I tried reducing the time step and increasing the stiffness constant. It still shows the same issue. Could someone please help me solve this problem.

thank you
khushbu.bhavsar92 is offline   Reply With Quote

Old   April 12, 2016, 05:45
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Can you post details of the 'Dynamic Mesh Zones' setup?
vasava is offline   Reply With Quote

Old   April 12, 2016, 17:38
Default
  #3
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
khushbu.bhavsar92 is on a distinguished road
Hi,
The geometry includes a circle in a rectangular domain
I have kept a velocity inlet (0.4m/s) and pressure outlet.
The fluid body mesh is deforming.
The cylinder (0.27m diameter) is rigid with 6DOF activated and the following UDF code,
#include "udf.h"

DEFINE_SDOF_PROPERTIES(udfcyl, prop, dt, time, dtime)
{
real cgx;
real cgy;
real k = 718.88;
cgx = DT_CG(dt)[0];
cgy = DT_CG(dt)[1];
prop[SDOF_MASS] = 6146.18;
prop[SDOF_ZERO_ROT_X] = TRUE;
prop[SDOF_ZERO_ROT_Y] = TRUE;
prop[SDOF_ZERO_ROT_Z] = TRUE;
prop[SDOF_IXX] = 208.72;
prop[SDOF_IYY] = 208.72;
prop[SDOF_LOAD_F_X] = -k*cgx;
prop[SDOF_LOAD_F_Y] = -k*cgy;
}
khushbu.bhavsar92 is offline   Reply With Quote

Old   April 13, 2016, 03:18
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
Could you post the numbers you have used for 'smoothing' and 'remeshing' in the 'Mesh Methods Settings.'?
vasava is offline   Reply With Quote

Old   April 14, 2016, 00:45
Default
  #5
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
khushbu.bhavsar92 is on a distinguished road
in smoothing, I've taken the spring constant as 0.1 and rest as default values,
in remeshing min length=2.4cm, max length =7.9cm, max skewness=0.7, remesh interval=1
these are basically the default values.
khushbu.bhavsar92 is offline   Reply With Quote

Old   April 14, 2016, 01:40
Default
  #6
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22
vasava will become famous soon enough
I recommend that you get the 'Mesh Scale Info' and modify the re-meshing numbers according to the Mesh scale.

Also check the mesh size at the surface of the cylinder and reduce your time-step so that the distance traveled by cylinder per time step is less than the smallest mesh elements. This will help you avoid negative cell volumes in case your mesh is not modifying properly.

I am sue you know this but I write anyways, use 'preview mesh motion' before you start the actual simulation.
vasava is offline   Reply With Quote

Old   April 14, 2016, 15:50
Default
  #7
New Member
 
Join Date: Mar 2016
Posts: 8
Rep Power: 10
khushbu.bhavsar92 is on a distinguished road
I will keep that in mind. Thank you for the help !
khushbu.bhavsar92 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
Dynamic Mesh failed. Negative Cell Volume Detected Sufyan Abushaala Main CFD Forum 0 August 27, 2014 04:51
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
Negative cell volume problem in-cylinder ziani.lotfi FLUENT 0 April 11, 2012 07:54
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06


All times are GMT -4. The time now is 15:14.