Houdini超强流体解算器研发Fluid Solver R&D

Houdini超强流体解算器研发Fluid Solver R&D

这是一个国外大神自主研发的houdini流体解算器hda。以下记录了他的研发过程。目前该插件免费使用,下载地址和安装方法请戳下方链接:

https://www.mattpuchala.com/pseudoaccelerated

Fluid Solver R&D I

These are a few examples using a fluid solver I’ve been developing.
It uses my own code library to work with volumes and solve all simulation steps. I need to spend more time implementing a sophisticated advection method as its simply single stage at the moment.
The “magic” step, removing divergence from a velocity grid, is the core of the solver. While I’ve implemented it in C++, I’ve also created a vex version for anyone who wants to learn more how it’s done. See the link below.
dropbox.com/sh/alzpvpjj84orvex/AABgiWeiISawGcRj0UILNICma?dl=0
谷歌翻译:这些是使用我一直在开发的流体求解器的几个例子。
它使用我自己的代码库来处理卷并解决所有模拟步骤。我需要花费更多的时间来实现复杂的平流方法,因为它目前只是单一阶段。
消除速度网格偏差的“神奇”步骤是求解器的核心。虽然我已经用C ++实现了它,但我还为想要了解更多内容的人创建了一个vex版本。请参阅以下链接。

Fluid Solver R&D II

This is an update on my fluid solver.
You can find the latest build here if you want to give it a try!
mattpuchala.com/pseudoaccelerated
Here are the changes and additions:
– MacCormack Advection Method
– Advection Trace Mode
– Multi-Grid Projection
– Fully Re-Written OpenCL Version
– Volume Based Collisions
– Box Blur For Diffusion Type Operations
– Viscosity
– Disturbance Force
– Native OpenVDB Support
– Fully Re-Written Sparse Volume Solver For Both C++ and OpenCL Versions
So the first major step was implementing MacCormack advection which corrects the advected fields resulting in sharper detail. It makes a huge difference. I also added a trace mode for back tracing which helps with accuracy.
Next, I implemented multi-grid projection which helps speed it up and converge easier.
Next, I decided to re-write everything in OpenCL to take advantage of the GPU. I chose OpenCL over Cuda because its device agnostic. (My poor MacBook does not have an Nvidia card)
Next, I added OpenVDB support, volume based collisions, box blur for diffusion type forces, viscosity, and disturbance for obvious reasons.
Then finally, once I had everything working, I re-wrote the whole thing again in order to implement a sparse volume solver. What this means is it only solves in areas where there is fluid.
谷歌翻译:这是我的流体解算器的更新。
如果你想尝试一下,你可以在这里找到最新的版本!
Matt普查啦.com/pseudo accelerated
以下是更改和补充:
– MacCormack平流方法
– 平流追踪模式
– 多网格投影
– 完全重写的OpenCL版本
– 基于卷的冲突
– 用于扩散型操作的盒子模糊
– 粘度
– 干扰力
– 原生OpenVDB支持
– 完全重写的C ++和OpenCL版本的稀疏卷解算器
因此,第一个主要步骤是实施MacCormack平流,该平流校正了平流场,从而产生更清晰的细节。它制造了巨大的差异。我还为追溯跟踪添加了跟踪模式,这有助于提高准确性。
接下来,我实现了多网格投影,有助于加快速度并更容易收敛。
接下来,我决定重新编写OpenCL中的所有内容以利用GPU。我选择OpenCL而不是Cuda,因为它与设备无关。 (我可怜的MacBook没有Nvidia卡)
接下来,我添加了OpenVDB支持,基于体积的碰撞,扩散型力的盒子模糊,粘度和干扰,原因很明显。
最后,一旦我完成了所有工作,我再次重写整个事情以实现稀疏体积解算器。这意味着它只能在有流体的区域解决。

Fluid Solver R&D III

This is an update of my sparse fluid solver. In this video I will give a general tour and cover the unique features associated with this kind of solver.
You can find the latest build here if you want to give it a try! Available for Houdini on Windows, macOS, and Linux.
mattpuchala.com/pseudoaccelerated
谷歌翻译:这是我的稀疏流体解算器的更新。在这个视频中,我将进行一般性的介绍,并介绍与这种解算器相关的独特功能。
如果你想尝试一下,你可以在这里找到最新的版本!适用于Windows,macOS和Linux上的Houdini。

Fluid Solver R&D IV

I have decided to release an official version of the solver! It is available for Houdini on Windows, macOS, and Linux. For the time being it will be free to use.
Vimeo might not be the best platform to post about updates, so to get started I recommend visiting my website linked below. There you can find new published builds, see change logs, etc.
mattpuchala.com/pseudoaccelerated
The PSEUDO Fluid Solver is a sparse, domainless, GPU accelerated fluid solver intended for creating volumetric simulations for computer graphics. Its key feature is the custom OpenCL sparse volume data structure. You can find memory efficiency and performance gains because the solver only simulates in areas with density and ignore empty space. This makes it particularly useful in simulations that have an irregular shapes like smoke trails. Despite the name, it is a fully featured fluid solver that includes all the basics like turbulence forces, combustion, collisions, etc.
This is a shorter video where I cover the changes I’ve made since the beta release which adds a few requested features and improvements. You can get a more detail breakdown of its functionality at the video linked below!
vimeo.com/302623968
*Note that this version does require an internet connection to grab a license key. There is an option for offline licensing as well. See the installation guide for details.
Feel free to reach out if you have any questions or encounter any problems!
谷歌翻译:我决定发布一个正式的求解器!它适用于Windows,macOS和Linux上的Houdini。目前它可以免费使用。
Vimeo可能不是发布更新的最佳平台,所以为了开始,我建议访问下面链接的我的网站。在那里,您可以找到新发布的版本,请参阅更改日志等。
Matt普查啦.com/pseudo accelerated
PSEUDO Fluid Solver是一种稀疏的无域GPU加速流体求解器,用于为计算机图形创建体积模拟。它的关键特性是自定义OpenCL稀疏卷数据结构。您可以找到内存效率和性能增益,因为求解器仅在具有密度的区域中模拟并忽略空白空间。这使得它在具有不规则形状(如烟雾痕迹)的模拟中特别有用。尽管有这个名字,但它是一个功能齐全的流体解算器,包括所有基础知识,如湍流力,燃烧,碰撞等。
这是一个较短的视频,其中我介绍了自测试版发布以来我所做的更改,这些更改添加了一些请求的功能和改进。您可以在下面链接的视频中详细了解其功能!
*请注意,此版本需要Internet连接才能获取许可证密钥。离线许可也有一个选项。有关详细信息,请参阅安装指南
如果您有任何疑问或遇到任何问题,请随时与我们联系!