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

Recompile a solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 21, 2009, 12:08
Default Recompile a solver
  #1
Member
 
Sebastian
Join Date: Mar 2009
Location: Munich, Germany
Posts: 30
Rep Power: 8
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: 8
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: 7
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: 8
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: 8
fightingfalcon23 is on a distinguished road
It works!!! Thanks a lot!
fightingfalcon23 is offline   Reply With Quote

Reply

Thread Tools
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 On
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 14:08
compressible two phase flow in CFX4.4 youngan CFX 0 July 1, 2003 23:32
Setting a B.C using UserFortran in 4.3 tokai CFX 10 July 17, 2001 16:25
Error during Solver cfd guy CFX 4 May 8, 2001 06:04


All times are GMT -4. The time now is 00:33.