Difference between revisions of "FieldToCellSet"

From OpenFOAMWiki
(First version)
 
m (Name)
 
Line 2: Line 2:
 
<tt>fieldToCellSet</tt>
 
<tt>fieldToCellSet</tt>
  
For versions 2.0 and superior, this tool doesn't exist used the following command in [[setSet]]:
+
For versions 2.0 and superior, this tool doesn't exist used the following command in [[setSet]] to e.g. select all cells with a temperature between 289 K and 1250 K:
 
  cellSet c0 new fieldToCell T 289 1250
 
  cellSet c0 new fieldToCell T 289 1250
 +
 +
or the following entries in ''topoSetDict'' to use with [[topoSet]]:
 +
actions
 +
(
 +
    {
 +
          name    selectedCells;
 +
          type    cellSet;
 +
          action  new;
 +
          source  fieldToCell;
 +
          sourceInfo
 +
          {
 +
              T 289 1250
 +
          }
 +
    }
 +
);

Latest revision as of 19:01, 2 September 2012

Name

fieldToCellSet

For versions 2.0 and superior, this tool doesn't exist used the following command in setSet to e.g. select all cells with a temperature between 289 K and 1250 K:

cellSet c0 new fieldToCell T 289 1250

or the following entries in topoSetDict to use with topoSet:

actions
(
    {
         name    selectedCells;
         type    cellSet;
         action  new;
         source  fieldToCell;
         sourceInfo
         {
             T 289 1250
         }
    }
);