blockMesh issue on openfoam6 startup - ubuntu 16.04
I have installed openfoam6 and
attempted the "getting started" code (from that site): Code:
cd $FOAM_RUN Code:
blockMesh Code:
:~/OpenFOAM/bjd-6/run/pitzDaily$ blockMesh Additional information. I tried Code:
which blockMesh Code:
bjd@brendan:~/OpenFOAM/bjd-6/run/pitzDaily$ which blockMesh Code:
ls -l /opt/openfoam6 Code:
bjd@brendan:~/OpenFOAM/bjd-6/run/pitzDaily$ ls -l /opt/openfoam6 |
Quick questions:
|
@wyldckat, I entered the commands you gave with the result of:
Code:
bjd@brendan:~$ echo $LD_LIBRARY_PATH Code:
OpenFOAM-v1812 |
Quick answer: Mmm... if "LD_LIBRARY_PATH" only mentions Netgen's path, then there are two possibilities:
|
Hi wyldckat,
my ~/.bashrc looks ok see below: Code:
# ~/.bashrc: executed by bash(1) for non-login shells. Code:
/opt/openfoam6/etc/bashrc Code:
#----------------------------------*-sh-*-------------------------------------- Best regards, Brendan |
Quick answer: Then this is very odd... it should have worked just fine.
OK, please try the following steps:
|
Hi wyldckat,
It worked! I needed to enter: Code:
source /opt/openfoam6/etc/bashrc Code:
bjd@brendan:~$ echo $LD_LIBRARY_PATH |
blockMesh - FOAM FATAL ERROR
I copied a $: / opt / openfoam7 / tutorial / stressAnalysis / solidDisplacmentFoam / plateHole $ cp -r plateHole / ~ / foam / edu-4.0 / run
In the new (working) file you have: : ~ foam / edu-4.0 / run / plateHole $ When I type "blockMesh" there is an error: : ~ foam / edu-4.0 / run / plateHole $ blockMesh ----> FOAM FATAL ERROR: Could not find mandatory etc entry (mode = ugo) 'controlDict' I tried to open other files like cavity and follow the same procedure above and it gives the same error. How to solve this problem? I've been at it for a week. Thank you. |
All times are GMT -4. The time now is 23:43. |