|
[Sponsors] |
[mesh manipulation] Merging meshes for chtMultiRegionFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2022, 06:04 |
Merging meshes for chtMultiRegionFoam
|
#1 |
Senior Member
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6 |
Hey guys, for a multi region simulation i want to couple two (then three) seperate generated meshes. I am somewhat familiar with merging meshes, but i am unsure considering the interfaces.
For the first test i want to couple a solid and a fluid thermaly along a surface with the exact same geometric values. (same length and width and same geometric features). After meshing both of them, with same refinement levels in for each snappyhex run, i am sitting on two times the surface, but with different amount of faces: solid: Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 3 ( lowerInterface { type wall; inGroups List<word> 1(wall); nFaces 1972883; startFace 23702955; } upperInterface { type wall; inGroups List<word> 1(wall); nFaces 1976846; startFace 25675838; } wallplate { type wall; inGroups List<word> 1(wall); nFaces 69265; startFace 27652684; } ) // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 9 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 4 ( Inlethot { type wall; inGroups List<word> 1(wall); nFaces 10254; startFace 19818519; } Outlethot { type wall; inGroups List<word> 1(wall); nFaces 10242; startFace 19828773; } wallfluidhot { type wall; inGroups List<word> 1(wall); nFaces 1156425; startFace 19839015; } upperInterface { type wall; inGroups List<word> 1(wall); nFaces 1642604; startFace 20995440; } ) // ************************************************************************* // Code:
fluid_to_plate { type compressible::turbulentTemperatureCoupledBaffleMixed; value $internalField; Tnbr T; } Any help is greatly appreciated! Kind regards! Last edited by Hr_kules; July 29, 2022 at 06:57. Reason: additional information |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Merging meshes for chtMultiRegionFoam | Hr_kules | OpenFOAM Meshing & Mesh Conversion | 0 | May 12, 2022 08:00 |
[ICEM] Merging of 3d meshes | Ali3031 | ANSYS Meshing & Geometry | 1 | November 4, 2014 10:54 |
[ICEM] Merging Hexa Meshes in ICEM | screech1987 | ANSYS Meshing & Geometry | 11 | March 13, 2014 11:45 |
merging meshes | amirr | OpenFOAM Running, Solving & CFD | 2 | July 23, 2012 09:30 |
Merging Meshes | Matteo Giacobello. | FLUENT | 1 | February 16, 2000 09:22 |