|
[Sponsors] |
March 19, 2013, 04:48 |
setFields -time <range> ?
|
#1 |
Member
Neilson Whit
Join Date: Aug 2011
Posts: 74
Rep Power: 14 |
Dear All,
by using "setFields -time 0,20 " is it possible to give a same constant temperature value to some cells at every time step during 20 seconds? I tried but does not work. pleased if you could give some idea how can I do that? best regards |
|
March 19, 2013, 11:18 |
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
setFields will change fields that already exist, so all you could do with your command is apply the setFieldsDict commands to 0-20. If you want a source term during simulation, you'll have to either:
1. Program it into your solver 2. In 2.1.x, use the sources option 3. In 2.2.x, use fvOptions |
|
March 19, 2013, 18:53 |
|
#3 |
Member
Neilson Whit
Join Date: Aug 2011
Posts: 74
Rep Power: 14 |
thank you mutircios
i use OF2.1.1, buoyantBoussineqPimpleFoam solver. By using sources option do you think i can determine a spherical volume inside the fluid region as a heat source? regards |
|
March 20, 2013, 11:45 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Yes indeed. I haven't used sources much so I'm not overly familiar with it, so you'll have to do some digging.
|
|
April 29, 2017, 06:01 |
|
#5 |
New Member
kokab
Join Date: Mar 2017
Posts: 11
Rep Power: 9 |
hi
I also want to use setFieldsABLDict to implement roughness in the channel, but the problem is that, by this command as a pre_processing it is just implemented for the first time step as an initial condition. but I want it to be the constant effect during the time. does anyone have idea about it? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam negative alpha | karasa03 | OpenFOAM | 7 | December 12, 2013 03:41 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 03:34 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 04:03 |
directMapped problem | panda60 | OpenFOAM Bugs | 4 | July 8, 2010 10:23 |
Computational time | sunnysun | OpenFOAM Running, Solving & CFD | 5 | March 16, 2009 03:32 |