CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to compile new solver from openFoam for win (https://www.cfd-online.com/Forums/openfoam-solving/185865-how-compile-new-solver-openfoam-win.html)

M.Fard April 4, 2017 07:58

How to compile new solver from openFoam for win
 
Hi,

I would like to compile new solver from win version of OpenFOAM but I can not. Also, I tried to compile default solver but I faced with error.

Please guide me in this case.

Best,

M.Fard April 4, 2017 08:00

Error in compilation of win version of OpenFOAM
 
Hi,

I would like to compile new solver from win version of OpenFOAM but I can not. Also, I tried to compile default solver but I faced with error.

Please guide me in this case.

Best,[/QUOTE]

khulekuka April 5, 2017 12:01

What is the error you are getting

Sent from my LG-H955 using CFD Online Forum mobile app

M.Fard April 5, 2017 13:30

Error in compilation of win version of OpenFOAM
 
Hi khulekuka,

I compiled one of the default solvers again. you can see the error as bellow:
---------------------------------------------------------------------------------
/opt/OpenFOAM/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude/faceZone.H:46:32: fatal error: primitiveFacePatch.H: No such file or directory
compilation terminated.
----------------------------------------------------------------------------------
I was wondering that how does my openFOAM work due to this error but it is working. I suppose that I do not how to compile???????????!!!!!!!!!!!

I am waiting for your opinion.

Best regards,
Mojtaba.

khulekuka April 5, 2017 13:54

Dou you have this file check your directories ....OpenFOAM-3.0.x/src/OpenFOAM/meshes/polyMesh/zones/faceZone/primitiveFacePatch.H
If not its just looking for that referenced file and its missing.

Sent from my LG-H955 using CFD Online Forum mobile app


All times are GMT -4. The time now is 07:30.