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

Simulationtime for scalarTransportFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2013, 12:19
Default Simulationtime for scalarTransportFoam
  #1
Senior Member
 
Sören
Join Date: Mar 2012
Posts: 102
Rep Power: 14
despaired student is on a distinguished road
Hi,

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


Cheers

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

Old   January 25, 2013, 20:54
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
Hi,

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
fumiya is offline   Reply With Quote

Old   January 26, 2013, 15:05
Default
  #3
Senior Member
 
Sören
Join Date: Mar 2012
Posts: 102
Rep Power: 14
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 it...my bad


regards
despaired student is offline   Reply With Quote

Reply


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



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