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

[blockMesh] Blockmesh for a wedge shaped geometry used for simulating flow in pipe(hp eqn)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 02:52
Exclamation Blockmesh for a wedge shaped geometry used for simulating flow in pipe(hp eqn)
  #1
New Member
 
Join Date: May 2021
Posts: 2
Rep Power: 0
kirankp is on a distinguished road
New to OpenFOAM
Please let me know why I'm getting this error

--> FOAM FATAL IO ERROR:
"ill defined primitiveEntry starting at keyword 'blocks' on line 30 and ending at line 92"

file: /home/cfdpopeye/OpenFOAM/cfdpopeye-8/run/cavity_week_eleven/system/blockMeshDict at line 92.

From function void Foam::primitiveEntry::readEntry(const Foam::dictionary&, Foam::Istream&)
in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 168.

FOAM exiting

/*--------------------------------*- C++ -*----------------------------------*
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

vertices
(
(0.000000 0.000000 0.000000)
(0.000000 -0.000262 0.009997)
(0.000000 0.000262 0.009997)
(3.520000 0.000000 0.000000)
(3.520000 -0.000262 0.009997)
(3.520000 0.000262 0.009997)
);

blocks
(
//hex(0 3 5 2 0 4 1 0) (20 1 20) simpleGrading (1 1 1)
hex(1 4 5 2 0 3 3 0) (1 20 20) simpleGrading (1 1 1)
);

edges
(
arc 1 2 (0 2.617695e-04 9.996573e-03)
arc 4 5 (3.520000e+00 2.617695e-04 9.996573e-03)
);

boundary
(
inlet
{
type patch;
faces
(
(0 1 2 0)
);
}
outlet
{
type patch;
faces
(
(3 5 4 3)
);
}
frontandback
{
type wedge;
faces
(
(0 3 4 1)
(0 2 5 3)
);
}
axis
{
type empty;
faces
(
(0 3 3 0)
);
}
top
{
type wall;
faces
(
(1 4 5 2)
);
}
);

mergePatchPairs
(
);
// ************************************************** *********************** //

below i have attached the image which could help u visualize the geometry
diag.png
kirankp is offline   Reply With Quote

Reply


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
Flow modeling in 2D geometry as helical coil Ash Kot OpenFOAM 0 January 6, 2021 19:28
Wedge Shaped Hopper Arun FLUENT 0 December 31, 2007 06:27
Is an uniform flow possible for this geometry? Michael Hu FLUENT 1 April 13, 2006 22:11
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 12:19
fluid flow fundas ram Main CFD Forum 5 June 17, 2000 21:31


All times are GMT -4. The time now is 17:21.