|
[Sponsors] |
August 5, 2020, 07:48 |
blockMesh ERROR
|
#1 |
New Member
Alessio
Join Date: Aug 2020
Posts: 1
Rep Power: 0 |
hello everyone,
I have just installed OpenFOAM on my laptor running UBUNTU 20.04, I have tried to run a tutorial as a test, to see if everything is working but once I selected the ShockTube folder that I have previously copied on my desktop, I tried to generate a mesh using the command 'blockMesh' but it returns the following error: FOAM FATAL ERROR : Could not find mandatory etc entry (mode=ugo) 'controlDict' I have checked and the controlDict file is in the right folder "system". Does someone have a solution? Thank you. Alessio |
|
August 5, 2020, 19:09 |
|
#2 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Hi Alessio,
make sure that the file header of controlDict is properly set up like this: Code:
FoamFile { version 2.0; format ascii; class dictionary; object controlDict; location "system"; } Do other tutorial cases work properly? |
|
April 21, 2022, 13:43 |
|
#3 | |
New Member
HY
Join Date: Apr 2022
Posts: 1
Rep Power: 0 |
Hi, Probably something wrong with your .bashrc file.
source home/username/OpenFOAM/OpenFOAM-v2012/etc/bashrc. Quote:
|
||
Tags |
blockmesh, controldict, running first simulation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
[swak4Foam] groovyBC: problems compiling: "flex: not found" and "undefined reference to ..." | sega | OpenFOAM Community Contributions | 12 | February 17, 2010 10:30 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |