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

[blockMesh] Meshing a wedge

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2017, 09:46
Default Meshing a wedge
  #1
New Member
 
Join Date: Jan 2015
Posts: 8
Rep Power: 11
veronica2015 is on a distinguished road
I am creating a mesh of a simple wedge composed by two blocks. The case with another geometry runs well, but when I put my data I am getting the following error.

Create time

Creating block mesh from
"/home/veronica/Escritorio/new_simulations/KandM_H-D-10_2/constant/polyMesh/blockMeshDict"
Creating curved edges
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigFpe::sigHandler(int) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::arcEdge::calcAngle() in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#4 Foam::arcEdge::arcEdge(Foam::Field<Foam::Vector<do uble> > const&, Foam::Istream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#5 Foam::curvedEdge::addIstreamConstructorToTable<Foa m::arcEdge>::New(Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#6 Foam::curvedEdge::New(Foam::Field<Foam::Vector<dou ble> > const&, Foam::Istream&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#7 Foam::blockMesh::createTopology(Foam::IOdictionary const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#8 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) in "/opt/openfoam230/platforms/linuxGccDPOpt/lib/libblockMesh.so"
#9
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/blockMesh"
#10 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#11
in "/opt/openfoam230/platforms/linuxGccDPOpt/bin/blockMesh"
Excepción de coma flotante (`core' generado)

The blockMeshDict is:

convertToMeters 1;

vertices
(
(0 0 0) //0
(3.174516432e-3 0 5.541139044e-5) //1
(0.1904709859 0 3.324683426e-3) //2
(0 0.635 0) //3
(3.174516432e-3 0.635 5.541139044e-5) //4
(0.1904709859 0.635 3.324683426e-3) //5
(3.174516432e-3 0 -5.541139044e-5) //6
(0.1904709859 0 -3.324683426e-3) //7
(3.174516432e-3 0.635 -5.541139044e-5) //8
(0.1904709859 0.635 -3.324683426e-3) //9

);

blocks
(
hex (1 4 3 0 6 8 3 0) (34 112 1) simpleGrading (1 2.05671982525299e-4 1) //block 1
hex (2 5 4 1 7 9 8 6) (64 112 1) simpleGrading (150.0842276 2.05671982525299e-4 1) //block 2

);

edges
(
arc 2 7 (0.1905 0 0)
arc 5 12 (0.1905 0.635 0)
);

boundary
(
inlet
{
type patch;
faces
(
(3 4 8 3)

);
}
outlet
{
type patch;
faces
(
(2 7 9 5)

);
}
upperWall
{
type wall;
faces
(
(4 5 9 8)

);
}
lowerWall
{
type wall;
faces
(
(0 6 1 0)
(1 6 7 2)

);
}

wedge1
{
type wedge;
faces
(
(0 1 4 3)
(1 2 5 4)

);
}
wedge2
{
type wedge;
faces
(
(0 3 8 6)
(6 8 9 7)

);
}
);

mergePatchPairs
(
);

Any help please?

Thanks so much
veronica2015 is offline   Reply With Quote

Old   March 23, 2017, 12:11
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
One mistake is for sure, that you used nodes twice in hex element 1:
Code:
hex (1 4 3 0 6 8 3 0) (34 112 1) simpleGr
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 23, 2017, 12:25
Default
  #3
New Member
 
Join Date: Jan 2015
Posts: 8
Rep Power: 11
veronica2015 is on a distinguished road
I have done that in other simulations and it has not been a problem. It corresponds to the first block that is a triangle.
veronica2015 is offline   Reply With Quote

Old   March 23, 2017, 13:06
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Quote:
Originally Posted by veronica2015 View Post
I have done that in other simulations and it has not been a problem. It corresponds to the first block that is a triangle.
If you need a triangle take one: OF offers triangles.

If you mesh this way cell faces have zero area.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 23, 2017, 17:04
Default
  #5
Senior Member
 
tareqkh's Avatar
 
CFD
Join Date: Nov 2010
Location: United States
Posts: 243
Rep Power: 16
tareqkh is on a distinguished road
What shape are you tying to apply wedge on? I could make that in gmsh quickly. Just provide your dimensions and it should be easy.

Cheers,
tareqkh is offline   Reply With Quote

Reply

Tags
blockmesh


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
Wedge and morpher Henry Arrigo STAR-CCM+ 5 July 6, 2012 18:34
axisymmetric wedge case problem comedy_tigers88 OpenFOAM Running, Solving & CFD 0 June 16, 2012 04:45
[blockMesh] Problems meshing wedge type blocks Alan OpenFOAM Meshing & Mesh Conversion 0 July 27, 2009 20:05
Best Meshing scheme for Cylinder Nutrex Main CFD Forum 4 July 29, 2008 11:03
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 11:08


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