OpenFOAM-extend 4.1 installation
Hi everyone
I have followed the instrucations on this page https://openfoamwiki.net/index.php/I...oam-extend-4.1 for the installation , but whenever I get to the source etc/bashrc line the terminal throws the errors listed below bash: /opt/foam-extend-4.1/bin/foamGetSystemInfo: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.1/etc/settings.sh: No such file or directory bash: /opt/foam-extend-4.1/etc/aliases.sh: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.1/bin/foamCleanPath: No such file or directory I have even tried looking on this forum https://www.cfd-online.com/Forums/op...u-18-04-a.html, but still have no luck. I then found this page https://pingpong.chalmers.se/public/...ml?language=en followed those instrucations and I still get the same errors. Can anyone please help me, and any other individual who is struggling with this. If it makes a difference I already have openFOAM v7 installed. I am fairly new to ubuntu and openfoam, so maybe I am misunderstanding something. Thanks in advance |
Depends on what you want. foam-extend and OpenFOAM-Foundation are not the same.
Might look at the links below for the foam-extend issue link, may be asking the installation question there might help? |
Thanks, tried looking around at the forums you recommended. I've had no luck so far.
The thing is I can even install Foam-extend 4.0 but even that was giving me the same error. I am busy doing a Udemy course and its focussed on materials as well as structure https://www.udemy.com/course/the-com...chanics/learn/ The instructor here uses Foam-extend 4.0, and I have even tried using his installation process(same as instructed on the site) but still got those errors. I will try installing 4.0 via the .deb package and see if anything differs. Thanks for the help. |
The solution was to basically move my foam-extend folder from ~\foam\foam-extend-4.1 to opt\foam-extend-4.1.
Basically use sudo mkdir foam-extend-4.1 in the opt folder, Then sudo chown (username)/opt/foam-extend-4.1 followed by mv ~/foam/foam-extend-4.1/* /opt/foam-extend-4.1/ This was suggested to me by someone on the openfoam discord server, it worked first time. Pity the installation instructions on the foam-extend page lead to something incorrect. |
Quote:
|
Quote:
|
Quote:
|
Quote:
I will get back to you with the steps, it'd quite late where I am and don't have my PC on me. But I'll respond once I wake in the morning with regards to the steps. For the most part though I executed the EXACT steps I typed above. The other thing you could do is access your bashrc file in your home directory and using a text editor of your choice create the bash alias in that file. Note this is a hidden text file so select the option to see hidden files and folders and look for the bashrc file. Then create the alias there. Else I will reply in about 12-14 hours with guided steps. |
Quote:
|
Quote:
If I copy only in opt folder then I get the following error: bash: /home/sad/foam/foam-extend-4.0/bin/foamGetSystemInfo: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /home/sad/foam/foam-extend-4.0/etc/settings.sh: No such file or directory bash: /home/sad/foam/foam-extend-4.0/etc/aliases.sh: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /home/sad/foam/foam-extend-4.0/bin/foamCleanPath: No such file or directory And if I save the folder in /home/sad then I get the following: bash: /opt/foam-extend-4.0/bin/foamGetSystemInfo: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.0/etc/settings.sh: No such file or directory bash: /opt/foam-extend-4.0/etc/aliases.sh: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory bash: /opt/foam-extend-4.0/bin/foamCleanPath: No such file or directory If I save copy in each folder and try to compile then my compilation works. I already added alias fe40='source /opt/foam-extend-4.0/etc/bashrc ' in my bashrc file. |
HI, I resolved the issue. I deleted both copies, restarted my system and downloaded the fresh copy in /opt folder. Now compilation is completed and alias--->fe40 is working perfectly.
I will now test some tutorials.. Thank you!!! |
All times are GMT -4. The time now is 11:33. |