How to install OpenFOAM and run a simulation in Windows 10 in 2020 - tutorial

In this video you can learn, how you can install OpenFOAM in Windows 10 in 2020. A lot has changed since my last videos on installing, so here is the most recent update. I will also run a very short simulation to show you, that it really works.
This material is published under the creative commons license CC BY (Attribution). If you plan to use it, please acknowledge it.

Пікірлер: 338

  • @bryanwoode317
    @bryanwoode3173 жыл бұрын

    Thank you! Your tutorial was thorough, clear, and easy to follow. This helped me a lot!

  • @jbredy87
    @jbredy872 жыл бұрын

    I am starting with OpenFoam learning today. It's great to have you on KZread. Thank you for such a great video!! I will make sure to watch the rest of the tutorial videos.

  • @HarshRajAlwaysfree

    @HarshRajAlwaysfree

    2 жыл бұрын

    were you able to install im dying here

  • @AdelKnight1
    @AdelKnight13 жыл бұрын

    Thank you for this procedure it is generalized for different of OpenFOAM and Ubuntu versions. I used the Paraview and looks good.

  • @akshaykurade49
    @akshaykurade492 жыл бұрын

    Thankyou very much!❤️ I have watched multiple videos but only you kept it simple and compact 🤞🏽

  • @anthonymoschella859
    @anthonymoschella8594 жыл бұрын

    Great video! I got everything working without a hitch. Appreciate all your videos.

  • @hamzaa.8082
    @hamzaa.80824 жыл бұрын

    Thank you for the detailed explanation. Everything went as you explained.

  • @gustavoarmandogamarrahorna6569
    @gustavoarmandogamarrahorna65693 жыл бұрын

    Very thank you! Write from Peru, and learning how to use this powerful CFD program. I've been using ANSYS in the student version, but don't allow me to use so much cells. Wait to see more videos about it. Thanks again!

  • @rodrigocorralp7366

    @rodrigocorralp7366

    3 жыл бұрын

    Hola, te puedo contactar si tengo algún problema? Te escribo desde Mexico

  • @fawzanalfawzan1574
    @fawzanalfawzan15743 жыл бұрын

    Thank you very much for the well detailed tutorial.

  • @MatiasSimonelli
    @MatiasSimonelli3 жыл бұрын

    Great Tutorial, I have never used Ubuntu and your tutorial was simple and very noob friendly, thanks!

  • @gonzalopulido
    @gonzalopulido2 жыл бұрын

    Thanks! We are starting an OpenFOAM study group in Panama. First task: to install OF in Windows 10. Using your tutorial it was very easy. We are going to watch your other OF videos to keep going forward.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    Great! I hope the videos help. Extend the study group to a local user meeting one or twice a year! In Austria works well.

  • @xingangli9791
    @xingangli97914 жыл бұрын

    I really like your video. It helps a lot! Thank you!

  • @theludvigmaxis1
    @theludvigmaxis14 жыл бұрын

    Goodness you saved me. My thesis chair wanted me to get this program but I couldn't get it work from anywhere else online.

  • @shahrozkhan4683
    @shahrozkhan46834 жыл бұрын

    Thanks for the video! Will be waiting now how to run my first simulation. A free surface simulation on ship hull will be great. Cheers!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    There are several tutorials on first simulations on my channel.

  • @miguelangelampuerosuarez8985
    @miguelangelampuerosuarez89853 жыл бұрын

    Dear József, many thanks for sharing this video, it was very helpful for me! Thanks so much!!

  • @levelthree4699
    @levelthree46992 жыл бұрын

    Jozsef! Amazing video. I would like you to make more open foam videos like these. I'd recommend many people to subscribe your tutorial. Keep up the great work.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    Thank you!

  • @lilythecute8153
    @lilythecute81533 жыл бұрын

    Thank U so much, this video is very helpful for learning how to use OpenFOAM!!!

  • @andrebusch404
    @andrebusch4043 жыл бұрын

    Done. Thank you. The only thing that was not clear was that the copy command requires a [dot] at the end of the command line. Still, well done.

  • @deorasprabhudharwadkar8729
    @deorasprabhudharwadkar87294 жыл бұрын

    Excellent demo. Thank you.

  • @foamer2706
    @foamer27063 жыл бұрын

    I have tired both the offical's installaion method and yours. I think yours is much more concise.IT's very easy and fast.THANK U so much!!!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    I am glad!

  • @irvinolchondra2210
    @irvinolchondra22103 жыл бұрын

    Very clear presentation. This video really helps me. Thanks!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    I am glad.

  • @whistler_hongsam
    @whistler_hongsam3 жыл бұрын

    Really helpful video and thank you for your effort!

  • @luorisluo3634
    @luorisluo36342 жыл бұрын

    Thank you! This video truly helps me a lot! thanks, sincerely.

  • @nishamahmed7081
    @nishamahmed70813 жыл бұрын

    Very clear instructions. Thank you. :)

  • @jagadeeshmallela2952
    @jagadeeshmallela29523 жыл бұрын

    Thanks very much for such a detailed explanation

  • @BombermanOfComet
    @BombermanOfComet3 жыл бұрын

    Thank you for this well made tutorial

  • @eduardobratfischdominiquin5090
    @eduardobratfischdominiquin50904 жыл бұрын

    Thank you! You really helped me.

  • @thierrydaoud3458
    @thierrydaoud34582 жыл бұрын

    Thank you for this video. It was really helpful!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    I am glad.

  • @dr.zuhaibakram3926
    @dr.zuhaibakram39263 жыл бұрын

    Thank You József Nagy. I have learned how to install on Windows 10. I make a successful attempt.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Great!

  • @clecle2602
    @clecle26023 жыл бұрын

    Thank you very much, great video

  • @kelkelkasaurus653
    @kelkelkasaurus6533 жыл бұрын

    Worked perfectly, but two very important distinctions to make if you're a first time Linux user like me: 1. When navigating to the platforms/ [key smash] /bin folder, the [key smash] folder ends with "Opt" with a capital O, not "0pt" with a zero. Good news: typing it wrong doesn't break anything, it just means the install doesn't complete until you go back and type it properly. Seems like a simple mistake to avoid, but I was (ironically) too stressed out worrying about whether I'd accidentally ruin the install if I mistyped something that I didn't notice the lack of a characteristic zero slash. 2. The username in the /mnt/c/users/ file path is your Windows username where your downloads folder goes, whereas the username in the /home/ [username] /OpenFOAM file path is your Linux username. The man in the video uses the same username for both, so I didn't notice the difference at first (good news, again: nothing breaks if you use your Windows user name in the /home/ [username] /OpenFOAM file path, it just doesn't complete install properly so you can go back and try again just fine). This might also seem like a simple mistake to avoid, but thought I'd mention it. Before I notice that I did those two mistakes, my bash was returning messages like: "Command 'blockMesh' not found, but can be installed with: sudo apt install openfoam" at the end rather than showing the OpenFOAM header. "ls: cannot access 'OpenFOAM/OpenFOAM-v2012/platforms/linux64Gcc63DPInt320pt/bin/': No such file or directory" when I tried navigating to the [key smash] folder to troubleshoot "-bash: /home/Windows/OpenFOAM/OpenFOAM-v2012/etc/bashrc: No such file or directory" at the top of the bash window when I reopened it And yeah, now, the last two make sense now that I know what my mistakes were, but if you're a nervous first-time Linux user like me, they didn't make much sense in the moment.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Great way to figure out things yourself. You will like OpenFOAM, I am sure.

  • @rongmaoli5740
    @rongmaoli57403 жыл бұрын

    Very useful. Thank you very much !

  • @danniel9660
    @danniel96603 жыл бұрын

    Great vid, thank you very much!

  • @JARC99_
    @JARC99_3 жыл бұрын

    Thanks a lot it still works for the newest ubuntu and OpenFOAM versions :-)

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Great!

  • @BlackDoll0708
    @BlackDoll07084 жыл бұрын

    Thank you for this Video. Is there an easy option just to update the installed OpenFoam Version 1906 to the 1912 version? Thank you.

  • @CryDima
    @CryDima4 жыл бұрын

    Thank you József!

  • @user-rt7dy4qf3l
    @user-rt7dy4qf3l4 жыл бұрын

    Hi Jozsef, thanks for the video. It's explained amazingly. I had an issue on 18:00 when you run again ubuntu and after typing ls like you did, instead of openfoam it showed bashrc.save. Can you help me?

  • @AbhishekSingh-yh7ce
    @AbhishekSingh-yh7ce3 жыл бұрын

    Awesome video❤️❤️😍😍

  • @metinbastug653
    @metinbastug6533 жыл бұрын

    How do you display cases,mesh etc in Paraview? I can't seem to find the files I want to view in Paraview.

  • @arnoldquispehuarancca8285
    @arnoldquispehuarancca82853 жыл бұрын

    Did Work !! , thanks from Peru :)

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Great.

  • @maxdarner5672
    @maxdarner56723 жыл бұрын

    Great tutorial. I applaud you.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    I am glad I can help!

  • @IamReyAlejandro
    @IamReyAlejandro4 жыл бұрын

    For some reason none of my commands in the Ubuntu portion of the video are the same as his, I cannot get to the Users portion of the video

  • @krishnabiloni
    @krishnabiloni2 жыл бұрын

    this really helps to installed thanks sir

  • @vivianlen
    @vivianlen4 жыл бұрын

    Parabéns! Poderia me ajudar, neste erro que esta acontecendo? Não sei mais o que faço Everything works expect at the end when i put "source $HOME/.bashrc" it says .... No such file or directory .

  • @mith3700
    @mith37004 жыл бұрын

    Hello...I have installed OpenFOAM on windows (core i7) pc. But observed huge simulation time, hence I am planning to use GPU for OpenFOAM simulation.Any suggestions for OpenFOAM GPU toolbox?or any other options for faster simulation?

  • @basarhuzni4308
    @basarhuzni43082 жыл бұрын

    Working 100% thanks

  • @fdsfw1qrsadf
    @fdsfw1qrsadf4 жыл бұрын

    Thanks a lot!

  • @crisppyy_bacon3784
    @crisppyy_bacon37843 жыл бұрын

    Wow awesome video. I followed the directions on OpenFOAM website and they were not correct. But your instructions were spot on!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    I am glad it helped!

  • @crisppyy_bacon3784

    @crisppyy_bacon3784

    3 жыл бұрын

    @@OpenFOAMJozsefNagy however the one issue I have is that in ParaView I get an error that there are no timesteps for the pitzDaily.foam file

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    @@crisppyy_bacon3784 Do you use the Windows version of Paraview?

  • @rodrigocorralp7366
    @rodrigocorralp73663 жыл бұрын

    Thank you so much!

  • @x.y.8707
    @x.y.87073 жыл бұрын

    The tutorial works for my windows 10 home edition to install openfoam-v2012.

  • @1995costas
    @1995costas4 жыл бұрын

    hey guys.I have an issue here. Some Openfoam files do not appear on Windows. For example , in the very simple tutorials of elbow or shock tube, windows do not read (?) polymesh, anyway i cannot see those files. any help?

  • @vhunter924
    @vhunter9243 жыл бұрын

    Great! Thank you

  • @ChristianSchubert1
    @ChristianSchubert14 жыл бұрын

    Thanks for the video. I really appreciate your content. I do not know if you have already, since I skipped some parts of the video, but do you also mention the possibility to use visual studio code (which is a great text editor btw - if it is installed on windows, with the wsl extension) with "code ." or "code filename" directly? I think it would be a nice addition, which also makes the use of terminal editors completely unnecessary. Also (do not bother if you mentioned it) wsl2 should release soon (with Windows 10 2004), which should be a lot faster, especially for file operations, which should make the use of OpenFOAM a lot better. wsl2 can simply be upgraded from existing wsl1. Have a nice day!

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Thank you for your interesting inputs!

  • @007aha1
    @007aha14 жыл бұрын

    danke richtig gutes tutorial

  • @fahim110
    @fahim1103 жыл бұрын

    I have follow all and mansge to install openFoam. However, i do not know how to connect it with Paraview? Any help

  • @nalinisingh2662
    @nalinisingh26624 жыл бұрын

    sir dor my download command it is showing it cannot be accessed and no such files in directory. how to resolve this?

  • @piotrmecht2500
    @piotrmecht25004 жыл бұрын

    It is worth to mention that you can also edit .bashrc file to make various aliases for your commands, by adding another lines, like: alias notepad='/mnt/c/Program\ Files\ \(x86\)/Notepad++/notepad++.exe' so you can run your text editor/paraview/blender the linux way [notepad system/*]. I think there is a tutorial on this topic somewhere on this channel. Your linux files are hidden somewhere at (might depend on ubuntu version): C:\Users\WINDOWS_USERNAME\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState ootfs\home\LINUX_USERNAME I'd recommend adding this directory to your quick access menu

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Thank you for your input!

  • @francootaola9172

    @francootaola9172

    4 жыл бұрын

    could you expand a little bit more? what is various aliases?

  • @piotrmecht2500

    @piotrmecht2500

    4 жыл бұрын

    @@francootaola9172 normally, in order to run windows application from ubuntu console you would have to provide full path to proper exe file each time, which is not very comfortable: /mnt/c/fullPathToAppDirectory/myApp.exe myFile.stl (opens myFile.stl with myApp.exe) Alias is basically your command that can substitute i.e. very long command, with your custom name. In the example above I've introduced my notepad command, which runs notepad++. You define your aliases in .bashrc file

  • @mohamedtahaelbachirtahri2525
    @mohamedtahaelbachirtahri25254 жыл бұрын

    What is the different between this installation in 2020 and your installation in 2014?

  • @priyamsareen2566
    @priyamsareen25664 жыл бұрын

    thanks for uploading can you tell whether or not open foam can be used for gas flow simulation means knowing pressure and temperature at inlet and getting both at exit'

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Yes you can

  • @priyamsareen2566

    @priyamsareen2566

    4 жыл бұрын

    @@OpenFOAMJozsefNagy thanks sir but without knowing the velocity parameters .?

  • @huanzhang9502
    @huanzhang95023 жыл бұрын

    Thank you very much for your video! I want to know is there any difference between running in the windows and linux systems? such as running speed etc.?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Linux usually is a bit faster.

  • @huanzhang9502

    @huanzhang9502

    3 жыл бұрын

    @@OpenFOAMJozsefNagy Got it! Thank you so much!

  • @noon1858
    @noon18582 жыл бұрын

    Thank you som much =)

  • @rahuldate9773
    @rahuldate97734 жыл бұрын

    Hello sir, Allrun and Allclean command are not working in OpenFOAM install windows.

  • @khaledebraheem
    @khaledebraheem3 жыл бұрын

    Hi. Thank you very much for your effort. It really helps us to a great deal. I have questions? 1- I have no clue about any of those bash lines you are writing? Am I missing something? Should I go through something first? or are they just for specific reason? 2- Is it the same to work on windows? or is it still better to work on Ubuntu as a stand-alone system? Thank you.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    You just have to type it down once and that is it. This is Ubuntu in Window, so you don'T have to switch unless you prefer to do so.

  • @77347469
    @773474693 жыл бұрын

    Thanks for the precious information. I am curious about how to do this without internet connection. Can I do each and every step manually. For instance is it possible to download ubuntu application from windows market in another computer and setup in the one that does not have internet connection.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    I don't know contact the github account of microsoft and there is a forum for wsl.

  • @vardhan_jonnalagadda
    @vardhan_jonnalagadda3 жыл бұрын

    Thank you

  • @wiktorkawala6298
    @wiktorkawala62984 жыл бұрын

    Have you got any videos on how to open cases? I need to run an airfoil simulation and I have a case .tar.xz file. How do i do this in openfoam?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    First you have to extract it with tar xvf case.tar.xz

  • @abhijitpal7202
    @abhijitpal72024 жыл бұрын

    When I change the directory to subdirectory of simpleFoam like pitzDaily or airFoil2D it shows no such files or directory. But when I list the files in simpleFoam it shows pitzDaily or airFoil2D. Please Help

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Permission problems maybe?

  • @youngjinjeon4609
    @youngjinjeon46093 жыл бұрын

    You are amazing

  • @roibaruch462
    @roibaruch4622 жыл бұрын

    thank you very much for the video!! I followed your video but in the last step when trying to run the blockMesh command I came across this error: "Command 'blockMesh' not found, but can be installed with: sudo apt install OpenFOAM" what might seem to be the problem?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    I think sourcing didn't work.

  • @hieutentola5920
    @hieutentola59203 жыл бұрын

    Can you show me how to uninstall and delete all file of OpenFOAM in my Window 10.

  • @danielpineda2998
    @danielpineda29984 жыл бұрын

    Hello József, I am starting a project in OpenFOAM and for that i started looking fot the cietific guide but i cannot fin info about that, do you now where I can fin the scientific guide for OpenFOAM or specificly for interfoam

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    The documentation might help or the phd thesis of Henrik Rusche.

  • @Fulcrum-27
    @Fulcrum-272 жыл бұрын

    lol you're German :D ? but you could maybe add the additional information that, if someone uses another antivir except windows antivir (for example Avira or 360 TS), then you cannot use ubuntu until youve uninstalled it. but now it works for me. thanks again.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    I live in Austria. It works for me with Norton, so I am not sure what the problem with Avira is.

  • @eventhatsme
    @eventhatsme3 жыл бұрын

    Thank you for the update! It appears that the "export DISPLAY=:0" trick from your tips and tricks video is no longer working for displaying linux graphical content through XMing. Probably due to the change to WSL2? Any tips on how to resolve this?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    You may try the tool VcXsrc instead of XMing.

  • @eventhatsme

    @eventhatsme

    2 жыл бұрын

    @@OpenFOAMJozsefNagy VcXsrc did not work better than XMing, but adding these lines to ~/.bashrc did: export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0 export LIBGL_ALWAYS_INDIRECT=1

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    @@eventhatsme Great!

  • @merveakkus8070
    @merveakkus80704 жыл бұрын

    Hello sir, I did all the steps up to the 'explorer.exe .' part as you showed in the video. But when I type the command 'explorer.exe .', the file "C: \ Windows \ System32" opens and there are no files like " 0, 100, 200, ..., postProcessing, system" in this address. How can I fix this problem?

  • @sahilmahajan9018

    @sahilmahajan9018

    4 жыл бұрын

    Hello Merve. I have the same problem. Please let me know if you have found the solution for it. Thanks!

  • @merveakkus8070

    @merveakkus8070

    4 жыл бұрын

    Hi@@sahilmahajan9018, when I update my Windows 10, the problem fixed automatically. That is to say, the problem is related to operating system.

  • @damianofranchini1908
    @damianofranchini19083 жыл бұрын

    After the nano procedure 17:37, when I restart Ubuntu there is a line " -bash: /home/Utente/OpenFOAM/OpenFOAM-v2006/etc/bashrc: No such file or directory" ... so I can't find any BlockMesh or following the rest part of the video. I've tried with v2006 and Ubuntu 18.04

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Where is our installation locted? Use the your path instead.

  • @ashutoshsingh-et7vm
    @ashutoshsingh-et7vm4 жыл бұрын

    Sir will this procedure will remove my existing file and folders on window

  • @Robberbarron27

    @Robberbarron27

    3 жыл бұрын

    No, This version of ubuntu is run inside of windows. It is just like any other program.

  • @atxlax
    @atxlax4 жыл бұрын

    I installed the Ubuntu 20.24 LTS. When following video at 7:23 mark, I enter ls /mnt/c/Users and get a cannot read symbolic link...Permission denied message. Help?

  • @narayanlondhe6147

    @narayanlondhe6147

    4 жыл бұрын

    yeah same error with me !

  • @angrycutie9875

    @angrycutie9875

    4 жыл бұрын

    @@narayanlondhe6147 same with me too... or is it the problems it Ubuntu itself? but i dunno, can't figure anything..

  • @francootaola9172
    @francootaola91724 жыл бұрын

    Hello! First of all, thanks for your videos, you are one of the best source of knowledge of openFOAM! I really appreciate it! I have several questions regarding this video and other openfoam subjects: First thing, about this video I installed openfoam in W10 with your last video (before this one) and I found myself with some issues if I remember correctly, I could not find exactly the directory where the examples and openfoam was installed with the file explorer from windows. Also some files it didn’t allow me to copy files with the file explorer of windows (as if i have not the permissions), i was looking to do all the process of coping existing examples and organizing the files (we always need to erase part of the original examples…) with the windows explorer and not with command line of Ubuntu, is it possible? This is the “explorer.exe .” command line that you mention at minute 20?. Last time I finish installing it in a separate virtual machine, but if it is exactly the same functionality i would love to use it directly in windows. What is your opinion about? also, is it also possible to install it not in the main disk? For the other subject, I want to simulate incompressible laminar flow inside a cylinder with a periodic structures inside, similar to the structure in this publication www.sciencedirect.com/science/article/abs/pii/S0017931017355515 ,for the moment i want to simulate the RTD using the scalarTransportFoam and simpleFoam and thought about follow the tutorial of the TU Wein that I think you have contributed? No? well at least they mention you 😊 (the tutorials are great). But my issue is naming the different patches for the mesh, what path would you recommend me for this situation? As I came from a commercial software (star CCM+) and the meshing process with the defining condition was really simple I find lost in openfoam…. The CAD files I create myself, so if necessary I can export a surface mesh .stl, or a volumetric mesh .step or in separate surfaces,… that is not a problem. Best regards, and thanks a lot, as with your videos you allow a lot of us to at least be able to learn OF

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Maybe take a look at my multiphase simulation project here on YT first

  • @francootaola9172

    @francootaola9172

    4 жыл бұрын

    @@OpenFOAMJozsefNagy this one? kzread.info/dash/bejne/mY6TttOsgNrPiLw.html ? thanks i will have a look! sorry to bother, an extra question, is it possible to open the case you are working on paraview installed in windows directly for the console? to dont use the "touch sim.foam" and open it after in the file explorer. thanks

  • @jorgemolinagonzalez4492
    @jorgemolinagonzalez44923 жыл бұрын

    First of all, thanks for the amazing video. It helped me a lot in the installation process. I have a question, try running the command "paraFoam" to open paraview. However I get the following message: Invalid $ PV_PLUGIN_PATH and -plugin-path = not defined No supplementary ParaView / OpenFOAM reader modules Using builtin reader: paraFoam -vtk Created temporary 'test2.foam' / home / jorgeamg7 / OpenFOAM / OpenFOAM-v2006 / bin / paraFoam: 420: paraview: not found The way I installed paraview was that I downloaded it and installed it on windows C disk.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Then just start it by clicking it in Windows, not from the terminal.

  • @ahsan4076
    @ahsan40763 жыл бұрын

    what do u think is been installed or not

  • @rohamahi_0085
    @rohamahi_00854 жыл бұрын

    hello sir, when i type the command: cp -ar /mnt/c/Users//Downloads/OpenFOAM-v2006-windows10.tgz ., it shows no such file or directory, kindly help

  • @adils3778

    @adils3778

    4 жыл бұрын

    Idk, it's either a stupid dot at the end of the line, but I just extracted the folder to my disk and wrote cp -r destination+ a prefix $HOME "cp -r /mnt/c/Users//OpenFOAM $HOME

  • @mmss2658
    @mmss2658 Жыл бұрын

    Hi Jozsef, thanks for the video. I’m trying to compile a new solver in OpenFOAM installed in windows 10. However, I could not access to rootfs directory and it said that: -bash: cd: rootfs/: Permission denied I also tried to use chmod to change permission of rootfs directory and it did not work. How can we compile new solver in windows? The installed OF version is 2112 and ubuntu version is 20.04. Regards,

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    Жыл бұрын

    Try it at a location, where you have write and read privilege. You don't have to compile it as root. At least in the usual case.

  • @engineeringarts4509
    @engineeringarts45093 жыл бұрын

    hi József, I've been using both the ESI's OF (.com version) and the Openfoam Foundation's OF (.org version) on WSL for some time. I have two problems associated with the use of paraFoam in WSL that I still couldn't find a solution: 1. I couldn't use "paraFoam" or "paraFoam -builtin" (which has its own useful built-in functions) in the .com version, since paraview is not an dependence of OF. My trick is to switch into .org version when I need "paraFoam" where paraview has been originally integrated into OF. My question is: how to install / use paraFoam for .com version in WSL? (Indeed, the cfmesh is .com version attracts me sticking with it.) 2. Python calculator can be very useful in paraview. But, it looks even I use the .org version OF on WSL, I don't know why I can't use that. I tried to install a vanilla paraview on Windows, and use "touch a.foam" to open it in paraview. Python calculator works well. But, the point is that, paraview can't use "paraFoam" function meaning the loss of its powerful built-in function e.g. directly processing the decomposed parallel running results. Hope you can help on the above questions. If you can give a video about that, it could help lots of users on WSL.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Especially the recent versions of Paraview (=ParaFoam) need libraries, which are not available in the WSL versions of Ubuntu. Did you try VcXsrv instead of Xming as an X-server? I alway suggest to use the Windows version fo Paraview, when you run WSL.

  • @engineeringarts4509

    @engineeringarts4509

    3 жыл бұрын

    @@OpenFOAMJozsefNagy Thank you very much for your reply. I used Xming as X-server. Would it be different when using VcXsrv? Using Windows version of Paraview is good, but again my problem is it doesn't allow using paraFoam - meaning the loss of some powerful built-in functions. In fact, why I'd like to use paraFoam for processing decomposed results - because reconstructPar is really slow without parallel computing!! Any suggestion from you regarding the way to processing decomposed results in WSL??

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    @@engineeringarts4509 View your results in Paraview in decomposed mode instead of reconstructed mode. This works also in default paraview. You do not need parafoam

  • @hunky-dory2735
    @hunky-dory27353 жыл бұрын

    I'm at the 7:27 mark and I'm using the 20.04 version of Ubuntu, but I get after inputing ls /mnt/c/Users/ I don't get the jnagy/ in the window, instead I get patri. When I use patri(b/c jnagy does not exist) I get a list of all the files I have downloaded. It seems to be changing things b/c I cannot open the OpenFoam file

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    jnagy is my user, use yours.

  • @uttkarshsachan4063
    @uttkarshsachan40634 жыл бұрын

    What is the difference between OpenFOAM v7 from openfoam.org and this OpenFOAM v1912 from ESI? ...Because I have installed the first one in my WSL.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Different release authorities. Most of the models are the same, some differ. Check the release notes for more details.

  • @francootaola9172
    @francootaola91724 жыл бұрын

    i succesfully installed OF but when trying to use a blockMesh with calculations (#calc) i am having this error; i.ibb.co/ZNBtwt4/Captura.png any idea how to solve it? thanks

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Dear Franco, received your email, but I am answering you here, so maybe others can also learn about this. As you mentioned in your mail, the key here is to install the C++ compilers. If you want to run a command or solver where you compile some coded function, you need the compilers. You can install them in Ubuntu with sudo apt install build-essential

  • @mep1111
    @mep11114 жыл бұрын

    Hello Josef, great video. But I have one problem, Paraview is installed in Windows, so to view the files I need to transfer them from Ubunto to Windows, unfortunately most of the time this transfer freezes. This seems to be a common problem for Ubuntu, so could you give me some advice to solve this? Is there a way to access from the Paraview in windows to the Ubunto folder directly, without transfer? Or, can you explain how to install Paraview in Ubuntu?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Run the cases in your on your Windows file system under /mnt/c.

  • @mep1111

    @mep1111

    4 жыл бұрын

    ​@@OpenFOAMJozsefNagy Great idea, Correction: I was struggling with it but I managed to get it with the command: cd /mnt/c/Users Also I would like to plot residuals while the simulation is runnig, maybe that is even worth a video. I think it should be possible with gnuplot, but I am struggling with it. I wonder if this is related to the special way how Ubuntu is integrated into Windows 10.

  • @hirenjoshi2198
    @hirenjoshi21984 жыл бұрын

    When I am using ls command, it give me error: "cannot read symbolic link '/mnt/c/Documents and Settings': Permission denied". Do you know how to fix this.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    You cannot have spaces in Linux in the path names.

  • @holmes0025

    @holmes0025

    4 жыл бұрын

    I am also having the same problem, have no spaces

  • @firebolltt
    @firebolltt2 жыл бұрын

    I installed openfoam according to your instructions. There was no .tgz file so i followed openfoam website instructions. I assume I installed correctly. However when i try to run a tutorial case and run blockmesh command I get this error. "The parent directory does not allow write permission to the process, or one of the directories in "/usr/lib/openfoam/openfoam2106/tutorials/incompressible/simpleFoam/pitzDaily/constant/polyMesh" did not allow search (execute) permission. From bool Foam::mkDir(const Foam::fileName&, mode_t) in file POSIX.C at line 585." I could not find any solution. Can you help me?

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    Copy the tutorial folder "pitzDaily" to your $HOME.

  • @bravadoland2434
    @bravadoland24344 жыл бұрын

    Hi, please how do I locate the .exe file for the Ubuntu LTS? I cant seem to find the file location for the executable file.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    Should be in C:\Windows\System32

  • @denghongzhou3785
    @denghongzhou37853 жыл бұрын

    Hi, József, thanks for the great video. I have an error and cannot start Paraview by "paraview &" or "paraFoam" in Ubuntu terminal. Do you have an idea what may be the cause? Thank you.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    In wsl it is difficult. For now use the Windows version. Once WSLg is out this should be easier.

  • @denghongzhou3785

    @denghongzhou3785

    3 жыл бұрын

    @@OpenFOAMJozsefNagy thanks for the reply.

  • @alvaromaricio2242
    @alvaromaricio22423 жыл бұрын

    Hello, I've already installed OpenFOAM and write it bashrc, but I get this error: Command 'blockMesh' not found, but can be installed with, I know I have to change my directory, just no idea how to, any help? My OpenFOAM version is 2012 and it is in D:\Users\10\Documents\Maestria\CURSOS\OPENFOAM thanks! I'm very exciting for starting to learn this model

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    You access the Windows files via /mnt/d/Users/10/Documents/etc...

  • @alvaromaricio2242

    @alvaromaricio2242

    3 жыл бұрын

    @@OpenFOAMJozsefNagy thanks, it's working now

  • @stewiegriffin6388
    @stewiegriffin63884 жыл бұрын

    Im wondering is there any other way to download the ubuntu from the windows store? My windows store won't install or download anything and I still can't fix this error until today

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    4 жыл бұрын

    I guess you'd have to google it. Sorry.

  • @thangasivam

    @thangasivam

    4 жыл бұрын

    docs.microsoft.com/en-us/windows/wsl/install-manual

  • @pavansainarasimha6741
    @pavansainarasimha67413 жыл бұрын

    Hi József Nagy At 18:04 I am getting an error command "blockmesh" not found but can be installed with : sudo apt install OpenFoam. Please help me with this.

  • @harshkumar2882

    @harshkumar2882

    3 жыл бұрын

    same

  • @leobazin9478

    @leobazin9478

    3 жыл бұрын

    Same so I tried to enter this : "sudo apt install openfoam" But this error appears "E: unable to locate package openfoam". Did someone managed to solve this problem ?

  • @ubadekemerli

    @ubadekemerli

    3 жыл бұрын

    in the editor, use "source ~/OpenFOAM/OpenFOAM-v2012/etc/bashrc" don't write it in the extended way.

  • @TheBadpav
    @TheBadpav4 жыл бұрын

    I'm afraid I'm getting a strange error upon execution of the blockMesh command @18:58. It runs same as your example, but notes a permission error stating that write permission isn't allowed in the parent directory (see below) any idea what I might be screwing up here? polyMesh does not show up under $ ls in the constant directory -------------------------------------- Writing polyMesh with 0 cellZones --> FOAM FATAL ERROR: The parent directory does not allow write permission to the process, or one of the directories in "/home/paulv/OpenFOAM/OpenFOAM-v1912/tutorials/incompressible/simpleFoam/pitzDaily/constant/polyMesh" did not allow search (execute) permission. From function bool Foam::mkDir(const Foam::fileName&, mode_t) in file POSIX.C at line 585. FOAM exiting

  • @TheBadpav

    @TheBadpav

    4 жыл бұрын

    I copied the files to another directory and had success. I wonder why I couldn't write to that directory?

  • @ramgupta7697

    @ramgupta7697

    3 жыл бұрын

    Have you resolved the issue? Or is this issue necessary to resolve? Any kind of reply will be helpful. Thanks

  • @bhootmehra
    @bhootmehra3 жыл бұрын

    Hello M Nagy, thanks a lot, your video is really helpful. I was able to install and run few tutorials successfully, thanks to your video. However, after i restarted my PC and i tried doing some tutorials the error message came that openfoam is not installed and can be installed using "sudo apt install openfoam". But after executing this command, the installation could not go through and the error message came "unable to locate package OpenFoam". Thanks in advance for your help. Regards

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    Did you enter the one line into your bashrc and save it?

  • @bhootmehra

    @bhootmehra

    3 жыл бұрын

    @@OpenFOAMJozsefNagy yes, thank you. its working fine

  • @jorgearcos4808
    @jorgearcos48083 жыл бұрын

    Hello József. what about the minimal System requirements tx

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    2 жыл бұрын

    Difficult to say. Check the requirements for WSL.

  • @arun7425
    @arun7425 Жыл бұрын

    at 12.53 seconds , not able to get Thirdparty-v2012 (letest) , omly had OpenFOAM-v2012 , please guide how to get thirdparty their. thanks

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    Жыл бұрын

    There is a video on new versions.

  • @srikanthmalladi9791
    @srikanthmalladi97913 жыл бұрын

    Now how to open openFoam from this Ubuntu app? and how to start a simulation. No one really shows how to open it in any simulations

  • @thatsound7057
    @thatsound70573 жыл бұрын

    Hi Jozsef thank you for this video but I havean issue and don2T know waht to do. In 17:48 when I restart it says -bash: /home/DESKTOP-I5QHHC3/OpenFOAM/OpenFOAM-v2012/etc/bashrc: No such file or directoryy, how can I solve this? Thank you.

  • @OpenFOAMJozsefNagy

    @OpenFOAMJozsefNagy

    3 жыл бұрын

    What is the path to your OpenFOAM-v2012?

  • @thatsound7057

    @thatsound7057

    3 жыл бұрын

    @@OpenFOAMJozsefNagy Thank you for asking Jozsef. After couple hours of searching I found bluecfd and I think I solved the issue. Now I can open de paraview or tutorials.