|
[Sponsors] |
May 1, 2019, 10:50 |
topoSet, patchToFace and faceToCell
|
#1 |
Senior Member
Raza Javed
Join Date: Apr 2019
Location: Germany
Posts: 183
Rep Power: 7 |
Hello Everyone,
My OpenFoam version is 4.1. I am using fvOptions to use one face of a box(geometry) as a heat source. To select one face as a heat source I am selecting selectionMode as a "cellSet". To make cellSet, I am using topoSet, but I am new to it, and I don't know how to configure it. My toposetDict is given below: Code:
FoamFile { version 2.0; format ascii; class dictionary; object topoSetDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // actions ( { name hot; type faceSet; action new; source patchToFace; sourceInfo { name hotFace; } } // Select based on faceSet { name hot; type cellSet; action new; source faceToCell; sourceInfo { set hot; // Name of faceSet //option neighbour; // cell with neighbour in faceSet //option owner; // ,, owner option any; // cell with any face in faceSet //option all; // cell with all faces in faceSet } } ); Code:
Create time Create polyMesh for time = 0 Reading topoSetDict Time = 0 mesh not changed. Created faceSet hot Applying source patchToFace Adding all faces of patch hotFace ... Found matching patch hotFace with 253 faces. faceSet hot now size 253 Created cellSet hot Applying source faceToCell Adding cells according to faceSet hot ... cellSet hot now size 253 End Code:
Create time Create polyMesh for time = 0 Reading topoSetDict Time = 0 mesh not changed. Created faceSet hot Applying source patchToFace Adding all faces of patch hotFace ... Found matching patch hotFace with 253 faces. faceSet hot now size 253 Created cellSet hot Applying source faceToCell Adding cells according to faceSet hot ... cellSet hot now size 0 End Can someone please help to resolve this issue? I shall be very thankful. |
|
July 10, 2020, 11:16 |
|
#2 |
New Member
Kamal Khemani
Join Date: Feb 2019
Location: India
Posts: 2
Rep Power: 0 |
Hi Raza, did you solved this issue? Actually i'm also getting same kind of issue while selecting a subset from the faceset obtained from patchToFace command
|
|
Tags |
facetocell, fvoption, openfoam, patchtoface, toposet |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
define a cellzone with toposet | decibelle | OpenFOAM Pre-Processing | 5 | August 10, 2022 06:53 |
topoSet and fvOptions | Raza Javed | OpenFOAM Running, Solving & CFD | 1 | February 4, 2020 15:44 |