CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   which edition of the solver does it choose to run? (https://www.cfd-online.com/Forums/openfoam-solving/144922-edition-solver-does-choose-run.html)

sharonyue November 24, 2014 06:17

which edition of the solver does it choose to run?
 
Hi guys,

I make a solver called "icoFoam" into FOAM_USER_APPBIN, however, there is also the original one called icoFoam in FOAM_APPBIN, the question is when I run icoFoam, which one is launched?

This is just a example, because I have my own solver which's name is the same with the original(it should not be actually,). the problem is when I delete this solver in FOAM_USER_APPBIN, the original solver in FOAM_APPBIN can not be launched either!! I dont know why. I mean, shouldn't it be launched either with the solver in FOAM_USER_APPBIN or in FOAM_APPBIN?

Thanks.

alexeym November 24, 2014 06:51

Hi,

you can ask your shell with

Code:

$ which icoFoam
the second part of the question: I guess it's a kind of PATH caching (you've got two executables with identical names, shell remembers the first one in the PATH variable, then you delete it, and shell still remembers deleted one), I usually solve this with terminal restart.


All times are GMT -4. The time now is 07:16.