|
[Sponsors] |
How to find all boundary cell-faces for an internal region (cellSet)? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 22, 2018, 08:40 |
How to find all boundary cell-faces for an internal region (cellSet)?
|
#1 |
Senior Member
David Long
Join Date: May 2012
Location: Germany
Posts: 104
Rep Power: 14 |
Hi Foamers,
When I was calculating the surface integral of Tau (the stress tensor field) on an internal region ABCD (rectangle here) using Gauss's theorem, some significant error was found between the calculated and the analytical result. The region ABCD (rigid solid body) is treated as fluid material m2. When it is located between the phases 1 (material m1) and 2 (material m2), the volume integral over the region ABCD can be problematic, because in this case the material inside the sub-region AD-ef is still m2. Fig. 1: Problem domain. Fig. 2: Regular internal region (rectangle here) composed of two different materials: m1 and m2, where the interface e-f between them is irregular. Instead, if we can find the boundary cell-faces that encompass ABCD, we can do surface integral directly, and the error might be reduced. The question now is: how do we efficiently find all the boundary cell-faces of an continuous internal region (e.g. using topoSet boxToCell)? Thanks in advance, David |
|
Tags |
gaussdivschemes, surface integrals |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh can't create refimenet region | clktp | OpenFOAM Meshing & Mesh Conversion | 3 | February 27, 2022 10:26 |
p_rgh initial residual no change with different settings | manuc | OpenFOAM Running, Solving & CFD | 3 | June 26, 2018 16:53 |
[Gmsh] Vertex numbering is dense | KateEisenhower | OpenFOAM Meshing & Mesh Conversion | 7 | August 3, 2015 11:49 |
[snappyHexMesh] SnappyHexMesh Internal Flow Example (Diesel Injector) | Irish09 | OpenFOAM Meshing & Mesh Conversion | 23 | July 15, 2013 08:45 |
[snappyHexMesh] Layers don't fully surround surface | EVBUCF | OpenFOAM Meshing & Mesh Conversion | 14 | August 20, 2012 05:31 |