CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Overset: mergeMeshes does not join overset patches

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 14, 2022, 08:43
Question Overset: mergeMeshes does not join overset patches
  #1
New Member
 
Daniel Piņeiro
Join Date: May 2019
Location: Madrid
Posts: 3
Rep Power: 5
batdan is on a distinguished road
Hi everyone!

I am working on a multiphase problem using overset meshes with OpenFOAM v2012 and I'm trying to follow the advise of putting the overset type patches first in the boundary file. So, in the blockMeshDict of the background mesh, I have add the dummy overset boundary:

Code:
boundary
(
	oversetPatch
	{
		type overset;
		faces ();
	}
...
);
The output on the boundary file is the following. It surprises me that it does not include the line with the inGroups and it has de line with faces ();.

Code:
(
    oversetPatch
    {
        type            overset;
        nFaces          0;
        startFace       2518708;
        faces           ( );
    }
...
);

Then, in the overset mesh, the overset faces are in the same patch with the same previous name:

Code:
(
    oversetPatch
    {
        type            overset;
        inGroups        1(overset);
        nFaces          44287;
        startFace       3677752;
    }
...
);
The unexpected behaviour comes when running the mergeMeshes utility, because the following message appears: label patchIndex(const polyPatch& p) : Patch 0 named oversetPatch in mesh XXXX already exists, but patch types do not match. So the oversetPatch remains with zero faces and a new oversetPatch_XXXX is created with the overset faces.

Has anyone faced this problem and know how to solve it? Many thanks in advance!!

Last edited by batdan; September 16, 2022 at 03:04.
batdan is offline   Reply With Quote

Old   September 15, 2022, 11:14
Default
  #2
New Member
 
Daniel Piņeiro
Join Date: May 2019
Location: Madrid
Posts: 3
Rep Power: 5
batdan is on a distinguished road
Is it possible that the problem is related with the fact that the background mesh is obtained with blockMesh and the overset mesh with snappyHexMesh?
I've seen that the grammar of the boundary file generated with each utility is different, I mean:

Background mesh
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

7
(
    oversetPatch
    {
        type            overset;
        nFaces          0;
        startFace       4172730;
        faces           ( );
    }
...
);
Overset mesh
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       polyBoundaryMesh;
    location    "constant/polyMesh";
    object      boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

4
(
    oversetPatch
    {
        type            overset;
        inGroups        1(overset);
        nFaces          44512;
        startFace       3823684;
    }
...
);
batdan is offline   Reply With Quote

Reply

Tags
mergemeshes, openfoam, overset, oversetpatch, patch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Problem using AMI vinz OpenFOAM Running, Solving & CFD 288 September 5, 2022 00:51
2DOF Planning hull resistance study with overset CFD_fan OpenFOAM Running, Solving & CFD 7 July 13, 2021 06:03
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 90 October 3, 2019 08:01
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 09:00
Regarding periodic BC in ICEM generated grid Tarak OpenFOAM 32 April 30, 2013 15:46


All times are GMT -4. The time now is 17:57.