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

[blockMesh] Error creating a 3D rectangular geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 20, 2019, 06:04
Default Error creating a 3D rectangular geometry
  #1
New Member
 
Parth
Join Date: May 2019
Posts: 11
Rep Power: 6
parth_k is on a distinguished road
convertToMeters 0.001;

vertices
(
(0 0 0)
(20 0 0)
(20 1.4 0)
(0 1.4 0)
(0 0 320)
(20 0 320)
(20 1.4 320)
(0 1.4 320)

);

blocks
(
hex (0 1 2 3 4 5 6 7)
(50 50 50)
simpleGrading (1 1 1)
);

edges
(
);

boundary
(
inlet
{
type inlet;
faces
(
(0 1 2 3)
);
}
outlet
{
type outlet;
faces
(
(6 7 4 5)
);
}
//fixedWalls
//{
//type wall;
//faces
//(
//(3 7 6 2)
//(1 5 4 0)
//(3 0 4 7)
//(6 5 1 2)
// );
// }

topWall
{
type wall;
faces
(
(3 7 6 2)
);
}
bottomWall
{
type wall;
faces
(
(1 5 4 0)
);
}

sideWalls
{
type wall;
faces
(
(3 0 4 7)
(6 5 1 2)
);
}
//frontAndBack
// {
// type patch;
//faces
// (
// (6 7 4 5)
// (0 1 2 3)
//);
//}

);
mergePatchPairs
(
);




Hi Community,
I'm modelling a 3D rectangular simple geometry. The blockMesh command runs normally. However when I call in paraFoam command I get an error: ("Cannot find patchField entry for topWall") everytime after a few other trials too. I have 6 BC's in total for 6 faces as seen above.


Any help will be appreciated. Regards.
parth_k is offline   Reply With Quote

Old   May 20, 2019, 11:45
Default
  #2
New Member
 
Pierre
Join Date: May 2019
Posts: 4
Rep Power: 6
PierreAG is on a distinguished road
Hi Parth,


I had this error several times.


Each time, it was because I forgot to add a boundary condition in one of my physical variables (p, p_rgh, U, T...).
In your case, maybe you forgot to add a BC for topWall in one of your variables.


Or maybe you forgot to copy/paste a "variable.orig" to a "variable", if you use setFields.


Check the complete error message, it usually says which file is wrong.


If it is none of the above, maybe post the complete error message, it would permit people to help you better.



Regards,



Pierre
PierreAG is offline   Reply With Quote

Reply

Tags
3d geometry, blockmeshdict, openfoam, parafoam output message, parafoam paraview error


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
[ANSYS Meshing] Split rectangular geometry in even squares TomM ANSYS Meshing & Geometry 6 December 12, 2013 06:38
Geometry for Confined Circular Jet Greatness FLUENT 0 October 1, 2013 05:04
Export geometry file from ansys mechanical browns6 Structural Mechanics 0 August 27, 2013 16:19
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 19:42
2D geometry to 3D geometry Sgonzalezg ANSYS Meshing & Geometry 11 April 8, 2011 11:02


All times are GMT -4. The time now is 04:53.