Skip to content
Advertisement

Tag: openfoam

Environment variable error while trying to create a solver in OpenFOAM 9

I’m trying to create a solver in my /opt/OpenFOAM/OpenFOAM-9/applications/solvers/electromagnetics directory using sudo foamNewSource App newSolver. But, I keep getting the following error: And then, although I can see a newSolver.C file, I cannot see a Make directory and neither the rest of the files. I’m running EndeavourOS Linux x86_64 with kernel 5.15.6-arch2-1 and shell bash 5.1.12. I installed the openfoam-org

Advertisement