|
[Sponsors] |
[Helyx OS] Helyx-OS - blockMesh command not found |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2016, 05:37 |
Helyx-OS - blockMesh command not found
|
#1 |
New Member
Join Date: May 2016
Posts: 2
Rep Power: 0 |
Hi,
I recently installed Ubuntu 16.04 and OpenFoam 3.0.1 Helix-OS v2.3.1. When I try to create the mesh with HelyxOS, I get an error: "blockMesh command not found". I had a look at previous threads and tried everything, but without success. The OpenFoam installation tutorial I followed suggested to create an alias called "ofdev" in the personal .bashrc file, so I did it. The command blockMesh runs in the terminal, but only if I first call the alias "ofdev". However, when Helyx tries to create a mesh, it opens a new terminal and the same error reappears. I tried to fix the issue as following. I ran the command HTML Code:
sudo gedit .bashrc HTML Code:
source /home/pietro/OpenFOAM/OpenFOAM-dev/etc/bashrc I tried to paste this line to the HelyxOS script for generating the mesh, but did not help. Any idea??? |
|
May 18, 2016, 19:26 |
|
#2 |
New Member
Ed
Join Date: Sep 2015
Posts: 3
Rep Power: 11 |
Hi pft,
Have you sourced your ~/.bashrc after linking it to your /home/pietro/OpenFOAM/OpenFOAM-dev/etc/bashrc? If not, get to the point you were at before, then do this in your terminal. Code:
source ~/.bashrc Also, it's not necessary to edit your bashrc file as root (sudo) because it's in your personal user directory (~ = $HOME = /home/pietro/ are all synonyms by the way). |
|
May 21, 2016, 06:57 |
|
#3 |
New Member
Join Date: May 2016
Posts: 2
Rep Power: 0 |
Hi edbarino, thank you for the reply. I tried as you said, but with no luck.
If I navigate with the terminal to the analysis folder, then call the alias "ofdev" and run blockMesh, the command runs. I believe Helyx-OS opens a new terminal when running the mesh script, and the new terminal does not call the alias "ofdev" nor the "source ~/.bashrc" I am new to ubuntu, but this is my best guess. |
|
June 17, 2016, 06:06 |
|
#4 | |
New Member
Patrick Kastner
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
I am facing the same issue.
Quote:
I also tried what is suggested here, which doesn't work either. Any further suggestions? |
||
July 6, 2016, 13:38 |
|
#5 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
@pft
One of the nice things about HELYX-OS is that you do not need to change your .bashrc to source any OpenFOAM installation for HELYX-OS to work. You simply need to have
This will then allow you to run meshing and solver applications in HELYX-OS. |
|
Tags |
blockmesh not found, helyx-os |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
OpenFOAM on cluster: version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found | ovie | OpenFOAM | 10 | April 19, 2021 19:06 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found | ovie | Main CFD Forum | 1 | April 19, 2010 15:00 |