|
[Sponsors] |
January 4, 2008, 22:54 |
Hi,
I tried to merge two me
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
I tried to merge two meshes together using mergeMeshes util, but, failed. Is this a bug, or did I do something wrong? I did not have the same problem with OF-1.3. Error Messages attached. Pei ----------------------- phsieh@jali:~/OpenFOAM/phsieh-1.4.1/run> mergeMeshes . genesysReagentPackRotation_hex1 . genesysReagentPackRotation_tet1 /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.4.1 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : mergeMeshes . genesysReagentPackRotation_hex1 . genesysReagentPackRotation_tet1 Date : Jan 04 2008 Time : 22:31:09 Host : jali PID : 19400 Root : Case : Nprocs : 1 Master: "." "genesysReagentPackRotation_hex1" mesh to add: "." "genesysReagentPackRotation_tet1" Create Times Reading master mesh for time = 0.6 Create mesh Reading mesh to add for time = 0.6 Create mesh Writing combined mesh to 0.60001 patch names: 4 ( walls internal wall1 inter1 ) patch types: 4 ( wall patch wall patch ) point zone names: 0 ( ) face zone names: 0 ( ) cell zone names: 0 ( ) Copying old patches Adding new patches. --> FOAM FATAL ERROR : polyTopoChange was constructed with a mesh with 2 patches. The mesh now provided has a different number of patches 4 which is illegal #0 Foam::error::printStack(Foam:stream&) in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libOpenFOAM.so" #2 Foam::polyTopoChange::compactAndReorder(Foam::poly Mesh const&, bool, Foam::Field<foam::vector<double> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::objectmap>&, Foam::List<foam::map<int> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<foam::map<int> >&) in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libdynamicMesh.so" #3 Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool) in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/lib/linux64GccDPOpt/libdynamicMesh.so" #4 Foam::polyMesh::readUpdate() in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/mergeMesh es" #5 main in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/mergeMesh es" #6 __libc_start_main in "/lib64/libc.so.6" #7 __gxx_personality_v0 in "/home/phsieh/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linux64GccDPOpt/mergeMesh es" From function polyTopoChange::compactAndReorder(polyMesh&, const bool, const bool) in file polyTopoChange/polyTopoChange/polyTopoChange.C at line 1631. FOAM aborting Aborted phsieh@jali:~/OpenFOAM/phsieh-1.4.1/run> |
|
January 4, 2008, 23:08 |
Hi,
OK, I found how to use
|
#2 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
OK, I found how to use mergeMeshes now. Before performing mergeMeshes, in boundary of the master case, I need to add the patchnames (from the second case) with nFaces 0 - some kind of place holder. Then, mergeMeshes was successful. Pei |
|
January 29, 2008, 15:04 |
Hi Pei,
I am trying to do the
|
#3 |
New Member
Anant Grewal
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Hi Pei,
I am trying to do the same without success. I followed your solution and added a patch in the boundary of the master mesh which contains the interfacing patch from the slave mesh, i.e. Mesh_rest_dom_front { type patch; nFaces 0; startFace 17860; } This did not work (Note, I incremented the number of patches at the top of the boundary file). Can you please provide more details of the changes you made to the master boundary file. Thanks Anant |
|
January 29, 2008, 19:31 |
Hi, Anant,
Could you pleas
|
#4 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Anant,
Could you please either email me your case files or post the error messages? I recalled that, all I need to do is to add the patches (in the slave mesh) to the master mesh prior to mergeMeshes. Did you check the meshes that you are trying to merge "before" merging? Are the meshes checked out fine (checkMesh . case) prior to merging? Pei phsieh2005@yahoo.com |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MergeMeshes with version OF14 | jens_klostermann | OpenFOAM Bugs | 2 | November 7, 2014 16:27 |
[mesh manipulation] MergeMeshes | hsieh | OpenFOAM Meshing & Mesh Conversion | 3 | September 10, 2014 09:15 |
[mesh manipulation] MergeMeshes and stitchMesh problem | flo | OpenFOAM Meshing & Mesh Conversion | 6 | May 10, 2010 10:40 |
MergeMeshes and mesh format from 14x 15 | pitmanm | OpenFOAM Bugs | 14 | July 4, 2009 00:55 |
Parallel computation with OF141 | benru | OpenFOAM Running, Solving & CFD | 3 | August 15, 2007 09:21 |