CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Mesh Generation & Pre-Processing (https://www.cfd-online.com/Forums/mesh-generation/)
-   -   Producing Finer Mesh for Flow Over a Cylinder (https://www.cfd-online.com/Forums/mesh-generation/212221-producing-finer-mesh-flow-over-cylinder.html)

Mr.Hz November 28, 2018 13:06

Producing Finer Mesh for Flow Over a Cylinder
 
2 Attachment(s)
Recently I tried the tutorial for Flow over a cylinder in openFoam. Running the tutorial case itself is not a problem. I tried to create a finer mesh from the same case. blockMesh runs perfectly fine and paraView can be executed. The problem lies when I want to see the mesh it produces. As I clicked apply in paraView, it would crash and produce an error message below


--> FOAM FATAL IO ERROR:
Expected a '(' while reading VectorSpace<Form, Cmpt, Ncmpts>, found on line 9222 the punctuation token ')'

file: /home/hzkl/OpenFOAM/hzkl-6/run/icofoam/c3/0/U at line 9222.

From function Foam::Istream& Foam::Istream::readBegin(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 92.

FOAM exiting

Segmentation fault (core dumped)




The error message shown above appeared and thus lead me to this forum.


I am new in the CFD world and have tried resolving this issue on my own. I've asked the forum in discord and have find no solution.
I am sorry if the question seems trivial, but I am desperate for an answer


Attachment 66997

Attachment 66998




Attached is my blockMeshdict file for this case and the error message I got.

lukasf March 1, 2019 04:07

Hi Mr. Hz,


I have not looked at your blockMesh.


The error message tells you that there is a Problem with your velocity field U in the 0-time folder of you case.



On line 9222 in this document you seem to have forgotten a bracket.


If you load paraview and no Volume fields you would be able to see you mesh (if there is no error in your mesh).


If there is an error it will be then lead to a new message.


All times are GMT -4. The time now is 03:48.