Giter VIP home page Giter VIP logo

Comments (5)

Wumpf avatar Wumpf commented on July 17, 2024

tried a few things. It's really hard to make this happen in an efficient matter: Either we treat velocity as three grids and gather particles independently (trippling the workload on the already quite expensive gather step) or we have a huge gathering area (24 cells in my linked list grid)
Failed to find any conclusive resources on the topic. There's few papers even acknowledging how problematic the gather step is to begin with.
(note that I haven't profiled any of the performance claims, this is just inferring from amount of expected memory accesses and divergence)

Another solution to fix some of the issues, namely oscillating pressure (checkerboard presesure), with collocated grid is Rhie-Chow interpolation applied during pressure correction

from blub.

Wumpf avatar Wumpf commented on July 17, 2024

This master thesis has some stuff on Rhie-Chow with collocated grid http://publications.lib.chalmers.se/records/fulltext/185027/185027.pdf

from blub.

Wumpf avatar Wumpf commented on July 17, 2024

After reading
http://www.fem.unicamp.br/~im450/palestras&artigos/CFD%20of%20Turbulence_Chalmers_Un/chapter_6-1.pdf I think I understood now roughly how Rhie-Chow interpolation computes velocity at grid walls. Which ofc begs the question if velocity at grid center is just wall velocity averaged? Would make sense the way it was defined.

from blub.

Wumpf avatar Wumpf commented on July 17, 2024

Take a close look at equation 54 in http://www.fem.unicamp.br/~im450/palestras&artigos/CFD%20of%20Turbulence_Chalmers_Un/chapter_6-1.pdf
.. so yes, just average again. This equation is the complete expression for a single velocity update a P
(E == East, W == West, [..])

from blub.

Wumpf avatar Wumpf commented on July 17, 2024

Description of using a uniform (not staggered grid) and makes mention on Rhie-Chow interpolation in a Eurographics paper (i.e., I'm able to understand stuff better than from real CFD paper ;-)) on shallow water equation solver (not quite what we're after here, but close enough)
http://isg.cs.tcd.ie/cosulliv/Pubs/LeeShallowEqs.pdf

from blub.

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.