CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Helyx OS] Helyx-OS - blockMesh command not found

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 04:37
Default Helyx-OS - blockMesh command not found
  #1
pft
New Member
 
Join Date: May 2016
Posts: 2
Rep Power: 0
pft is on a distinguished road
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
and I added the line:

HTML Code:
source /home/pietro/OpenFOAM/OpenFOAM-dev/etc/bashrc
but this didn't help.
I tried to paste this line to the HelyxOS script for generating the mesh, but did not help.


Any idea???
pft is offline   Reply With Quote

Old   May 18, 2016, 18:26
Default
  #2
New Member
 
Ed
Join Date: Sep 2015
Posts: 3
Rep Power: 10
edbarino is on a distinguished road
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).
edbarino is offline   Reply With Quote

Old   May 21, 2016, 05:57
Default
  #3
pft
New Member
 
Join Date: May 2016
Posts: 2
Rep Power: 0
pft is on a distinguished road
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.
pft is offline   Reply With Quote

Old   June 17, 2016, 05:06
Default
  #4
New Member
 
Patrick Kastner
Join Date: Apr 2016
Posts: 10
Rep Power: 10
kostnermo is on a distinguished road
I am facing the same issue.

Quote:
Originally Posted by edbarino View Post
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).
I tried your suggestion without any luck. Could you elaborate on that?
I also tried what is suggested here, which doesn't work either.

Any further suggestions?
kostnermo is offline   Reply With Quote

Old   July 6, 2016, 12:38
Default
  #5
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
chegdan will become famous soon enoughchegdan will become famous soon enough
@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
  1. A compatible version of OpenFOAM i.e. HELYX-OS 2.3.1 will use OpenFOAM 2.4.0. if you are trying to use openFOAM-dev, then you will have issues since there is a change int he turbulenceProperties definition and several other small changes. Make sure you have a compiled version.
  2. You will also need to have this version selected in the preferences inside HELYX-OS. You will just need to select the top level folder, meaning navigate to the OpenFOAM-2.4.0 folder only inside preferences.

This will then allow you to run meshing and solver applications in HELYX-OS.
chegdan is offline   Reply With Quote

Reply

Tags
blockmesh not found, helyx-os

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 46 March 6, 2022 13:21
OpenFOAM on cluster: version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie OpenFOAM 10 April 19, 2021 18:06
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 04:18
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
version GLIBCXX_3.4.9 and GLIBCXX_3.4.11 not found ovie Main CFD Forum 1 April 19, 2010 14:00


All times are GMT -4. The time now is 20:39.