Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum Solver unavailable

  • Solver unavailable

    Posted by Harshavardhan Konka on December 27, 2022 at 10:48 pm

    hi ,

    When i try to run icoFoam for the cavity case, i am geeting an error that icoFoam is not found. How to overcome this issue ?

     

     

    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/cavity$ icoFoam
    Command ‘icoFoam’ not found, but can be installed with:
    sudo apt install openfoam
    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/cavity$ gedit system/controlDict
    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/cavity$ icoFoam
    Command ‘icoFoam’ not found, but can be installed with:
    sudo apt install openfoam
    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/cavity$ sudo apt install icoFoam
    [sudo] password for hk3956:
    Sorry, try again.
    [sudo] password for hk3956:
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    E: Unable to locate package icoFoam
    hk3956@hk3956-VirtualBox:~/OpenFOAM/hk3956-v2206/run/cavity$

    Barış Bicer replied 1 year, 5 months ago 2 Members · 4 Replies
  • 4 Replies
  • Barış Bicer

    Moderator
    December 28, 2022 at 8:17 am

    Hi Konka,

    there are 2 reasons for this error :

    1.  You maybe couldnt install openfoam properly?
    2. or if you installed correctly then you didnt source the current installation before the run icoFoam.

    let me know it.

    Best

  • Harshavardhan Konka

    Member
    January 2, 2023 at 4:34 am

    Hi baris,

    Not sure what is the proble. I restarted ubuntu andfixed the error.

  • Barış Bicer

    Moderator
    January 2, 2023 at 8:34 am

    Then thats great…

  • Barış Bicer

    Moderator
    January 2, 2023 at 8:34 am

    Then thats great…

Log in to reply.

error: Content is protected !!