CFD Simulations - OpenFOAM to Unreal Engine

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.