|
[Sponsors] | |||||
[blockMesh] Error running blockMesh with mergePatchPairs on OF2.4.0 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 10 ![]() |
I tried to look up but didn't find any thread which deals with this issue. Perhaps it's something very silly!?
I'm getting this error when trying to run blockMesh for a very simple geometry. Code:
--> FOAM FATAL ERROR:
Parameter out of range, lambda = 1
From function lineEdge::position(const scalar)
in file curvedEdges/lineEdge.C at line 68.
If it helps my dictionary is defined as follows: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
convertToMeters 0.01;
x_min -10;
x_max 10;
y_min 0;
y_max 20;
z_min 0;
z_max 100;
xp_min -10;
xp_max 10;
yp_min -4;
yp_max 0;
zp_min 20;
zp_max 40;
vertices
(
//External Flow
($x_min $y_min $z_min) //0
($x_min $y_min $z_max) //1
($x_min $y_max $z_max) //2
($x_min $y_max $z_min) //3
($x_max $y_max $z_min) //4
($x_max $y_max $z_max) //5
($x_max $y_min $z_max) //6
($x_max $y_min $z_min) //7
//Porous Zone
($xp_min $yp_min $zp_min) //8
($xp_min $yp_min $zp_max) //9
($xp_min $yp_max $zp_max) //10
($xp_min $yp_max $zp_min) //11
($xp_max $yp_max $zp_min) //12
($xp_max $yp_max $zp_max) //13
($xp_max $yp_min $zp_max) //14
($xp_max $yp_min $zp_min) //15
);
blocks
(
//Block 1
hex (0 1 2 3 4 5 6 7) (1 200 1000)
simpleGrading
(
//X Expansion Ratio
1
//Y Expansion Ratio
(
(0.2 0.25 0.125)
(0.8 0.50 1)
(0.2 0.25 8)
)
//Z Expansion Ratio
(
(0.18 0.2 0.125)
(0.24 0.5 1)
(0.58 0.3 8)
)
)
//Block2
hex (8 9 10 11 12 13 14 15) (1 40 40)
simpleGrading
(
//X Expansion Ratio
1
//Y Expansion Ratio
(
(0.3 0.50 8)
(0.7 0.50 1)
//(0.2 0.25 8)
)
//Z Expansion Ratio
(
(0.2 0.25 8)
(0.6 0.50 1)
(0.2 0.25 0.125)
)
)
);
edges
(
);
boundary
(
block1Walls
{
type wall;
faces
(
(7 6 1 0)
(2 5 4 3)
//(0 7 12 11)
//(13 6 1 10)
);
}
block2Walls
{
type wall;
faces
(
(9 14 13 10)
(15 8 11 12)
);
}
inlet1
{
type patch;
faces
(
(0 3 4 7)
);
}
inlet2
{
type patch;
faces
(
(14 9 8 15)
);
}
outlet
{
type patch;
faces
(
(1 6 5 2)
);
}
frontAndBack
{
type patch;
faces
(
(4 5 6 7)
(0 1 2 3)
(8 9 10 11)
(12 13 14 15)
);
}
interface1
{
type wall;
faces
(
(7 6 1 0)
);
}
interface2
{
//type patch;
faces
(
(10 11 12 13)
);
}
);
//patches
//(
// patch interface1
// (
// (7 6 1 0)
// )
//
// patch interface2
// (
// (10 11 12 13)
// )
//);
mergePatchPairs
(
// (interface1 interface2)
);
// ************************************************************************* //
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 10 ![]() |
This issue is resolved.
Apparently, graded meshing is not possible when dealing with multiple blocks. Such a pity! |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [blockMesh] mergePatchPairs with blockMesh | Ivanet | OpenFOAM Meshing & Mesh Conversion | 17 | May 4, 2021 11:32 |
| [blockMesh] blockMesh | MergePatchPairs | snappyHexMesh |Different number of cells in divisions | pythag0ra5 | OpenFOAM Meshing & Mesh Conversion | 1 | September 19, 2020 15:38 |
| [mesh manipulation] mergePatchPairs after running blockMesh | ashishmagar600 | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2019 05:15 |
| [blockMesh] mergePatchPairs reducing a face to less than 3 points | aow | OpenFOAM Meshing & Mesh Conversion | 2 | June 1, 2018 18:37 |
| [blockMesh] BlockMesh documentation User Guide clearance of mergePatchPairs proposals | benru | OpenFOAM Meshing & Mesh Conversion | 0 | June 9, 2008 03:22 |