CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Simulationtime for scalarTransportFoam

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

LinkBack Thread Tools Display Modes
Old   January 25, 2013, 13:19
Default Simulationtime for scalarTransportFoam
Senior Member
Join Date: Mar 2012
Posts: 102
Rep Power: 7
despaired student is on a distinguished road

I've just a short question about scalarTransportFoam.
There are no eddys, turbulences or other transient parts in my velocity field. Now I'm simulating the distribution of a scalar in this velocity-field. The question ist when to stop the simulation? I thought about:

a) measure the scalar-input and -output. When conservation of mass is reached then stop the simulation. If this is correct how would you justify this as the criterium to stop at?

b) make sample-pictures at different time-steps. When there are no changes in the sample-pictures of the concentration field one can say that the simulation should be stoped.

c) measure the way a scalar moves from inlet to outlet. Divide this way by the velocity (average velocity or something like this) and then you get the timestep to that you have to run the simulation.

Could you give me a short feedback/comment...the answer to my initial question is also welcome


Last edited by despaired student; January 26, 2013 at 16:03.
despaired student is offline   Reply With Quote

Old   January 25, 2013, 21:54
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 211
Blog Entries: 1
Rep Power: 10
fumiya is on a distinguished road

If your velocity field is steady, I think the scalar distribution reaches a steady
state at some time. You can monitor the time history of scalar distributions at
some points using the probes function and stop simulation when variations
become smaller than your criterion. I think you can estimate the approximate
time needed to reach steady state by the method you wrote in c.

Hope that helps,
fumiya is online now   Reply With Quote

Old   January 26, 2013, 16:05
Senior Member
Join Date: Mar 2012
Posts: 102
Rep Power: 7
despaired student is on a distinguished road
Hi fumiya,

thanks for your reply. You are right the probe utility should work fine in my case...haven't thought about bad

despaired student is offline   Reply With Quote


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

All times are GMT -4. The time now is 09:58.