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

[Other] Negetive Volume during mesh motion

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 13, 2011, 04:40
Arrow Negetive Volume during mesh motion
  #1
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
I am Trying to stimulate a IC engine combustion using fluent.

I am getting the following error during previewing mesh motion.

Mesh Statistics:
Min Volume =4.95612e-008
Max Volume =1.00199e-006 Done.
Updating mesh to time 1.04167e-03 (step = 00025) (crank-angle = 192.50)

WARNING: non-positive volumes exist.

Mesh Statistics:
Min Volume =-3.13968e-008
Max Volume =1.00199e-006
Warning: negative cell volume detected!
Error: Update dynamic mesh failed!
Error Object: ()


If I start from BDC I get error at 192deg, If I start from TDC I get error at 333deg.

I first tried using a piston with a hemisphere in center, Also tried a square clearance volume. Cannot get the results in any case.

Is there something I missed?
My procedure was:
Read
Models->unsteady
Energy Eqn
K epsilon (2 eqn)
Dynamic-> parameters
Smoothing and remeshing
Set min and max values in remeshing from the info panel
In Cylinder- Set incylinder values
Dynamic-> zones
Set piston as rigid body, Side walls as Deforming(Cylinder)

Type the following:(No idea why:). Found in some forum this is needed, First tried without this also)

> define/models/dynamic-mesh-controls
/define/models/dynamic-mesh-controls> icp
/define/models/dynamic-mesh-controls/in-cylinder-parameter> ppl
#f
Lift Profile:(1) [()] **piston-full**
Lift Profile:(2) [()] <Enter>
Start: [180] 0
End: [720] <Enter>
Increment: [10] 5
Plot lift? [yes] <Enter>
/define/models/dynamic-mesh-controls/in-cylinder-parameter>


Is there something I missed? I am getting this error in all the things I done. But a friend did one in his PC And I checked it in mine it worked.
tsram90 is offline   Reply With Quote

Old   November 13, 2011, 06:39
Default
  #2
Senior Member
 
Emre G
Join Date: May 2011
Location: Turkey
Posts: 126
Rep Power: 15
emreg is on a distinguished road
hi,

i hav faced same problem last days.
i found that this is a mesh problem not an fluent settings error.

Follow this, if you will be succeed, inform me plz:

- Keep in mind that this error occurs usually while subtracting volumes.
Do u have some substracted volumes whic u performed in gambit?
Be careful while subtracting them especially for the volumes which they hav interfaces. (do u hav any interface BCs? )

- Check ur mesh and observe if there exists an error about Contact points.. exist?

inform me ...
regards,
emre gungor
emreg is offline   Reply With Quote

Old   November 13, 2011, 13:40
Default
  #3
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
First of all. I don't have any subtracted volumes. ( I don't have volumes. Its 2D) Still I haven't done any face subtractions.

I don't have any interface BC either. Just 2 Vel in, 1 Pre out and rest are walls.

My geometry is quite simple. Just a square(defined using lines) with 3 valves in top.(also just lines)

I havn't got any error so far on contact points. I am not sure what they are and where to look for them. My grid-> check didn't give any errors
tsram90 is offline   Reply With Quote

Old   November 14, 2011, 12:39
Default
  #4
New Member
 
raj
Join Date: Nov 2011
Posts: 22
Rep Power: 15
raj.cfd is on a distinguished road
Hi,

Negative volumes appear, if the centroid of a cell ( 2D or 3D ) is beyond the geometrical boundaries. Try getting a good mesh before proceeding further..
raj.cfd is offline   Reply With Quote

Old   November 14, 2011, 22:17
Default
  #5
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Quote:
Originally Posted by raj.cfd View Post
Hi,

Negative volumes appear, if the centroid of a cell ( 2D or 3D ) is beyond the geometrical boundaries. Try getting a good mesh before proceeding further..

Centroid of the 'cell is beyond cell boundary right. Not the total centroid?


How to get a good mesh? I am doing 2D so I tried meshs with equal interval size on all edges and both tri and quad meshs. The geometry is simple.Its a square.
tsram90 is offline   Reply With Quote

Old   November 16, 2011, 19:09
Default
  #6
New Member
 
raj
Join Date: Nov 2011
Posts: 22
Rep Power: 15
raj.cfd is on a distinguished road
Hi,

From your original post, I can make out you are simulating a 2D IC engine - using dynamic mesh, right...??? . I have already worked on dynamic mesh for a IC-Cylinder. Here in your case , I suppose the negative volumes appear when the mesh is deforming/layer compression, ie when the piston moves from BDC to TDC. In order to solve this say for example, you have a piston, cylinder, bowl region, ports . you can create a pure quad mesh from the piston until the construction plane/reference plane and then upwards you can mesh it with tria. The construction plane is something like a reference plane until where the reciprocating motion of the piston takes place using dynamic mesh in FLUENT. You can either use smoothing, layering and/or remeshing option .You can probably look into IC engine simulation tutorial provided by Ansys Fluent. This should solve your problem.
raj.cfd is offline   Reply With Quote

Old   November 17, 2011, 11:43
Post
  #7
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Quote:
Originally Posted by raj.cfd View Post
Hi,

I suppose the negative volumes appear when the mesh is deforming/layer compression, ie when the piston moves from BDC to TDC. In order to solve this say for example, you have a piston, cylinder, bowl region, ports . you can create a pure quad mesh from the piston until the construction plane/reference plane and then upwards you can mesh it with tria. The construction plane is something like a reference plane until where the reciprocating motion of the piston takes place using dynamic mesh in FLUENT. You can either use smoothing, layering and/or remeshing option .

I tried starting from BDC and from TDC. I am getting negetive volume either way.( if from TDC then during down stroke.). I also tried reducing teh problem. Removed all vcalves, ports etc. Just a square. Still I am getting it.

I tried with Tri mesh only and quad mesh only. Getting error. I want to try using both of them mixed as said above. But I can't get any tuts on how to do it. Plz explain or give a link.

TQ..
tsram90 is offline   Reply With Quote

Old   November 30, 2011, 07:58
Default hi
  #8
Member
 
karthickeyan
Join Date: Feb 2010
Location: coimbatore
Posts: 36
Rep Power: 16
karthickeyan is on a distinguished road
Send a message via Skype™ to karthickeyan
hi friend
after seeing your post i found that you are using IN-cylinder motion. in that you are using remeshing ?because it only cause negative volume in dynamic mesh. you should give minimum cell size and maximum cell size value in remeshing option . it should be (0.4 *average cell size)and (1.2*average cell size)for maximum cell size. sorry for the delay in replying.
karthickeyan is offline   Reply With Quote

Old   November 30, 2011, 12:06
Default
  #9
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Quote:
Originally Posted by karthickeyan View Post
hi friend
after seeing your post i found that you are using IN-cylinder motion. in that you are using remeshing ?because it only cause negative volume in dynamic mesh. you should give minimum cell size and maximum cell size value in remeshing option . it should be (0.4 *average cell size)and (1.2*average cell size)for maximum cell size. sorry for the delay in replying.

TQ for the reply. I was seriously held back in with my project progress by this problem.

I am not using layering. using both Smoothing and remeshing.
I gave the values from the 'mesh scale info' just under where we give these value.

By ur method, how do we get the average cell size?
tsram90 is offline   Reply With Quote

Old   November 30, 2011, 12:55
Default
  #10
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Got It.

Adjusted the remeshing cell size in the Zone defining section with .4 and 1.4 of the avg cell length. (got length as min+max /2)


Now someone tell me what this is

> define/models/dynamic-mesh-controls
/define/models/dynamic-mesh-controls> icp
/define/models/dynamic-mesh-controls/in-cylinder-parameter> ppl
#f
Lift Profile:(1) [()] **piston-full**
Lift Profile:(2) [()] <Enter>
Start: [180] 0
End: [720] <Enter>
Increment: [10] 5
Plot lift? [yes] <Enter>
/define/models/dynamic-mesh-controls/in-cylinder-parameter>
tsram90 is offline   Reply With Quote

Old   December 1, 2011, 03:46
Default reply
  #11
Member
 
karthickeyan
Join Date: Feb 2010
Location: coimbatore
Posts: 36
Rep Power: 16
karthickeyan is on a distinguished road
Send a message via Skype™ to karthickeyan
]


while specifying side wall as deforming there is an option 'mesh scale info' from that there is minimum cell size and maximum cell size from this take an average value and multiply with .4 for minimum cell size and specify for remeshing similarly 1.2 * avg cell value for maxicell value
karthickeyan is offline   Reply With Quote

Old   November 22, 2014, 11:41
Default
  #12
New Member
 
Farzad Montazery
Join Date: Oct 2014
Location: Iran, Tabriz
Posts: 21
Rep Power: 12
famon is on a distinguished road
Quote:
Originally Posted by tsram90 View Post
Got It.

Adjusted the remeshing cell size in the Zone defining section with .4 and 1.4 of the avg cell length. (got length as min+max /2)


Now someone tell me what this is

> define/models/dynamic-mesh-controls
/define/models/dynamic-mesh-controls> icp
/define/models/dynamic-mesh-controls/in-cylinder-parameter> ppl
#f
Lift Profile1) [()] **piston-full**
Lift Profile2) [()] <Enter>
Start: [180] 0
End: [720] <Enter>
Increment: [10] 5
Plot lift? [yes] <Enter>
/define/models/dynamic-mesh-controls/in-cylinder-parameter>
hi
when I enter following command (define/models/dynamic-mesh-controls)
after pressing enter it says :
invalid command [define]
could you please guide?
famon is offline   Reply With Quote

Old   November 22, 2014, 12:57
Default
  #13
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Quote:
Originally Posted by famon View Post
hi
when I enter following command (define/models/dynamic-mesh-controls)
after pressing enter it says :
invalid command [define]
could you please guide?

You have to enter it one by one..
define
models
...
...
famon likes this.
tsram90 is offline   Reply With Quote

Old   November 22, 2014, 13:05
Default
  #14
New Member
 
Farzad Montazery
Join Date: Oct 2014
Location: Iran, Tabriz
Posts: 21
Rep Power: 12
famon is on a distinguished road
Thanks for your quick reply, worked ;-)
tsram90 likes this.
famon is offline   Reply With Quote

Old   April 6, 2015, 16:59
Default
  #15
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
I am trying to simulate the compression stroke using 2D planner, mesh . I have to use axisymmetric option for my consider the real cylinder volume.
I made UDF and profile both case for the velocity of the piston. The inside will be gas mixture that I will load in chemkin import
I am unable to use the preview motion in both cases. I saw the piston with the profile - motion is as per the need, it move same distance I need. But it seems that the dynamic mesh is not good and causes the error

I am getting "Negative cell volume detected- dynamic mesh failed"
Pl share your feedback on how to solve the dynamic mesh motion

I am using Quad currently. Can u suggest the type of element to use for mesh and how to improve skewness /Orthogonal quality for the mesh to be used for the 2D axisymmetric case to represent the Cylinder
Attached Images
File Type: jpg mesh.jpg (35.3 KB, 43 views)
File Type: jpg In cylinder with profile.jpg (44.1 KB, 40 views)
File Type: jpg velocity and y co-ordinate.jpg (16.1 KB, 36 views)
File Type: jpg Negative cell vol.jpg (49.3 KB, 32 views)

Last edited by sanjeetlimbu; April 6, 2015 at 19:47.
sanjeetlimbu is offline   Reply With Quote

Old   April 7, 2015, 03:56
Default
  #16
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Share your UDF and engine dimensions. Most probably the pistion is not returning, or you haven't given clearance volume.


Quote:
Originally Posted by sanjeetlimbu View Post
I am trying to simulate the compression stroke using 2D planner, mesh . I have to use axisymmetric option for my consider the real cylinder volume.
I made UDF and profile both case for the velocity of the piston. The inside will be gas mixture that I will load in chemkin import
I am unable to use the preview motion in both cases. I saw the piston with the profile - motion is as per the need, it move same distance I need. But it seems that the dynamic mesh is not good and causes the error

I am getting "Negative cell volume detected- dynamic mesh failed"
Pl share your feedback on how to solve the dynamic mesh motion

I am using Quad currently. Can u suggest the type of element to use for mesh and how to improve skewness /Orthogonal quality for the mesh to be used for the 2D axisymmetric case to represent the Cylinder
tsram90 is offline   Reply With Quote

Old   April 7, 2015, 10:57
Default
  #17
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
My dimension for the cylinder is :
Stroke length – 254mm (travel by piston edge), bore – 25.4mm (breath of mesh rectangle)
In cylinder motion: time step 0.000041s (default).
Compression stroke time = 30 ms , + 30ms to see combustion event
Veloity profile= start from zero to peak 14 m/s and abrupt deceleration to zero at 254 stroke travel

I have to use this for 2D axisymetric mode.
I ran for few time it run for 2D case, but show negative volume for axisymetric.
Attached Images
File Type: jpg Capture.jpg (17.0 KB, 19 views)
File Type: jpg mesh1.jpg (44.9 KB, 22 views)
File Type: jpg mesh.jpg (35.3 KB, 19 views)
Attached Files
File Type: txt FFF-1.3-5-00000.set - Copy.txt (55.0 KB, 23 views)
sanjeetlimbu is offline   Reply With Quote

Old   April 7, 2015, 11:02
Default
  #18
Member
 
Join Date: Oct 2011
Posts: 80
Rep Power: 15
tsram90 is on a distinguished road
Quote:
Originally Posted by sanjeetlimbu View Post
My dimension for the cylinder is :
Stroke length – 254mm (travel by piston edge), bore – 25.4mm (breath of mesh rectangle)
In cylinder motion: time step 0.000041s (default).
Compression stroke time = 30 ms , + 30ms to see combustion event
Veloity profile= start from zero to peak 14 m/s and abrupt deceleration to zero at 254 stroke travel

I have to use this for 2D axisymetric mode.
I ran for few time it run for 2D case, but show negative volume for axisymetric.
You have set clearance volume there? ie. after the cylinder has reached the TDC, there should be a small portion left.

And why is your total volume going to .007 from .013 in zero seconds?
tsram90 is offline   Reply With Quote

Old   April 7, 2015, 11:41
Default
  #19
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
Yes there will be clearance total length 254+14 mm

I am trying to make the piston side mesh in 2D there is crevice- step which is having some shape kink- small conduit area.

I am trying to simulate the piston stroke by - CFD modeling of two-stage ignition in a rapid compression machine:Assessment of zero-dimensional approach-Gaurav Mittal a,*, Mandhapati

at https://www.infona.pl/resource/bwmet...8-f989c9508de1

Answer: The volume is selected as moniter s , since it is compression stroke so reduction from 0.13 to 0.07, it may not be zero seconds
Attached Images
File Type: jpg mesh1.jpg (25.1 KB, 15 views)
File Type: jpg mesh2.jpg (29.1 KB, 12 views)
File Type: jpg mesh3.jpg (36.6 KB, 18 views)
File Type: png mesh4.PNG (16.6 KB, 13 views)
File Type: jpg Capture.jpg (39.6 KB, 15 views)
sanjeetlimbu is offline   Reply With Quote

Old   April 7, 2015, 13:14
Default
  #20
Member
 
sanjeet Limbu
Join Date: Mar 2015
Posts: 91
Rep Power: 11
sanjeetlimbu is on a distinguished road
I tried using the edge sizing option
but still getting the negative volume error. even as the orthogonal is good 0.634 and the skewness there is one point element at 0.70
Attached Images
File Type: jpg Capture.jpg (27.8 KB, 9 views)
File Type: jpg mesh.jpg (37.7 KB, 11 views)
File Type: jpg skewness.jpg (31.1 KB, 12 views)
sanjeetlimbu 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
engrid: Internal volume mesh becoming coarser during boundayr layer addition Arnoldinho OpenFOAM 1 January 22, 2011 05:31
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10
Automatic Mesh Motion solver michele OpenFOAM Running, Solving & CFD 10 September 26, 2005 09:21


All times are GMT -4. The time now is 19:45.