# CFD Simulations - OpenFOAM to Unreal Engine

**URL:** <https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, fluid, dynamic, simulation\
**Created:** [September 20, 2023, 1:19pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888 "2023-09-20T13:19:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CROSE48](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/crose48/32/778864_2.png) [@CROSE48](https://forums.unrealengine.com/u/CROSE48)\
**Post date:** [September 20, 2023, 1:19pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/1 "2023-09-20T13:19:58Z")

</div>

Hi,

I’m looking at the possiblities to export CFD simulations from OpenFOAM software into Unreal Engine.  
I understand as of UE 5.3 it now supports OpenVDB file format but I don’t think it’s possible to export / save to .VDB from OpenFOAM.

Does anyone have an experience or knowledge in doing this?

Thanks in advanced!

---

<div class="post-metadata">

**Author:** ![mahdsboodhoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mahdsboodhoo](https://forums.unrealengine.com/u/mahdsboodhoo)\
**Post date:** [October 10, 2023, 4:44pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/2 "2023-10-10T16:44:57Z")

</div>

Hello, i’m looking for the same thing. Did you find a solution?

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [November 9, 2023, 10:59pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/3 "2023-11-09T22:59:49Z")

</div>

Try to use Paraview.

It can import OpenFOAM and Ansys contents. For VDB side, there is a volumetric rendering support and some talks about its forum.

On the other hand, you can export USDZ file and import it to UE.

Personally I prefer USDZ because current UE VDB implementation doesn’t support runtime import and this prevent product creation.

---

<div class="post-metadata">

**Author:** ![CROSE48](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/crose48/32/778864_2.png) [@CROSE48](https://forums.unrealengine.com/u/CROSE48)\
**Post date:** [November 23, 2023, 12:03pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/4 "2023-11-23T12:03:32Z")

</div>

Thanks I’ll give this a go

---

<div class="post-metadata">

**Author:** ![beginagian](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beginagian](https://forums.unrealengine.com/u/beginagian)\
**Post date:** [June 15, 2024, 5:21am UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/5 "2024-06-15T05:21:17Z")

</div>

Hello! I’ve encountered the same issue. Do you find the solution? Could you provide me with some ideas?

---

<div class="post-metadata">

**Author:** ![eray\_ozr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@eray\_ozr](https://forums.unrealengine.com/u/eray_ozr)\
**Post date:** [June 21, 2024, 9:51pm UTC](https://forums.unrealengine.com/t/cfd-simulations-openfoam-to-unreal-engine/1304888/6 "2024-06-21T21:51:39Z")

</div>

There is no out of the box solution for that.

- Use ParaView to convert OpenFoam based volume data to VDB and import it to UE in editor (doesn’t work on runtime)

- Use ParaView to convert OpenFoam based volume data to USDZ. You can import it on runtime but you have to use source code version of UE5 because you need to force enable something which I don’t remember in .target.cs and it works only with source code version.

- On the other hand, you can try to export all particle locations and re-create them with Niagara or even you can try ray marching but there is no tutorial about these and they will be extremely hard operations to do.
