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

Select cells based on fields

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By dmoroian

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2012, 05:31
Default Select cells based on fields
  #1
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
Hello,
I'm trying to select a set of cells based on their velocity magnitude. In the old days there was an utility called fieldToCellSet, then cellSet, but now only setSet.
Could anyone clue me how to use it to select a set of cells based on their velocity magnitude?

Thanks,
Dragos
dmoroian is offline   Reply With Quote

Old   May 21, 2012, 08:15
Default setSet
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
dmoroian is on a distinguished road
The answer seems to be:
setSet
>cellSet bubu new
>cellSet bubu add fieldToCell U 50 150
>quit
Now, there is a cell set with all the cells having the velocity magnitude in the range [50;150]
sharonyue likes this.
dmoroian is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 03:50
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
Fluent: Mesh Adaption based on Gradient enigma FLUENT 4 July 15, 2010 17:36
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32
Number of cells Christian Holm Main CFD Forum 8 February 20, 2002 08:37


All times are GMT -4. The time now is 20:56.