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

Negative cell volume

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RaiderDoctor

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 8, 2018, 04:52
Default Negative cell volume
  #1
New Member
 
Join Date: May 2018
Location: Taiwan,Hsinchu city
Posts: 7
Rep Power: 8
freeze is on a distinguished road
HI!

I simulate a piston,recently

I build a cylinder and think it is fluid

I use udf let moving wall to compress the fluid

when I preview mesh motion, it always show Negative cell volume detected

I don't know why remeshing this function have not effect

anyone know how to resolve this problem

attachment is my model and dynamic mesh setup

Thanks
Attached Images
File Type: png 5.png (126.6 KB, 95 views)
File Type: png 2.PNG (28.2 KB, 98 views)
File Type: png 3.PNG (23.9 KB, 79 views)
File Type: png 4.PNG (33.8 KB, 77 views)
freeze is offline   Reply With Quote

Old   June 11, 2018, 10:30
Default
  #2
Senior Member
 
Join Date: Dec 2016
Posts: 152
Rep Power: 10
RaiderDoctor is on a distinguished road
Try enabling Local Face, and Region Face in the Remeshing tab of the Dynamic Meshing. Also, you may want to consider switching your Smoothing methods from Spring/Laplace/Boundary Layer to Diffusion. Ansys seems to recommend the latter as being much more robust. The Diffusion Function can be left as boundary-distance, and the Diffusion Parameter can be set to 2 (according to the manual, a value of 0 will cause the cells close to the moving boundary to absorb more of the motion, while a value of 2 will cause the inner cells to absorb more of the motion).



If that doesn't work, your next step would be to examine the area that keeps failing. To do so, go to Postprocessing, Surface, Create, Iso-Surface. In the new menu that pops up, directly underneath Surface of Constant, select Mesh, and then in the drop-down menu below that, select Cell Volume. At the bottom of the menu, click Compute. There should be values populating the Min, Max and Iso-Values region of the menu now. If the Min value is showing a negative number, then you have a negative cell volume. If not, then your mesh is skewed to the point where Fluent thinks you have a negative volume. To show this negative volume (if you have it), click the right arrow on the slide bar. This will generate a volume that is slightly larger than the absolute minimum, which is completely fine. Then, click Create at the bottom. Close out of this menu.


Go to Setting Up Domain, Display, and display your newly created iso-surface. You may need to uncheck the walls to appropriately see it.



Hopefully this helps!
srsel6 likes this.
RaiderDoctor is offline   Reply With Quote

Old   June 19, 2018, 06:31
Default
  #3
New Member
 
Join Date: May 2018
Location: Taiwan,Hsinchu city
Posts: 7
Rep Power: 8
freeze is on a distinguished road
Thanks for your recommend

i am really sorry for the late reply, because last week i have an important exam

i change my method from Spring/Laplace/Boundary Layer to Diffusion and resolve this problem

thank you for explain some fluent dynamic mesh setup
freeze is offline   Reply With Quote

Old   March 24, 2021, 03:14
Default Dynamic mesh Negative cell volume
  #4
New Member
 
Mohammed
Join Date: Sep 2018
Posts: 15
Rep Power: 7
mohkh is on a distinguished road
Dear All @ Raide Doctor
The aim of this study is to simulate the blood flow an elastic blood vessel. Assumption of rigid blood vessel wall decreases and expanding according to the results especially when the vessel undergoes quite large deformations. During the cardiac cycle, the fluid flow induces forces from the time-varying blood pressure.
Pulsatile flow profile was implemented via User Defined Function (UDF) to mimic the cardio-ac cycle.
V(t) = amplitude +sin(ωt)
ω=2πF,F=1/T
Pressure profile was implemented via User Defined Function (UDF) to mimic the cardio-ac cycle.
R(t) = amplitude +sin(ωt+θ)

My set up:
D=300µm
T=0.8 s
Geometry attached file.
I am suffering from NCV even when I start with preview zone motion
Many thancks
Attached Images
File Type: png Capture1.PNG (149.3 KB, 20 views)
File Type: png Capture2.PNG (52.6 KB, 16 views)
File Type: png Artery .PNG (16.3 KB, 19 views)
Attached Files
File Type: c combined.c (1.3 KB, 3 views)
mohkh is offline   Reply With Quote

Old   September 17, 2021, 22:32
Default did you solve this? if you did please tell us what you did. thanks
  #5
Member
 
Vivek MJ
Join Date: Oct 2020
Location: India
Posts: 53
Rep Power: 5
vivjk94 is on a distinguished road
Quote:
Originally Posted by mohkh View Post
Dear All @ Raide Doctor
The aim of this study is to simulate the blood flow an elastic blood vessel. Assumption of rigid blood vessel wall decreases and expanding according to the results especially when the vessel undergoes quite large deformations. During the cardiac cycle, the fluid flow induces forces from the time-varying blood pressure.
Pulsatile flow profile was implemented via User Defined Function (UDF) to mimic the cardio-ac cycle.
V(t) = amplitude +sin(ωt)
ω=2πF,F=1/T
Pressure profile was implemented via User Defined Function (UDF) to mimic the cardio-ac cycle.
R(t) = amplitude +sin(ωt+θ)

My set up:
D=300µm
T=0.8 s
Geometry attached file.
I am suffering from NCV even when I start with preview zone motion
Many thancks
did you solve this? if you did please tell us what you did. thanks
vivjk94 is offline   Reply With Quote

Old   September 17, 2021, 23:46
Default
  #6
New Member
 
Mohammed
Join Date: Sep 2018
Posts: 15
Rep Power: 7
mohkh is on a distinguished road
Not yet, I am trying to solve it thanks
mohkh is offline   Reply With Quote

Old   September 18, 2021, 12:09
Default
  #7
Senior Member
 
Join Date: Dec 2016
Posts: 152
Rep Power: 10
RaiderDoctor is on a distinguished road
Hey Mohkh,


Sorry, I didn't see this message previously.



Okay, so there's a lot going on with your setup, but I'm not sure you need all of it. First off, your walls are not rigid body; they are compliant. Rigid means they don't move, compliant means they do (even if you impose the motion).



Next issue is the prescription of motion. I'm not sure where you got it from, but it reminds me of peristaltic motion. To my knowledge, this isn't a good model for cardiac blood vessels. It might be better to try and run a 2-way fluid-structure interaction simulation.


Now, on to why you have negative cell volumes. I'm afraid I'm not sure. It could be due to a number of issues that all require different solutions. But it'll be hard to narrow down which solution is best with the given info. I can suggest you try diffusion smoothing, with remeshing enabled. Use local face, region, zone, etc. Make sure you specify the min and max length scales to be approximately 0.4 and 1.4 of your min and mix mesh scales (find this by clicking on mesh info in the remeshing tab of dynamic meshing). If this doesn't work, check out your time step size. Is it small enough to allow your mesh to absorb the motion? Beyond that, I'm not sure what else I can offer without more info.


Good luck!
RD
RaiderDoctor is offline   Reply With Quote

Old   September 18, 2021, 23:48
Default
  #8
New Member
 
Mohammed
Join Date: Sep 2018
Posts: 15
Rep Power: 7
mohkh is on a distinguished road
Quote:
Originally Posted by RaiderDoctor View Post
Hey Mohkh,


Sorry, I didn't see this message previously.



Okay, so there's a lot going on with your setup, but I'm not sure you need all of it. First off, your walls are not rigid body; they are compliant. Rigid means they don't move, compliant means they do (even if you impose the motion).



Next issue is the prescription of motion. I'm not sure where you got it from, but it reminds me of peristaltic motion. To my knowledge, this isn't a good model for cardiac blood vessels. It might be better to try and run a 2-way fluid-structure interaction simulation.


Now, on to why you have negative cell volumes. I'm afraid I'm not sure. It could be due to a number of issues that all require different solutions. But it'll be hard to narrow down which solution is best with the given info. I can suggest you try diffusion smoothing, with remeshing enabled. Use local face, region, zone, etc. Make sure you specify the min and max length scales to be approximately 0.4 and 1.4 of your min and mix mesh scales (find this by clicking on mesh info in the remeshing tab of dynamic meshing). If this doesn't work, check out your time step size. Is it small enough to allow your mesh to absorb the motion? Beyond that, I'm not sure what else I can offer without more info.


Good luck!
RD
Thank you very much for your response and your Time. I will try everything and let you know.
mohkh 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
Update Dynamic mesh failed- Negative cell volume detected kywong5 Fluent UDF and Scheme Programming 0 April 24, 2017 08:57
Dynamic Mesh/ Negative cell Volume majidroozbahani FLUENT 0 December 20, 2016 02:42
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 04:27
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21
[blockMesh] blockMesh error - Negative Volume Block adoledin OpenFOAM Meshing & Mesh Conversion 2 June 22, 2016 10:44


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