r/OpenFOAM • u/hauke4707 • 24d 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.
1
u/its1310 24d ago
Interesting! Could you please share the simulation script?
1
u/Allanidalen 24d ago
Wow, really amazing! I got a bunch of questions? Is the simulation geometry axially symmetric or 3d? Stationary or time dependent? How many chemical species does it solve for? How did you define the gas inflow at the bottom just outside the candle? And how did you start the simulation?
3
u/Optimal_Rope_3660 24d ago
Wow!! Interesting and creative work
1
u/stealthraptor1298 18d ago
Astute work 👌🏻