Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Negative Cell Volume Detected in Dynamic Meshing

    • shaheen wahab
      Subscriber

      Hello,


      I am trying to update the dynamic mesh with a rectangular channel which has a hump at the bottom. 


      After updating the Dynamic mesh, the hump at the bottom should move up, which happens but along with it, the top surface of the channel also moves up, which is undesirable in my case.


      I tried using "Rigid Body" type for the Top surface but every time I encounter with this problem of Negative Cell Volume.


      I have a hexahedral mesh with 25 inflation layers.


      I am using the Smoothing method with Spring Constant Factor of 0.01, Convergence Tolerance of 0.001 and 100 number of iterations. My bottom surface should move, not the top surface.


      Could this be a problem due to a very small thickness of inflation layers? Or maybe because I am using a Hexahedral mesh?


      I would be really grateful if anyone could help me with this matter. 


      Thank you 


      With regards


      Shaheen 


       

    • Rob
      Forum Moderator

      Negative volume usually means you've moved the mesh too far in one timestep so the cells have collapsed. Try reducing the step to avoid that. For the whole domain moving you may need to rethink the moving mesh approach, have a look for tutorials and go from there: others in the community will need to help with that.

    • shaheen wahab
      Subscriber

      Dear Rwoolhou,


      I am working on it after changing the Spring constant. I have a steady state case, so I cannot change the Timestep. I will keep you updated. 


       


      Thank you  


      With regards


      Shaheen 

    • shaheen wahab
      Subscriber

      Dear Rwoolhou, 


      I tried with very less Spring Constant (0.0001), yet there was this problem. Bottom -> User defined & Top surface -> Rigid body. 


      When I select "Rigid body" for the Top surface, I have to select the same UDF as that for Bottom and it gives me this warning :


      Warning: incorrect cg motion UDF scourModel::lib5udf on zone 5 (assuming no motion)


      Thank you 


      With regards


      Shaheen 

    • Rob
      Forum Moderator

      You need to think through the application. If you move the bottom face, you will need to smooth the volume mesh. If you want the top of the domain to remain fixed you can't set it to be moving.  There are several videos on YouTube, including

        which explain various aspects.


      The other point is what is causing the movement, and how far should it move? In a transient case the displacement is limited by the speed and time step: I have no idea how you would control this steady state.


       

    • shaheen wahab
      Subscriber

      Hello,


      I found the solution to this problem. I used smoothing with Spring Constant Factor of 0.0001, Convergence Tolerance of 0.001 and 100 number of iterations. I also used the Remeshing method with local cell and local face. The problem was that I wanted the mesh (the hump area) to jump directly to an elevation of 60 cm from 30 cm. I now made the mesh (the hump) to gradually change from 30 cm to 42 cm, which worked well.   


      Thank you 


      With regards


      Shaheen

    • tayyaba.bano
      Subscriber

      Hi


      Many congratulations for having the solution of your problem, could you please guide me about the Min and Max length scale in remeshing setting?


      Should it be the same as the values displayed in mesh scale info?


      Waiting for your kind response.


      Tayyaba

    • shaheen wahab
      Subscriber

      Hello Tayyaba,


      Thank you so much


      I used the Default values. I didn't change anything though. I used Local Cell and Local Face for Remeshing and that's all. 


      Hope you find your solution  


      With regards


      Shaheen 

    • shaheen wahab
      Subscriber

      Update:


      I also tried the Dynamic mesh using only the smoothing method (I have a steady case with hex mesh). In the earlier case, I tried Dynamic mesh with the Remeshing method, which worked fine. In my actual case, I am using only the Smoothing method. 


      Thanks 

    • tayyaba.bano
      Subscriber

      Thanks for the update. I am working on a transient cases and also tried your suggestions of re meshing but I still get the error of negative cell volume creation. I hope Ill get out of these errors soon.


       


      Regards


      Tayyaba

    • Rajat25Arya
      Subscriber

      hey there,


      I am working on IC Engine Simulation and can't find the solution of "Negative cell volume detected" in dynamic mesh.


      Would you please give me some suggestion for this??

    • shaheen wahab
      Subscriber

      Hello,


      I don't know how your case is. But in my case, I tried to move the mesh way too much. I then tried to move it gradually, which worked fine for me. Since I had a steady case, so there was no option of reducing the timestep. But you can try this option.


      Negative cells are created due to the fact that the domain is moving too fast for Fluent to do the remeshing or smoothing. 


       


      It is required that each node displacement will be inferior to the size of the minimum cell.


      Over passing this limit, one has regularly negative cells.


      I hope this helps and you soon find something. 


      Regards


      Shaheen 

    • Karthik Remella
      Administrator
      Shaheen
      Thanks for helping out on the community.

      Best Karthik
    • shaheen wahab
      Subscriber

      Dear Karthik,


      Thanks to the community too. It helped me a lot to do my task  


      With regards


      Shaheen 

    • mhataminasab
      Subscriber

      hi... u can use mesh scale info ... look at values of mesh scale info... usually the values of Min and Max length  scale are near the values of mesh scale info... by the way you should check your mesh cells ... for example i solved a problem with an outlet with non reflecting B.C that  in this outlet the size of meshes were bigger than the other parts and i didnt want to move the outlet and my dynamic mesh worked with another part of my geometry that had smaller meshes. therefore  be ware mesh scale info  give you information about whole the geometry of you...


      hope  helpful for you...


      and thanks to shaheen wahab for this discussion


       

      • Sanda Pyae Sone
        Subscriber

        Hello Sir, are you still active in ANSYS simulation? I would like to ask you regarding the boundary condition at the outlet. Is there any ways to contact to you other than in this thread?

         

    • tayyaba.bano
      Subscriber

      Hi


      regarding negative cell volume error, is it possible to get nodal displacement in Fluent? or is is just a rough guess by setting the other parameters like smoothing and re meshing?


       


      Thanks

    • AbdelRahman ElGendy
      Subscriber

      hello is there anyone avaible to discuss with me with some issues i am facing with the fluent setup

      i have included the image it is an airfoil in a circle domain i have done the following named selection and i added the udf coding for it to pitch but when im running the calculations i always face this same errors negative cell volume detected 

      would love to get a reply thank you so much

      regards, Abdelrahman

Viewing 16 reply threads
  • The topic ‘Negative Cell Volume Detected in Dynamic Meshing’ is closed to new replies.