tumaer / jaxfluids Goto Github PK
View Code? Open in Web Editor NEWDifferentiable Fluid Dynamics Package
License: Other
Differentiable Fluid Dynamics Package
License: Other
Hi, I'm trying to run jaxfluids on a PBS cluster with 8 GPUs per node. I want to run the simulation on 2 nodes, but I can't anything in the documentation regarding distributed computation for jaxfluids. Is this feature not yet supported?
Hello,
Is it currently possible to do triple-phase simulations involving two fluid phases and a solid phase?
Hi. I saw the test case: Space shuttle at Mach 2 - Immersed solid boundary method via level-set. I wonder how to import a CAD model to the JAXFLUIDS solver. Thanks in advance.
Hi, I meet a problem.During the simulation, the simulation stopped before the end time was reached, but no errors were reported and everything else was normal.
Hi,
I am just a bit curious what the plans of jaxfluids are :-) Is there any activity ongoing (or planned) for low Mach turbulent flow as well?
Best Regards
Fab
Dear developers
I get an error when I use from jaxfluids.simulation_manager import SimulationManager
γThe reson of this error is that from jax.config import config
is used in /JAXFLUIDS/src/jaxfluids/simulation_manager.py
.In fact, jax suggest using this way.
import jax jax.config.update(your_config_options_here)
Thank you!
I'm using the jaxfluids library, which is a computational fluid dynamics library that requires JAX. I have installed JAX and jaxlib with versions jax=0.4.14 and jaxlib=0.4.14, respectively. However, when running the provided examples, I encountered the following AttributeError:
AttributeError: module 'jax.numpy' has no attribute 'DeviceArray'
I noticed that this issue has been discussed in various contexts, including GPT-3's responses. Is there a recommended solution for resolving this issue with the mentioned versions of JAX?
After researching and experimenting, I found a workaround to resolve this issue. I used PyCharm's "Replace in file" feature to replace all instances of jnp.DeviceArray with jnp.Array. This helped me successfully run the examples without encountering the AttributeError.
Here's how I performed the replacement:
Open the file where jnp.DeviceArray is used.
Use the "Replace in file" feature in PyCharm.
Replace all occurrences of jnp.DeviceArray with jnp.Array.
Please note that this is a specific workaround I tried, and it may not be the only solution. However, it worked for me with the mentioned versions of JAX. Others who are facing similar issues might find this workaround helpful.
Success
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.