|
[Sponsors] |
|
May 24, 2016, 16:02 |
|
#1 |
Member
Join Date: Nov 2015
Posts: 38
Rep Power: 10 |
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. |
|
|
|
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 |