CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Recompile a solver (

fightingfalcon23 October 21, 2009 12:08

Recompile a solver
Hi foamers,
I know itīs a ridiculous question:

I modified the the solver icoFoam to work with adjustTimeStep. Know I donīt know, how to recompile my OpenFoam. The solver has the path:
For installing OpenFoam i used a debian package.

For the changes on the solver, I used the following instructions:

Thanks for reading

fightingfalcon23 October 26, 2009 06:29

OK, here some more detailed infomation:

I get the message, that permission is denied, when I want to use wmake. When I try "sudo wmake", I get the message "command not found".

How can I solve this problem?

Thnaks for reading

AureliaV October 26, 2009 08:24

first you should not make any change in OpenFOAM-1.x !
copy the solver in you own working directory: yourname-1.x/applications
and add _USER_ in the make/files
now wmake should not complain


fightingfalcon23 October 26, 2009 09:47

Thanks AureliaV for your answer. I cogitated about that way, but i was afraid of kiling my installation.

fightingfalcon23 October 26, 2009 10:08

It works!!! Thanks a lot!

All times are GMT -4. The time now is 10:09.