|
[Sponsors] |
[OpenFOAM.org] OpenFOAMv11 installation (Sourcing bashrc file) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 5, 2024, 14:52 |
OpenFOAMv11 installation (Sourcing bashrc file)
|
#1 |
New Member
saumya
Join Date: Jan 2016
Posts: 3
Rep Power: 10 |
I am trying to install the OpenFOAM 11 version of thew software on my Windows server 22 OS through WSL. I followed the documentation based on the 4 steps mentioned here.
https://openfoam.org/download/source...g-environment/ While sourcing the bashrc file through my $HOME directory, I am getting the following errors as shown in the image attached. Do I need to make any changes in the User editable portion of the bashrc script? |
|
June 25, 2024, 07:08 |
|
#2 |
Senior Member
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13 |
The errors you're encountering, "command not found," indicate that the shell cannot locate the foamSource and foamParams commands. This typically happens when the source path in your .bashrc file isn't set correctly.
Here's how to troubleshoot the issue: * Verify source path: * Open the .bashrc file in your WSL $HOME directory (e.g., using nano or vi editor). * Look for lines containing source or .. These lines should specify the path to the OpenFOAM environment setup script. * Ensure the path points to the correct location of the script within your WSL installation. * Check environment variables: * Some OpenFOAM functionalities rely on environment variables specific to the Linux environment. * Consult the OpenFOAM documentation for any required environment variables and set them accordingly in your WSL terminal using the export command (e.g., export WM_PROJECT_DIR=/path/to/openfoam).
__________________
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD) https://howtooansys.blogspot.com/ |
|
Tags |
#openfoam installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Tabulated thermophysicalProperties library | chriss85 | OpenFOAM Community Contributions | 62 | October 2, 2022 04:50 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |