|
[Sponsors] |
Overset: mergeMeshes does not join overset patches |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2022, 08:43 |
Overset: mergeMeshes does not join overset patches
|
#1 |
New Member
Daniel Piñeiro
Join Date: May 2019
Location: Madrid
Posts: 4
Rep Power: 7 |
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 (); } ... ); 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; } ... ); 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. |
|
September 15, 2022, 11:14 |
|
#2 |
New Member
Daniel Piñeiro
Join Date: May 2019
Location: Madrid
Posts: 4
Rep Power: 7 |
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 ( ); } ... ); 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; } ... ); |
|
December 20, 2022, 13:49 |
|
#3 |
New Member
Guillén Campaña Alonso
Join Date: Jun 2021
Posts: 6
Rep Power: 5 |
Hi,
I believe the problem is that you are not loading up the overset library when you are creating the mesh. Try to add: Code:
libs ("liboverset.so"); |
|
December 21, 2022, 05:36 |
|
#4 |
New Member
Daniel Piñeiro
Join Date: May 2019
Location: Madrid
Posts: 4
Rep Power: 7 |
Yes, adding that line has solved the problem. Thank you very much!
|
|
September 26, 2023, 07:30 |
|
#5 |
New Member
chenpeng
Join Date: Sep 2023
Posts: 1
Rep Power: 0 |
so useful!!!!!
|
|
Tags |
mergemeshes, openfoam, overset, oversetpatch, patch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | May 21, 2024 08:56 |
Problem using AMI | vinz | OpenFOAM Running, Solving & CFD | 298 | November 13, 2023 09:19 |
2DOF Planning hull resistance study with overset | CFD_fan | OpenFOAM Running, Solving & CFD | 7 | July 13, 2021 06:03 |
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 |