Enable Graphical Applications | OpenFOAM in Windows 10 WSL

Поділитися
Вставка
  • Опубліковано 26 вер 2024
  • #OpenFOAM​ #CFD​ #ParaView​
    If paraFoam, foamMonitor & gedit like applications are not working in WSL Windows 10, follow this video tutorial.
    Commands available at: drive.google.c...
    OpenFOAM installation part 1: • Install OpenFOAM: Part... ​
    OpenFOAM installation part 2: • Install OpenFOAM: Part... ​
    Download presentation and materials from the Telegram channel.
    Join Telegram channel: t.me/DDFluids​​​​
    Join UA-cam channel: DD Fluids
    Join me on Linkedin: / divyeshvariya
    Join me on Twitter: / divyeshvariya​

КОМЕНТАРІ • 23

  • @shivakarthikeya137
    @shivakarthikeya137 3 роки тому +1

    Hello Sir. After I type both the "echo" commands and restart the Windows terminal, the following line is displayed on the top of the page "/home/karthikeya_sk/.zshrc:120: command not found: 49.205.72.130:0". Could you please tell why is this happening?

    • @DDFluids
      @DDFluids  3 роки тому +1

      Open both files in notepad and remove last line. Only command line which we have added should be last.

    • @shivakarthikeya137
      @shivakarthikeya137 3 роки тому +1

      @@DDFluids Thank you, Sir. Worked successfully.

  • @sergiomarinoviafaragarcia422

    thanks a lot, you work is amazing, keep going forward, best regards froms Chile

  • @jay22kar
    @jay22kar 3 роки тому +2

    Hello, after entering both commands & then restarting terminal.. I am getting message -
    Traceback (most recent call last):
    File "/usr/lib/command-not-found", line 28, in
    from CommandNotFound import CommandNotFound
    File "/usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py", line 19, in
    from CommandNotFound.db.db import SqliteDatabase
    File "/usr/lib/python3/dist-packages/CommandNotFound/db/db.py", line 5, in
    import apt_pkg
    ImportError: /home/jay22kar/OpenFOAM/ThirdParty-v2006/platforms/linux64/gcc-6.3.0/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
    Is it something to worry? Is something missing? :(

    • @DDFluids
      @DDFluids  3 роки тому

      Can you run any tutorial case and check whether it is giving any error or not?

  • @eshukrishnamishra8073
    @eshukrishnamishra8073 3 роки тому +2

    Hello Divyesh,
    After executing all commands and removing the last line in both .zshrc and .bashrc files. Still, the "gedit &" is not working and no window is opening as shown in the video.After typing, "gedit &" I am getting:-
    Unable to init server: Could not connect: Connection refused  ✔  
    (gedit:3447): Gtk-WARNING **: 23:02:01.876: cannot open display:
    Can you help me out with this?

  • @shubhanshurai3323
    @shubhanshurai3323 3 роки тому +1

    Hello, I am getting following error, while using the command "gedit &"
    "(gedit:1167): Gtk-WARNING **: 16:20:29.595: cannot open display: 172.16.100.3"
    I also tried to follow the instruction that is given in text document, in case of error but that also is not working out.

    • @shamjadtemp9268
      @shamjadtemp9268 3 роки тому +2

      Use the command "export DISPLAY=:0" before "gedit &"

    • @omarbakelli455
      @omarbakelli455 3 роки тому

      I got the same issue, please advise

    • @ME_OM
      @ME_OM 2 роки тому

      Unable to init server: Could not connect: Connection refused  ✔  
      (gedit:863): Gtk-WARNING **: 19:17:16.177: cannot open display: :0

  • @francootaola9172
    @francootaola9172 3 роки тому +1

    in 4:13 you get an error. it will go away with sudo apt-get update and sudo apt-get upgrade :)

    • @DDFluids
      @DDFluids  3 роки тому

      Thanks

    • @francootaola9172
      @francootaola9172 3 роки тому

      @@DDFluids with pleasure! Wslg is comming this year and we will. Not need these extra steps! 😊. Also I recommend you notepad++ for openfoam in windows. Also another thing I have done is to configure windows so the files without extensions opens directly with notepad++ this is a life changer!. And also with shift +right click in a folder you can open Linux shell in that folder. (you can edit the registry to show with right click too)

    • @jeromepowelltoecrum6044
      @jeromepowelltoecrum6044 Рік тому

      @@francootaola9172 how did you change the notepad++ thingy? and the shift right click method= :)

  • @MrRevancheRay
    @MrRevancheRay 2 роки тому

    Thanks, this command helped:
    notepad.exe ~/.zshrc
    Modify "export DISPLAY=X.X.X.X:0" line as shown below,
    export DISPLAY=0:0

  • @nizamuddinabdulazizthottol6030
    @nizamuddinabdulazizthottol6030 2 роки тому

    sir , Please help me with this
    ~/OpenFOAM/nizam-v2012/run ❯ cd CHT
    cd: no such file or directory: CHT

  • @satyanarayanavenkat3140
    @satyanarayanavenkat3140 Рік тому

    Hi Divyesh, youre doing a great job by sharing your insights on using OpenFoam with such detailed explanations. I'm getting the following error after gedit & and trying all the solutions you've provided in the drive link: Unable to init server: Could not connect: Connection refused ≡
    (gedit:11193): Gtk-WARNING **: 10:40:07.953: cannot open display: 0:0
    [1] + 11193 exit 1 gedit