CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread 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: 648
Rep Power: 20
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: 648
Rep Power: 20
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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 05:50
Fluent: Mesh Adaption based on Gradient enigma FLUENT 4 July 15, 2010 17:36
physical boundary error!! kris Siemens 2 August 3, 2005 00:32
Number of cells Christian Holm Main CFD Forum 8 February 20, 2002 07:37


All times are GMT -4. The time now is 07:55.