Giter Site home page Giter Site logo

Comments (6)

LiuChen802 avatar LiuChen802 commented on June 4, 2024

I am also interested in this problem. The grid system adopts the cutcell method. It is possible to adopt complex grid system. For example, the gmsh grid type?

from jaxfluids.

dbezgin avatar dbezgin commented on June 4, 2024

Hi - currently, we do not support loading a CAD model directly into JAX-Fluids. However, if you have an STL file of your geometry you can convert it into a level-set field (i.e., signed distance function). There are some open source tools available for that. You can then load the level-set field as an h5 file into JAX-Fluids. Let us know if you have troubles with that.

As for meshes: JAX-Fluids currently supports uniform and stretched Cartesian grids. We are finalising JAX-Fluids 2.0 which will make grid stretching more intuitive. JAX-Fluids 3.0 will include AMR.

from jaxfluids.

LiuChen802 avatar LiuChen802 commented on June 4, 2024

from jaxfluids.

loliverhennigh avatar loliverhennigh commented on June 4, 2024

Hello @dbezgin, I am very interested in the potential for AMR in JAX. Do you any details you can share on this? I have been thinking about this problem for some time but don't have any great ideas for making it work. It is very exciting to see JAX's multi-GPU support though. I am hopeful that a general purpose AMR framework similar to AMRX might be possible to build, (https://amrex-codes.github.io/amrex/). This would have a lot of potential both in the Physics and ML world if you managed to make it scalable and preserve the differentiablility. For a bit I was looking at Taichi to see if something like this was possible there and wrote a small FV solver to try and test out ideas https://www.youtube.com/watch?v=xcZcHbvMe-g. Still thinking about this problem but I am not sure now if Taichi is the right framework to implement AMR in now...

from jaxfluids.

bianzj avatar bianzj commented on June 4, 2024

Is the case (Space shuttle at Mach 2 - Immersed solid boundary method via level-set) in the repo? I can not find it.

from jaxfluids.

Related Issues (4)

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.