CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Recompile a solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2009, 13:08
Default Recompile a solver
  #1
Member
 
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17
fightingfalcon23 is on a distinguished road
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:
/usr/lib/OpenFOAM-1.5/applications/solvers/incompressible/icoFoam$
For installing OpenFoam i used a debian package.

For the changes on the solver, I used the following instructions:
http://www.idurun.com/?p=371

Thanks for reading
Sebastian
fightingfalcon23 is offline   Reply With Quote

Old   October 26, 2009, 06:29
Default
  #2
Member
 
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17
fightingfalcon23 is on a distinguished road
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
ff23
fightingfalcon23 is offline   Reply With Quote

Old   October 26, 2009, 08:24
Default
  #3
New Member
 
Aurelia Vallier
Join Date: Sep 2009
Posts: 8
Rep Power: 16
AureliaV is on a distinguished road
hi
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

aurelia
AureliaV is offline   Reply With Quote

Old   October 26, 2009, 09:47
Default
  #4
Member
 
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17
fightingfalcon23 is on a distinguished road
Thanks AureliaV for your answer. I cogitated about that way, but i was afraid of kiling my installation.
fightingfalcon23 is offline   Reply With Quote

Old   October 26, 2009, 10:08
Default
  #5
Member
 
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 17
fightingfalcon23 is on a distinguished road
It works!!! Thanks a lot!
fightingfalcon23 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 2, 2003 00:32
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 17:25
Error during Solver cfd guy CFX 4 May 8, 2001 07:04


All times are GMT -4. The time now is 08:42.