|
[Sponsors] |
May 17, 2016, 07:33 |
Defining Source in a Cell Set
|
#1 |
New Member
erdal
Join Date: Apr 2014
Posts: 22
Rep Power: 12 |
Hello everyone,
I would like to ask how to define a heat source in a created cell set. |
|
May 17, 2016, 09:24 |
|
#2 |
Senior Member
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18 |
I believe cell-sets are for post-processing and visualization. I don't think you can turn around and create a region from them that would allow you to specify an energy source term. You will probably need to go back and modify your geometry so that you can create a separate region where the source is to be located.
|
|
May 17, 2016, 10:18 |
|
#3 |
New Member
erdal
Join Date: Apr 2014
Posts: 22
Rep Power: 12 |
Thanks for your answer MBdonCFD
But in Star CCM+ Manual it sayas it is possible however it didn't explain the way |
|
May 24, 2016, 16:02 |
|
#4 |
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 |