|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
PATRICIA NAKANWAGI
Join Date: May 2017
Posts: 47
Rep Power: 10 ![]() |
Greetings,
I am a new OpenFOAM user, using OpenFOAM 2.4.0, When I try to execute the command fluentMeshToFoam elbow.msh, i get feedback that command not found. How can I rectify this? Also, everytime I open a new terminal, there's "bash: /home/tflows/ .bashrc: line 119: syntax error: unexpected end of file" What does it mean and how can I rectify it? Thank you PATRICIA |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
Hi Patricia,
the problem is that you FOAM environment is not setup correctly. Therefore I think you installed FOAM and not compiled it. Therefore you have to load the bashrc from the /opt/openfoam.../etc/bashrc into your shell. However, you problem is not related to openfoam directly. It is more Linux/Unix stuff. The error you got if you open a terminal let you know that you made some mistakes in you local .bashrc. Open it and resolve the problem and put the correct path to the openfoam environment. To make things clear: Code:
cd $HOME vim .bashrc Code:
echo "alias fo240=\"/opt/OpenFOAM-2.4.0/etc/bashrc\" >> $HOME/.bashrc Code:
fo240 Code:
checkMesh
__________________
Keep foaming, Tobias Holzmann Last edited by Tobi; May 10, 2017 at 10:24. Reason: I made a big mistake. Thanks to bruno for informing me |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
| OpenFOAM Foundation releases OpenFOAM® 3.0.0 | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 1 | November 7, 2015 16:16 |
| OpenFOAM Foundation Releases OpenFOAM v2.3.0 | opencfd | OpenFOAM Announcements from OpenFOAM Foundation | 3 | December 23, 2014 04:43 |
| Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
| 64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |