|
[Sponsors] |
Create cellSet in specified distance to all patches |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2017, 07:27 |
Create cellSet in specified distance to all patches
|
#1 |
New Member
Join Date: Aug 2017
Posts: 10
Rep Power: 8 |
Hello everyone,
I need to do calculation during runtime only on the cells which are ~1cm away from a patch. So the goal is to create a cellSet/cellZone and then to loop over these cells. The best I found so far to create such a cellSet is this function in topoSet: Code:
// Select based on surface surfaceToCell { file "name.stl"; outsidePoints ((-99 -99 -59)); // definition of outside includeCut false; // cells cut by surface includeInside false; // cells not on outside of surf includeOutside false; // cells on outside of surf nearDistance -1; // cells with centre near surf // (set to -1 if not used) curvature 0.9; // cells within nearDistance // and near surf curvature // (set to -100 if not used) } Does anybody got an idea how to do this? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Problem with decomposePar, snappyHexMesh | luca1992 | OpenFOAM Meshing & Mesh Conversion | 12 | August 23, 2017 19:06 |
[Other] How to create patches | thomas. | OpenFOAM Meshing & Mesh Conversion | 4 | February 26, 2016 03:57 |
[mesh manipulation] Create patches from a very complex geometry | CoSponge | OpenFOAM Meshing & Mesh Conversion | 4 | October 9, 2015 12:32 |
How to create patches for this problem | sachin | OpenFOAM Running, Solving & CFD | 0 | August 11, 2009 08:40 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |