GithubHelp home page GithubHelp logo

Comments (4)

stanmoore1 avatar stanmoore1 commented on May 28, 2024

I tried the reproducer. With no transparent surfaces, it runs fine. With transparent surfaces, I get ERROR on proc 0: Collision cell volume is zero (../collide.cpp:482) after reading in the restart file:

Reading restart file ...
  restart file = 20 Nov 2020, SPARTA = 20 Nov 2020
  orthogonal box = (0 0 -0.5) to (20 10 0.5)
  400 grid cells
  109849 particles
  100 surf lines
  0 0 = number of pushed cells
  72 0 = cells overlapping surfs, overlap cells with unmarked corner pts
  256 72 72 = cells outside/inside/overlapping surfs
  72 = surf cells with 1,2,etc splits
  143.600044896042 143.600044896042 = cell-wise and global flow volume
  CPU time = 0.0516171 secs
  read/surf2grid/rebalance/ghost/inout percent = 90.7879 5.18019 0.0969986 1.99909 1.93581
Memory usage per proc in Mbytes:
  particles (ave,min,max) = 3.375 1.6875 5.0625
  grid      (ave,min,max) = 1.51379 1.51379 1.51379
  surf      (ave,min,max) = 0.0102997 0.0102997 0.0102997
  total     (ave,min,max) = 4.89948 3.21198 6.58698
Step CPU Np Natt Ncoll Nscoll Nscheck c_2[1] c_2[2] 
    1000            0   109849        0        0        0        0            0            0 
ERROR on proc 0: Collision cell volume is zero (../collide.cpp:482)

from sparta.

stanmoore1 avatar stanmoore1 commented on May 28, 2024

I talked to @sjplimp and we agree that the transparent flag should be included in the restart file. I'll submit a PR.

from sparta.

zhangchonglin avatar zhangchonglin commented on May 28, 2024

Thanks Stan! @stanmoore1. I noticed in your PR #213, you added transparent flag to 2d simulation case (lines). Should you also do that for 3d simulation case (triangle surfaces)?

from sparta.

stanmoore1 avatar stanmoore1 commented on May 28, 2024

Should you also do that for 3d simulation case (triangle surfaces)?

@zhangchonglin Yes, I totally forgot that, thanks!

from sparta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.