|
[Sponsors] |
How to get average flow quantities from oscillating steady solver results in FLUENT |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 1, 2018, 12:55 |
How to get average flow quantities from oscillating steady solver results in FLUENT
|
#1 |
New Member
Join Date: Apr 2018
Posts: 5
Rep Power: 8 |
I simulate one case using pressure-based, steady solver. Pressure-velocity coupling scheme is SIMPLEC. After 1,000 iterations all the residuals becomes flat, with the continuity residual around 3e-1 (obviously not small enough to be satisfactory). Flow quantity (e.g. temperature) on one sampled point was also monitored. Temperature on this sampled point oscillates from 295 K to 312 K for every 20 iterations.
Now I want to calculate the average flow quantities (including velocity magnitude, temperature) over the whole fluid domain during those 20 iterations. Could anyone tell me how to do it in FLUENT? PS: For transient solver in FLUENT, you can enable the option 'data sampling for time statistics' to average among time steps. But for steady solver in Fluent, is there similar way to average among iterations? Pictures of scaled residual and temperature history on the sampled point are also attached for reference. |
|
August 1, 2018, 13:16 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
Fluent doesn't have this option built-in. Although I agree it would be a nice diagnostic tool to have. You should request it as a feature to Ansys support and maybe it'll show up in a future version.
|
|
August 1, 2018, 13:25 |
|
#3 |
New Member
Join Date: Apr 2018
Posts: 5
Rep Power: 8 |
Many thanks for your reply. Is it possible to use Macros in 'Execute Commands' under 'Calculation Activities', or even, hook up a UDF? I have tried these manners but still haven't got a clue... Many thanks if you could give a hint.
|
|
August 1, 2018, 13:26 |
|
#4 |
New Member
Join Date: Apr 2018
Posts: 5
Rep Power: 8 |
Many thanks for your reply. Is it possible to use Macros in 'Execute Commands' under 'Calculation Activities', or even, hook up a UDF? I have tried these manners but still haven't got a clue... Many thanks if you could give a hint.
|
|
August 1, 2018, 18:15 |
|
#5 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
You are right it certainly is doable with a udf. Off the top of my head I don't know what the final form would be. You would only need to loop through the cell thread and keep an index of the iteration count. It sounds simple at least... You might want to google udf's for calculating the time-average and replacing the time-step with iterations.
|
|
August 2, 2018, 05:12 |
|
#6 | |
New Member
Join Date: Apr 2018
Posts: 5
Rep Power: 8 |
Quote:
|
||
August 2, 2018, 07:58 |
|
#7 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
ansys fluent customization manual
youtube this forum as well best regards |
|
August 2, 2018, 13:39 |
|
#8 | |
New Member
Join Date: Apr 2018
Posts: 5
Rep Power: 8 |
Quote:
|
||
September 21, 2022, 19:08 |
averaging values over a few iterations
|
#9 | |
New Member
Mehrnoosh Ahmadi
Join Date: Sep 2022
Posts: 2
Rep Power: 0 |
Quote:
Last edited by Nush87; September 21, 2022 at 19:30. Reason: more details |
||
Tags |
average field, fluent, iterations, steady solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
About Some Concepts:Laminar flow, turbulent flow, steady flow and time-dependent flow | Jing | Main CFD Forum | 8 | October 5, 2018 18:02 |
FLUENT: Oscillating Results for Cd and Cl values | mrwts | FLUENT | 1 | September 14, 2016 05:03 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |
using steady state results for unsteady flow | siva appanna | Main CFD Forum | 3 | February 20, 2006 06:29 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 22:31 |