|
[Sponsors] |
Help with tutorial 12 SnappyHexMesh OpenFOAM® Basic Training |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 29, 2021, 23:30 |
Help with tutorial 12 SnappyHexMesh OpenFOAM® Basic Training
|
#1 |
New Member
edgar africano
Join Date: Apr 2021
Posts: 3
Rep Power: 5 |
Hi. I have been trying to do the tutorial 12 (https://www.cfd.at/sites/default/fil...rialSeries.pdf) which is about SnappyHexMesh and running a simulation with this mesh. Running the simulation, the following error appaers:
-> FOAM FATAL IO ERROR: (openfoam-2012) "ill defined primitiveEntry starting at keyword 'internalField' on line 20 and ending at line 12278" file: /home/xxxxxxx/OpenFOAM/OpenFOAM-v2012/tutorials/basic/scalarTransportFoam/pitzDaily2/0/U at line 12278. From void Foam:rimitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&) in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 236. The tutorial says the following to modify the U file: - Update the U file in the 0 directory so that the velocity in the entire flange domain and at the boundaries is zero. I modify the U file like this: FoamFile { version 2.0; format ascii; class volVectorField; location "288"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField nonuniform List<vector> 12225 ( (9.85698 -0.886449 0) (9.66665 -0.740747 0) (9.45574 -0.429483 0) (9.22457 -0.222216 0) (9.00656 -0.106462 0) it keeps going......... ) boundaryField { flange_patch1 { type fixedValue; value uniform (0 0 0); } flange_patch2 { type fixedValue; value uniform (0 0 0); } flange_patch3 { type fixedValue; value uniform (0 0 0); } flange_patch4 { type fixedValue; value uniform (0 0 0); } } // ************************************************** *********************** // I am very new to OpenFOAM and I am not sure why it is the error source. I kindly ask to the community where it could be the mistake. Thank you |
|
April 30, 2021, 04:47 |
|
#2 |
New Member
Max
Join Date: Sep 2019
Posts: 8
Rep Power: 7 |
Hey,
just a quick look from me. I am not sure if there is an issue in the List but I did see that you are missing a ; after the internalFields, which may give the issue. internalField nonuniform List<vector> 12225 ( (9.85698 -0.886449 0) (9.66665 -0.740747 0) (9.45574 -0.429483 0) (9.22457 -0.222216 0) (9.00656 -0.106462 0) it keeps going......... ) ; |
|
Tags |
openfoam 2012, simulation won't run, snappyhexmesh, tutorial 12 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing using snappyhexmesh flange tutorial. | shahidkhan | OpenFOAM | 7 | January 20, 2020 05:04 |
OpenFOAM introductory training. Jul 16-20, 2018. Uni. Genova, Italy - Wolfdynamics | joegi.geo | OpenFOAM Announcements from Other Sources | 0 | April 26, 2018 11:35 |
2nd OpenFOAM® Training in Brazil - Sao Jose dos Campos | mjsdelemos | OpenFOAM Announcements from Other Sources | 7 | August 17, 2011 08:37 |
OpenFOAM® Training in Brazil - Sao Jose dos Campos | mjsdelemos | OpenFOAM Announcements from Other Sources | 0 | September 21, 2010 07:59 |
CFX basic training for a non-beginner | zebG | CFX | 3 | December 22, 2009 04:16 |