Comments (4)
What do you mean with "long time"?
Since you use a fixed small time step size, the simulation will be rather slow. You also use very small values for maxError and maxErrorV, which will increase the number of required pressure solver iterations significantly. A simulation with an implicit viscosity is always slower since a linear system for the viscosity has to be solved. Finally, you enabled the vorticity solver which has not much effect since a highly viscous fluid is typically not turbulent.
from splishsplash.
And how long did it take to calculate this simulation? And on which processor?
https://youtu.be/elZieJNBYqk?t=160
from splishsplash.
I think the simulation took a few hours on two Xeon processors.
However, you cannot compare FLIP particles with SPH particles. SPH solves the Navier-Stokes equations on the particle discretization while FLIP solves it on a fixed grid and only uses the particles to transport the quantities. It is easy to simulate millions of FLIP particles even in real-time. Take a grid with just one cell and put all inside. However, this gives you no more details. So you should compare the number of cells with the number of SPH particles.
That said SPlisHSPlasH is typically not that slow. Did you build the library in "Release" mode? Does it run in parallel. Can you give me some simulation times?
from splishsplash.
Release Mode makes a huge difference here.
(with the second option you can still debug, set breakpoints etc.)
For example, simulating until t=0.01 in DamBreakModel.json took 12.573 s in Debug Mode and 0.584 s in Release With Debug Info Mode, so you get 21.5x speedup.
from splishsplash.
Related Issues (20)
- rigid-rigid contact
- Kinematic Viscosity for Weiler 2018
- A compile error and how to solve it HOT 2
- Water column loses volume without increase in density with WCSPH
- Installation does not work using instructions in docs
- Add arm64 Apple Mac M1 architecture to the build matrix
- Benchmarks using different CPUs, GPUs and RAM size.
- deformable solids attached to rigid bodies
- Adding a cff file for citation
- windows GUI interface is not stable HOT 5
- Get force and torque applied to rigid body by fluid
- Installing python bindings after building from source fails due to already existing "build" directory
- .bgeo output files not working with houdini or vray HOT 3
- About the boundary handling with MLS in DFSPH
- Defining a Big geometry in one file and want from splishsplash to recognize all the parts HOT 4
- Example on how to read rigid body bin files
- Windows CMake issue HOT 4
- Running splishsplash in DOS environment
- MySPH does not work in pySPlisHSPlasH HOT 2
- How to Change Phase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splishsplash.