CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] mergePatchPairs on imported mesh (https://www.cfd-online.com/Forums/openfoam-meshing/68426-mergepatchpairs-imported-mesh.html)

jmf September 19, 2009 05:16

mergePatchPairs on imported mesh
 
Hello everybody

What is the procedure to merge 2 meshes in contact on a plane surface, with not coincident nodes ?

The meshes are imported from .unv -> I have polyMesh folder

I tried blockMesh with following blockMeshDict :
Code:

convertToMeters 1;
vertices
(
);
edges
(
);
blocks
(
);
patches
(
);
mergePatchPairs
(
  (cyclicDownTrail_1 cyclicDownLead_2)
)

I obtain following error :
Code:

Exec  : blockMesh
Create time
Creating block mesh from
    "/home/nous/OpenFOAM/nous-1.6/run/run/SRF/constant/polyMesh/blockMeshDict"

Creating blockCorners

Creating curved edges
#0  Foam::error::printStack(Foam::Ostream&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1  Foam::sigSegv::sigSegvHandler(int) in "/home/nous/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#2  Uninterpreted:
#3  Foam::arcEdge::arcEdge(Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#4  Foam::curvedEdge::addIstreamConstructorToTable<Foam::arcEdge>::New(Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#5  Foam::curvedEdge::New(Foam::Field<Foam::Vector<double> > const&, Foam::Istream&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#6  Foam::blockMesh::createTopology(Foam::IOdictionary&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#7  Foam::blockMesh::blockMesh(Foam::IOdictionary&) in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#8  main in "/home/nous/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/blockMesh"
#9  __libc_start_main in "/lib/libc.so.6"
#10  _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122
Erreur de segmentation

I am not sure to be on the right way. Could anybody advise me ?

Thanks in advance

Jean-Michel

jmf October 1, 2009 15:10

Solved: mergePatchPairs on imported mesh
 
Hello

I finally solved my problem: the right way was of course using stitchMesh, instead of mergePatchPairs

Best wishes

J-Michel


All times are GMT -4. The time now is 15:18.