# How to Change Molflow's default sample rate

**URL:** <https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617>\
**Category:** General discussion\
**Tags:** molflow, synrad\
**Created:** [May 22, 2024, 5:12am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617 "2024-05-22T05:12:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangpengfy](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/w/ac91a4/32.png) [@wangpengfy](https://molflow-forum.web.cern.ch/u/wangpengfy)\
**Post date:** [May 22, 2024, 5:12am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/1 "2024-05-22T05:12:05Z")

</div>

Dear Marton,  
When I use convergence plotter,I want a high frequency sample rate,but the defaut sample rate in molflow is 1 per second.How can I change it?  
Thanks for help!

 ![屏幕截图 2024-05-22 130638](https://molflow-forum.web.cern.ch/uploads/default/original/1X/c628c8783c04408d1debcb9031fabb8e20019dd3.png)

---

<div class="post-metadata">

**Author:** ![maarton](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@maarton](https://molflow-forum.web.cern.ch/u/maarton)\
**Post date:** [May 22, 2024, 5:26am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/2 "2024-05-22T05:26:57Z")

</div>

Please note that the term “sample rate” is somewhat misleading. MolFlow refreshes the scene once per second because it is an expensive computational task. This cannot be set to higher frequency. In fact, it can be even disabled for longer simulations:  
 ![Screenshot 2024-05-22 at 14.26.11](https://molflow-forum.web.cern.ch/uploads/default/original/1X/8b921d082c8a82224e967457b4b04135c762c230.png)

Please note that computing time (how long the simulation runs) has nothing to do with physical time, and thus sampling rate is a software feature (how often formula values are recalculated), not related to physics. The convergence plotter helps you find when a formula value converges (when to stop the simulation), so a larger than 1s sample rate would not really be useful.

---

<div class="post-metadata">

**Author:** ![wangpengfy](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/w/ac91a4/32.png) [@wangpengfy](https://molflow-forum.web.cern.ch/u/wangpengfy)\
**Post date:** [May 22, 2024, 12:56pm UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/3 "2024-05-22T12:56:45Z")

</div>

Hello Marton,  
Now I understand “sample rate”.So I want to get the data change in physical time.For example,get the force data on a facet 10 times per second.How should I set in molflow?  
Thanks for reply!

---

<div class="post-metadata">

**Author:** ![maarton](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@maarton](https://molflow-forum.web.cern.ch/u/maarton)\
**Post date:** [May 22, 2024, 1:09pm UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/4 "2024-05-22T13:09:05Z")

</div>

Hello Wang,

There are two tutorials to start using the time-dependent mode (which also supports force measurements).

- If you prefer a Youtube video: [https://www.youtube.com/watch?v=mCvivksgqWY](https://www.youtube.com/watch?v=mCvivksgqWY)
- If by any chance Youtube is not available from you region: [Molflow webinar - Time-dependent simulations basics (Acoustic delay line) · CDS Videos · CERN](https://videos.cern.ch/record/2299579)
- Roberto has made a PDF tutorial: [61st AVS Synopsium tutorial materials | Molflow+](https://molflow.web.cern.ch/node/144) (second tutorial)

After checking out one of them, get back for concrete questions.  
Good luck, Marton

---

<div class="post-metadata">

**Author:** ![wangpengfy](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/w/ac91a4/32.png) [@wangpengfy](https://molflow-forum.web.cern.ch/u/wangpengfy)\
**Post date:** [May 22, 2024, 2:43pm UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/5 "2024-05-22T14:43:13Z")

</div>

Hello Marton,  
I have watched the youtube video,that helps me a lot. Thanks!  
Now,I know how to set time-dependent simulation.But I have a new problem about how to export time dependent data. I want to all the data throught the time span I set ,e.g.record force every 10-3 second.But it seems in molflow it only can record it one by one by hand.Is there a tool can export the data in one time?Thanks for help!  
Best wishes.  
 ![time-dependent](https://molflow-forum.web.cern.ch/uploads/default/original/1X/50c94a6338acafcf6153542a126bcd3152943e55.gif)

---

<div class="post-metadata">

**Author:** ![maarton](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@maarton](https://molflow-forum.web.cern.ch/u/maarton)\
**Post date:** [May 23, 2024, 12:10am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/6 "2024-05-23T00:10:35Z")

</div>

Yes, we added it recently: use this button in the lower left corner of formula editor.  
Make sure you use a recent version of MolFlow (i.e. 2.9.24)  
 ![Screenshot 2024-05-23 at 09.10.09](https://molflow-forum.web.cern.ch/uploads/default/original/1X/29c0aaad419076768e84019c90924f7781e701af.png)

It works for formulas. You can plot time-dependent pressures through Time/Timewise plotter.

There is no way to batch-export quantities on the Facet Details window, though, so formulas are required.

---

<div class="post-metadata">

**Author:** ![wangpengfy](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/w/ac91a4/32.png) [@wangpengfy](https://molflow-forum.web.cern.ch/u/wangpengfy)\
**Post date:** [May 23, 2024, 2:34am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/7 "2024-05-23T02:34:35Z")

</div>

Hello Marton,

I just wanted to express my gratitude for the recent update to version 2.9.24. Now I’m able to export data, which is incredibly helpful for my work. Thank you so much!

I have another question regarding the calculation of Brownian force noise, it’s on this topic: [Brownian noise calculate(gas damping noise)](https://molflow-forum.web.cern.ch/t/brownian-noise-calculate-gas-damping-noise/610). I would really appreciate any advice or guidance you could provide on this topic.

Thank you!

---

<div class="post-metadata">

**Author:** ![rkerseva](https://molflow-forum.web.cern.ch/user_avatar/molflow-forum.web.cern.ch/rkerseva/32/15_2.png) [@rkerseva](https://molflow-forum.web.cern.ch/u/rkerseva)\
**Post date:** [May 23, 2024, 6:38am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/8 "2024-05-23T06:38:37Z")

</div>

Hello Wang Peng:

Concerning how to “use” the tools that Marton has made available in Molflow+ for simulating Brownian motion I suggest you find and read the papers (PhD thesis at University of Trento, Italy) and those published on various peer-reviewed journals by Lorenzo Sala (under prof. Stefano Vitale supervision)… sorry I can’t give you links here now.

---

<div class="post-metadata">

**Author:** ![wangpengfy](https://molflow-forum.web.cern.ch/letter_avatar_proxy/v4/letter/w/ac91a4/32.png) [@wangpengfy](https://molflow-forum.web.cern.ch/u/wangpengfy)\
**Post date:** [May 23, 2024, 8:59am UTC](https://molflow-forum.web.cern.ch/t/how-to-change-molflows-default-sample-rate/617/9 "2024-05-23T08:59:47Z")

</div>

Hello Roberto,  
Thanks for your suggestion.I have read the Phd paper written by Lorenzo Sala,It may need a lot time for me to understand the paper.I hope it can solve my question.  
Best wishes
