GithubHelp home page GithubHelp logo

Move/Surf about sparta HOT 7 CLOSED

oscillatingion avatar oscillatingion commented on September 22, 2024
Move/Surf

from sparta.

Comments (7)

stanmoore1 avatar stanmoore1 commented on September 22, 2024

@oscillatingion not sure, will take a look

from sparta.

stanmoore1 avatar stanmoore1 commented on September 22, 2024

@oscillatingion, I talked to @sjplimp and he pointed out this note from the doc page (see https://sparta.github.io/doc/move_surf.html):

After the surface has been moved, then all particles in grid cells that meet either of these criteria are deleted:

the grid cell is now inside a surface
the grid cell overlaps with a surface element that moved
This is to prevent particles from ending up inside surface objects.

So this fix is intended to adjust the surface and then allow for re-equilibration of the flow after a few timesteps. It currently won't "bounce" particles off the moving surface and impart momentum to the particles.

There may be a way to take some of the logic from #381 and apply it to the moving surface so only the particles that actually overlap with the surface are deleted, instead of all the particles in any grid cell that overlaps with a surface.

There may also be a way to couple a moving surface with the particles so they do bounce off the moving surface, but that would require modifications to the code.

Can you clarify your intended use case/what you need here?

from sparta.

oscillatingion avatar oscillatingion commented on September 22, 2024

from sparta.

sjplimp avatar sjplimp commented on September 22, 2024

from sparta.

sjplimp avatar sjplimp commented on September 22, 2024

@magalli - can you look at my comment/Q on this feature request ?

from sparta.

oscillatingion avatar oscillatingion commented on September 22, 2024

from sparta.

stanmoore1 avatar stanmoore1 commented on September 22, 2024

@oscillatingion it sounds like your question was answered above, so I'm closing this issue. Let us know if you have other issues.

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.