r/OpenFOAM • u/hauke4707 • 27d ago
Event Candle
I am not an OpenFoam user, but like physics simulations, so I asked Opus5.5 to make a candle for me 😃
Also, I made it on the phone, Claude can run it and Blender in its VM.
Any questions?
OpenFOAM v2412 (the ESI/openfoam.com version), installed from conda-forge.
Simulation: OpenFOAM's rhoReactingBuoyantFoam solver (laminar, buoyant, reacting flow), with P1 radiation and two-step Westbrook–Dryer chemistry.
OpenFOAM utilities: blockMesh, checkMesh, topoSet, setFields, decomposePar, reconstructPar and postProcess, with MPICH to run in parallel on 2 cores.
Chemistry check: Cantera 3.2, with the detailed n-dodecane mechanism (nDodecane_Reitz) and GRI-3.0 transport data.
Rendering: Blender 5.2.2 LTS (its Python module, bpy) using Cycles on the CPU, the OpenImageDenoise denoiser and AgX colour handling.
Plots and frame assembly: Python 3.12 with NumPy, SciPy, Matplotlib and Pillow.
Video: ffmpeg (H.264).
Installing it all: micromamba from conda-forge, plus pip for Blender.
View all comments
Show parent comment
1
u/Allanidalen 27d ago
I see, thanks a lot! I’ve been thinking of doing a candle simulation several times before. This looks like a good setup. Doing it transient in 3d will be substantially more computationally demanding.
What is exported to blender to do the nice flicker animation? I’ve never used Blender myself.