nextfoam/nextfoam-cfd — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a free open source CFD solver package for Ubuntu, based on OpenFOAM, for people who need to run aerodynamic and heat transfer simulations. It should compile from source and set up cleanly under /opt/OpenFOAM with a NextFOAM 2602 source area and a third party build area.

I want the user experience to be simple. Install the needed tools, build OpenMPI if it is not already there, compile everything, then source one bashrc file and run the solvers.

Include the steady and unsteady compressible solvers named TSLAeroFoam and UTSLAeroFOAM, with sliding mesh support for the unsteady one. Add a Fluent mesh converter that can handle .cas and .msh files for multi region meshes.

Please include the README features around species solving, porous media, mass diffusion, pressure and velocity coupling, density interpolation, turbulence production, CHT convergence, MRF, and time step handling. Keep it close to OpenFOAM conventions and include clear build instructions plus a small example case to verify it works.

Want more depth? Deep Reverse