|
[Sponsors] |
September 27, 2013, 04:40 |
how to delete my own solver
|
#1 |
New Member
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 12 |
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 |
|
September 27, 2013, 10:21 |
|
#2 |
Member
Join Date: Jul 2011
Posts: 54
Rep Power: 14 |
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.
|
|
September 29, 2013, 08:13 |
|
#3 |
New Member
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 12 |
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 |
|
September 29, 2013, 08:39 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
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. |
|
September 29, 2013, 09:15 |
|
#5 |
New Member
Hao Wang
Join Date: Aug 2013
Posts: 14
Rep Power: 12 |
OMG! I should remember that. Now deleted. Thanks!
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluent Adjoint Solver? | ex10148 | FLUENT | 16 | September 28, 2018 08:11 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
Divergence problem | Smaras | FLUENT | 13 | February 21, 2013 05:03 |
3d vof | Smaras | FLUENT | 2 | February 19, 2013 06:58 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |