Hi everybody , I have this problem :
Inside a cubic flow domain of 256x256x256 cell I have a polymer molecule represented by 5 points (representing the monomer) close to each other the distance is usually much more smaller than one cell. How can I know the index I,j,k of the cell ?? in order to create a subset of cell using the index around the macromolecule ?
Thanks in advance for your support
Probably the easiest way is to find the location through the Find Data dialog.
- Get the location of the polymer molecule using the
Informationtab. - Once you know the X, Y, Z location in physical space, open the
Find Data
dialog. - In the first line of combo boxes in the
Find Datadialog, set the first combo box (Find) toCell(s)and the second combo box (from) to the cubic flow domain. - In the second line, set the first combo box to
Celland the second combo box tocontains. Set the remaining 3 edit boxes to the X, Y, and Z location you found in the first step. - Click the
Run Selection Querybutton. - In the spreadsheet widget below the button you can get information about the cell that contains that location including the cell’s ID.
ok I found the cell ID but then I need to find the I,J,K index of such cell … in order to create a sub set around the polymer … how can I Do ?