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

how to delete my own solver

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 27, 2013, 04:40
Cool how to delete my own solver
  #1
Hao
New Member
 
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 3
Hao is on a distinguished road
Dear all,

I have installed OF 221 at /opt, and later on I create my own solver my_icoFoam which only can be down as I logined as root. Because it just a practise, I want to delete this solver but couldn't. Anyone can give me a hand?

Now the executable locate at /opt/openfoam221/platforms/linux64GccDPOpt/bin.

regards,
Hao
Hao is offline   Reply With Quote

Old   September 27, 2013, 10:21
Default
  #2
Member
 
Join Date: Jul 2011
Posts: 33
Rep Power: 6
A_Pete is on a distinguished road
If you created your own solver and added a new entry in Make/files then you should just go to the parent directory of the "Make" folder and execute "wclean". If there are other executables in "Make/files" then you can remove the entry of your solver from "Make/files" and execute "wmake" again. Then all executables for all the solvers but your own should be generated again. After that you can just remove your .O and .H files.
A_Pete is offline   Reply With Quote

Old   September 29, 2013, 08:13
Default
  #3
Hao
New Member
 
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 3
Hao is on a distinguished road
Hi Pete,

Thank you for your reply. I went to the directory of my_icoFoam in which there is a Make folder and run wclean but the executable still remain in /opt/openfoam221/platforms/linux64GccDPOpt/bin.

regards,
Hao
Hao is offline   Reply With Quote

Old   September 29, 2013, 08:39
Default
  #4
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
Use "sudo". You cannot remove files located in /opt as a regular user.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   September 29, 2013, 09:15
Default
  #5
Hao
New Member
 
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 3
Hao is on a distinguished road
OMG! I should remember that. Now deleted. Thanks!
Hao 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
Fluent Adjoint Solver? ex10148 FLUENT 15 July 21, 2015 01:13
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 13:20.