CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Defining Source in a Cell Set

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Schwob77

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2016, 16:02
Default
  #1
Member
 
Join Date: Nov 2015
Posts: 38
Rep Power: 10
Schwob77 is on a distinguished road
Each cell set also has a field function connected with it. The value is 1 if the cell is part of the cell set and 0 if not. So to specify a source you can create a field function like:

$CellSet_Var1==1?50.0:0.0

This will set a source value of 50 in the cells that are part of cell set and 0 for the other ones.
kirrer likes this.
Schwob77 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
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 05:18
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 21:00.