|
[Sponsors] |
April 26, 2012, 12:34 |
Create dynamic cellSet
|
#1 |
Member
Pierre HORGUE
Join Date: May 2009
Posts: 33
Rep Power: 17 |
Hello,
I want to create a dynamic set of cells, i.e., which evolves with time. Example : I created a Bounding box ( xmin(t), ymin(t) ) ( xmax(t), ymax(t) ) With the function boxToCell, I can define a set "myCellSet" which contains all the cells within the Bounding box (using the "setSet" tools). But I want that this set of cells evolves with time which means that i must include this operation in my solver "myInterFoam.C" (for example) : At the timestep 1, "myCellSet" contains all cells in (xmin(1) ymin(1)) (xmax(1) ymax(1) At the timestep 2, "myCellSet" contains all cells in (xmin(2) ymin(2)) (xmax(2) ymax(2)) .... My problem is that i created successfully a "dynamic" bounding box but i can't create a topoSet containing the cell labels of my bounding box. How can I create at each time step this topoSet ? Thank you Pierre |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] Create a "triangular box" with blockMesh | voingiappone | OpenFOAM Meshing & Mesh Conversion | 4 | May 22, 2015 02:22 |
How to define cells which belongs to ratating patch in MRFSImpleFoam | bharat | OpenFOAM Running, Solving & CFD | 26 | August 18, 2013 18:35 |
[mesh manipulation] Tutorial for dynamic mesh | gizmo | OpenFOAM Meshing & Mesh Conversion | 3 | January 13, 2011 12:17 |
Create a cellSet out of the gamma directory | cricke | OpenFOAM Running, Solving & CFD | 11 | July 12, 2009 03:52 |
Create 3d Grid query - Star cd 3.24.0 version | Pankaj | Siemens | 3 | October 15, 2008 09:36 |