CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

CellSet question

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2009, 16:50
Default I have a question about the us
  #1
New Member
 
Bob Bicknell
Join Date: Mar 2009
Posts: 1
Rep Power: 0
bobbicknell is on a distinguished road
I have a question about the use of cellSet. I'm trying to extract a cellSet out of my mesh where 0 <= gamma <= 0.5 AND it is in a box (5 0 -10) (25 12 10). I can get cellSet to do one or the other but not both simulateously. Below is the cellSetDict that I have been working with.

Any help would be greatly appreciated.

Bob


/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object cellSetDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Name of set to operate on
name DriveBubbleSet;

// One of clear/new/invert/add/delete|subset/list
action new;

// Actions to apply to cellSet. These are all the topoSetSource's ending
// in ..ToCell (see the meshTools library).

topoSetSources
(

// Cells with cell centre within box


// values of field within certain range
fieldToCell
{
fieldName alpha1; // Note: uses mag(U) since volVectorField
min 0.0;
max 0.5;
}
boxToCell
{
box (5 0 -10) (25 12 10);
}

);


//************************************************** *********************** //
bobbicknell is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] BlockMesh cellSet refineMesh mattijs OpenFOAM Meshing & Mesh Conversion 41 April 7, 2020 09:32
Create a cellSet out of the gamma directory cricke OpenFOAM Running, Solving & CFD 11 July 12, 2009 03:52
C question kar OpenFOAM Running, Solving & CFD 26 May 20, 2008 06:05
Center coordinates of all the cells in a cellset lizhihua Siemens 0 August 21, 2006 03:59
question about LES gino briganti FLUENT 3 June 27, 2005 06:05


All times are GMT -4. The time now is 08:42.