CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] BlockMeshdict error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2020, 01:27
Post BlockMeshdict error
  #1
New Member
 
Prashant
Join Date: Sep 2019
Posts: 6
Rep Power: 2
Pacificdubey is on a distinguished road
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}

convertToMeters 1;

vertices
(
(0 0 0)
(0 9.998477e-03 -1.745241e-04)
(0 9.998477e-03 1.745241e-04)
(2.100000e+00 0 0)
(2.100000e+00 9.998477e-03 -1.745241e-04)
(2.100000e+00 9.998477e-03 1.745241e-04)
);

blocks
(

hex(0 1 2 0 3 4 5 3) (50 1 300) simpleGrading(0.2 1 10)
);

edges
(

arc 1 2 (0 100 0)
arc 4 5 (1 100 0)
);

boundary
(
axis
{
type empty;
faces
(
(0 3 3 0)
);
}

inlet
{
type patch;
faces
(
(0 0 2 1)
);
}

wall
{
type wall;
faces
(
(2 5 4 1)
);
}

outlet
{
type patch;
faces
(
(3 4 5 3)
);
}

front
{
type wedge;
faces
(
(0 3 5 2)
);
}

back
{
type wedge;
faces
(
(0 1 4 3)
);
}
);

mergePatchPairs
(
);
I dont what wrong here ,but i'm getting error which i dont know why??
--> FOAM FATAL IO ERROR:
wrong token type - expected word, found on line 48 the punctuation token '('

file: /home/pacific/OpenFOAM/pacific-7/run/pipeflow/system/blockMeshDict.faces at line 48.

From function Foam::Istream& Foam:perator>>(Foam::Istream&, Foam::word&)
in file primitives/strings/word/wordIO.C at line 74.

FOAM exiting
Pacificdubey is offline   Reply With Quote

Old   February 8, 2020, 14:31
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 337
Rep Power: 8
simrego is on a distinguished road
Hi!


I just reshaped a bit. I think there are some missing spaces. For me it is working perfectly now.
Attached Files
File Type: zip blockMeshDict.zip (630 Bytes, 0 views)
simrego is offline   Reply With Quote

Reply

Tags
blockmeshdict, blockmeshdict block mesh, meshing, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 10:06.