CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing


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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2023, 03:17
Default Setfields
New Member
Arpit Singh
Join Date: Mar 2023
Posts: 12
Rep Power: 3
Arpit Singh is on a distinguished road
I want to give a temp. (1500K) to a specific region for say 5 sec. With the help of set fields I am able to give this temperature for starting the simulation (t=0) but not for a time period. Can anyone suggest some approach? I have attached an image of the same.
Attached Images
File Type: png Picture1.png (5.1 KB, 11 views)
Arpit Singh is offline   Reply With Quote

Old   April 12, 2023, 03:41
Senior Member
Join Date: Dec 2021
Posts: 209
Rep Power: 5
Alczem is on a distinguished road

This fvOptions function might help you:

Not sure how to set the duration though, other fvOptions have sometimes a duration so try that, or see if a table for the T field could work maybe. Or just manually disable the function at T=5sec. A script could do the trick.

Good luck
Alczem is offline   Reply With Quote


openfoam 10, reactingfoam, setfielddict, temperature

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual decomposition using setFields RL-S OpenFOAM Pre-Processing 8 July 3, 2023 08:51
setFields problems Konstantinos OpenFOAM Pre-Processing 2 April 18, 2021 05:25
Wierd results after running setFields without getting an error in terminal vava10 OpenFOAM Pre-Processing 3 January 15, 2021 11:12
rhoSimplecFoam with setFields sino75 OpenFOAM Pre-Processing 0 March 11, 2015 04:08
Problems with the execution of the setFields utility. foamer OpenFOAM Pre-Processing 5 June 3, 2013 12:24

All times are GMT -4. The time now is 12:49.