CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

setFields -time <range> ?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2013, 05:48
Default setFields -time <range> ?
  #1
Member
 
Neilson Whit
Join Date: Aug 2011
Location: USA
Posts: 49
Rep Power: 5
wolfindark is on a distinguished road
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
wolfindark is offline   Reply With Quote

Old   March 19, 2013, 12:18
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
mturcios777 will become famous soon enough
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
mturcios777 is offline   Reply With Quote

Old   March 19, 2013, 19:53
Default
  #3
Member
 
Neilson Whit
Join Date: Aug 2011
Location: USA
Posts: 49
Rep Power: 5
wolfindark is on a distinguished road
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
wolfindark is offline   Reply With Quote

Old   March 20, 2013, 12:45
Default
  #4
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
mturcios777 will become famous soon enough
Yes indeed. I haven't used sources much so I'm not overly familiar with it, so you'll have to do some digging.
mturcios777 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InterFoam negative alpha karasa03 OpenFOAM 7 December 12, 2013 04:41
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04: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 04:32


All times are GMT -4. The time now is 13:53.