CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Error: Negative volume and Creating empty surface (https://www.cfd-online.com/Forums/fluent/102873-error-negative-volume-creating-empty-surface.html)

Faby June 5, 2012 05:59

Error: Negative volume and Creating empty surface
 
Hello everyone,

I have two interface walls defined as dynamic mesh, that move as a rigid body according to an udf in a flow domain. The problem is in transient time.
When I try to compute the solution, the simulation stops with this error:

"Warning: no positive-volume exist.
Error: update-dynamic-mesh failed. Negative cell volume detected
Note: zone-surface: cannot create surface from sliding interface zone.
Creating empty surface."

If I see the mesh surrounding dynamic mesh zones (interface walls) it's deformed a lot. But, I don't know how to fix it and I can't understand the "Note".

Could anyone help me?

Thank you in advance.

Far June 5, 2012 06:17

It is producing negative volume due to dynamic mesh setup. Either check the mesh settings (use tetra ) or dynamic mesh settings.

Faby June 6, 2012 10:15

Quote:

Originally Posted by Far (Post 364795)
It is producing negative volume due to dynamic mesh setup. Either check the mesh settings (use tetra ) or dynamic mesh settings.

I'm already using tetra mesh...
I tried with declaration of fluid zone surrounding the particle as deforming zone...but it doesn't work... :(

sadjad.s October 4, 2012 15:45

i've got your problem either.
it seems that problem is within using interface walls in remeshing method
:(

Faby October 5, 2012 07:41

At the end I did't use interface walls , but a mesh around the moving body that connects the wall of moving body and the mesh of external fluid domain.

sadjad.s October 6, 2012 07:04

at last i found the answer (:
actually i was modelling a simple 3d model of falling sphere in water.
i 've successfully done it with interface walls.
my problem was that i didn't take buoyancy into account; sphere had much less density than water so it went up in about 0.01 sec. (density of sphere is calculated by fluent which is mass divided by volume )
don't forget to choose both interfaces as "rigid body" and "passive" in dynamic mesh options.

Faby October 8, 2012 04:45

Quote:

Originally Posted by sadjad.s (Post 385195)
at last i found the answer (:
actually i was modelling a simple 3d model of falling sphere in water.
i 've successfully done it with interface walls.
my problem was that i didn't take buoyancy into account; sphere had much less density than water so it went up in about 0.01 sec. (density of sphere is calculated by fluent which is mass divided by volume )
don't forget to choose both interfaces as "rigid body" and "passive" in dynamic mesh options.

How did you take buoyancy into account?

nkme2007 October 10, 2012 05:48

Hello All,

I want to do analysis of heat transfer from water flowing through pipes submerged inside concrete. I am modelling in GAMBIT and wish to analyse it on Ansys FLUENT.

Can anybody help me out, how to model and simulate?

Does any tutorials exist?

sadjad.s October 10, 2012 17:05

1 Attachment(s)
hi mate,
actually with 6DOF option in dynamic mesh, fluent automatically considers buoyancy force between solid(ie. box) and fluid(water).
my problem was that i considered rather little mass for box (in the main problem it was sphere) so that it went up!
in this example(2d version), i made a structred grid around box and let it move with the same speed as box.(as you can see in picture).
and used remeshing method for unstructured grid.
i use fluent v14.0 64 bit, if you want, post me your email so i send you case & data and udf.
Attachment 16128

sadjad.s October 10, 2012 17:13

hi mate,
modelling "water through pipe which is surrounded by concrete", it appears to be a rather simple task.
how much are you familiar with gambit & fluent?
you wanna model it 2d or 3d?

nkme2007 October 11, 2012 00:08

Quote:

Originally Posted by sadjad.s (Post 386037)
hi mate,
modelling "water through pipe which is surrounded by concrete", it appears to be a rather simple task.
how much are you familiar with gambit & fluent?
you wanna model it 2d or 3d?

Sadjad,

I am a beginner of GAMBIT & FLUENT. My aim is to analyse the heat transfer and to analyse the temperature distribution among the concrete. I think 2D would suffice me, can you help me out?

sadjad.s October 11, 2012 03:32

your analysis seems easy if you set all problem's specifications correct.
but you need first to learn meshing with Gambit.
by doing these tutorials at this site(Cornell University), you'll have a rather sufficient view of Gambit&Fluent.
https://confluence.cornell.edu/displ...arning+Modules
Then you can start simulating what you want.

nkme2007 October 11, 2012 04:25

Quote:

Originally Posted by sadjad.s (Post 386109)
your analysis seems easy if you set all problem's specifications correct.
but you need first to learn meshing with Gambit.
by doing these tutorials at this site(Cornell University), you'll have a rather sufficient view of Gambit&Fluent.
https://confluence.cornell.edu/displ...arning+Modules
Then you can start simulating what you want.

But, I didn't find any tutorial that is nearer to my work.

sadjad.s October 11, 2012 11:18

you are right but if you are a beginner, you need to learn these two softwares from base.
by doing those tutorials you will get familiar with meshing via Gambit and some basic CFD modellings with Fluent.

nkme2007 October 11, 2012 11:38

Quote:

Originally Posted by sadjad.s (Post 386171)
you are right but if you are a beginner, you need to learn these two softwares from base.
by doing those tutorials you will get familiar with meshing via Gambit and some basic CFD modellings with Fluent.

Thank you sadjad!

subha_meter October 23, 2012 04:09

Hi Sadiad,

I had the same experience of the solid sphere bouncing off the liquid surface instead of submerging. In 2D case, how did you specify the volume of the sphere. I believe in the 6DOF property UDF, you are giving mass and moment of inertia as the required inputs.

Regards,

Quote:

Originally Posted by sadjad.s (Post 386035)
hi mate,
actually with 6DOF option in dynamic mesh, fluent automatically considers buoyancy force between solid(ie. box) and fluid(water).
my problem was that i considered rather little mass for box (in the main problem it was sphere) so that it went up!
in this example(2d version), i made a structred grid around box and let it move with the same speed as box.(as you can see in picture).
and used remeshing method for unstructured grid.
i use fluent v14.0 64 bit, if you want, post me your email so i send you case & data and udf.
Attachment 16128


sadjad.s October 23, 2012 13:56

dear mate,
no need to specify volume, because fluent compute it by geometry.
you just need to enter mass of sphere via udf and density will be computed by "density=mass/volume".
a circle in 2d is actually a cylinder which has one meter depth so in order to compute volume just multiply section are by one.
to solve your problem just make sure that density of sphere is higher than fluid.
if there is still problem, send your email address to send you case&data&udf.

subha_meter October 23, 2012 18:55

Hi Sadjad,

Thanks for your reply.

Earlier, I calculated the mass based on a sphere which is actually a cylinder in 2D. This caused the problem since cylinder volume considered by FLUENT is higher than the sphere and consequently density of solid became lower than the fluid.

I have fixed the problem now.

Thanks again!

Regards,

Quote:

Originally Posted by sadjad.s (Post 388159)
dear mate,
no need to specify volume, because fluent compute it by geometry.
you just need to enter mass of sphere via udf and density will be computed by "density=mass/volume".
a circle in 2d is actually a cylinder which has one meter depth so in order to compute volume just multiply section are by one.
to solve your problem just make sure that density of sphere is higher than fluid.
if there is still problem, send your email address to send you case&data&udf.


subha_meter November 6, 2012 17:01

solid body floating using
 
Hi Sadjad,

Although the dynamic mesh model worked for heavier particle (density > liquid). for lighter particle (particle density < liquid density), it seems there's some problem. The particle bounces off the interface instead of floating on the liquid. Any suggestion?

Regards,

Quote:

Originally Posted by sadjad.s (Post 388159)
dear mate,
no need to specify volume, because fluent compute it by geometry.
you just need to enter mass of sphere via udf and density will be computed by "density=mass/volume".
a circle in 2d is actually a cylinder which has one meter depth so in order to compute volume just multiply section are by one.
to solve your problem just make sure that density of sphere is higher than fluid.
if there is still problem, send your email address to send you case&data&udf.


sadjad.s November 7, 2012 13:36

hi mate,
if you are sure that particle must go up (i.e. density of particle is less than liquid density), then you must use very little time step.(even in order of e-7)
as it is obvious, particle will throw up very quickly, so in order to catch motion, use little time step.
as a suggestion, the order of time step should be in a way that in each time step, your body moves less than cell height.

Faby February 14, 2013 03:45

Quote:

Originally Posted by sadjad.s (Post 386035)
hi mate,
actually with 6DOF option in dynamic mesh, fluent automatically considers buoyancy force between solid(ie. box) and fluid(water).
my problem was that i considered rather little mass for box (in the main problem it was sphere) so that it went up!
in this example(2d version), i made a structred grid around box and let it move with the same speed as box.(as you can see in picture).
and used remeshing method for unstructured grid.
i use fluent v14.0 64 bit, if you want, post me your email so i send you case & data and udf.
Attachment 16128

I did the same! :)

Faby February 14, 2013 03:53

Quote:

Originally Posted by subha_meter (Post 390688)
Hi Sadjad,

Although the dynamic mesh model worked for heavier particle (density > liquid). for lighter particle (particle density < liquid density), it seems there's some problem. The particle bounces off the interface instead of floating on the liquid. Any suggestion?

Regards,

Hi!
I was able to simulate a buoyant particle fully immersed in a fluid just setting the acceleration of gravity = 0 and the operating density ( in operating conditions) equals to the fluid density. It works.
For your case...have you seen the ansys tutorial about a 2D buoyant box? This is the video of simulation http://www.youtube.com/watch?v=UpFCF-ctMp0 , but you can find the tutorial on web http://www.scribd.com/doc/92954775/F...2d-Falling-Box.

samcfd February 28, 2013 23:59

2D airfoil O Grid- negative volume
 
Hi,

I'm carrying out a 2D pitching airfoil simulation using dynamic meshing with a "O" Grid.It is a structured mesh. The dynamic conditions i have given were
1) airfoil - rigid body with UDF with pitching over X=0.25
2)interior - deforming with the min and max length scale from zone scale info
3) fluid -deforming with the min and max length scale from zone scale info.

The spring constant i gave was 0.001 and
convergence tolerance 0.0001
No of iterations 150.

The time step tat i used is 0.001.

After running the iterations and after about 500 time steps i'm getting the following error

negative volume detected
dynamic mesh update failed.
i have worked around with the spring constant and also with the time step nothing worked.
could someone help me out rectify this issue..
thanks in advance,
sam

subha_meter March 1, 2013 00:39

negative volume - dynamic mesh failure
 
Hi Sam,

In dynamic mesh problems, the mesh around the solid body keeps deforming during each iteration. Now, when the mesh becomes too distorted that the centroid of the cell lies outside the cell boundary, a negative volume is detected triggering the solver failure.

In a structured mesh, cell distortion is always higher than the unstructured mesh. You may tighten the the remeshing criteria i.e. the minimum cell size, skewness ratio etc. however the best way to get rid of the problem is to use "unstructured" (tri/tetrahedral) mesh. This works.

engma May 8, 2017 02:55

hi

The message "Note: zone–surface: cannot create surface from sliding interface zone" simply means the boundaries of the non–conformal interfaces match exactly, such that there are no non–overlapping sections on either side of the interface.

chek this file for more details

https://events.prace-ri.eu/event/156...l/slides/5.pdf

engineer master May 8, 2017 05:02

Please any one help me ..how can L solve this problem which appears to me
( application error in CFD_post
error the doesn't exist or is not readable )
So what the reson and what solution? ???
Please. ..

Megan December 12, 2023 09:06

6-DOF buoyant wooden box
 
Quote:

Originally Posted by sadjad.s (Post 388159)
dear mate,
no need to specify volume, because fluent compute it by geometry.
you just need to enter mass of sphere via udf and density will be computed by "density=mass/volume".
a circle in 2d is actually a cylinder which has one meter depth so in order to compute volume just multiply section are by one.
to solve your problem just make sure that density of sphere is higher than fluid.
if there is still problem, send your email address to send you case&data&udf.

Thank you for your kind hints.
I have a similar project , but i have a floating box. actually this is a Wave Energy Converter which starts oscillating as a result of wave. I have tried both reducing the time step size and fine meshing but still face the same error as you. dynamic mesh failed. negative volume detected. would you please share your Dynamic mesh setting with us?
Thank you in advance.
Megan.


All times are GMT -4. The time now is 21:10.