|
[Sponsors] |
April 30, 2022, 06:02 |
Weird phenomenon on Trnavg results
|
#1 |
New Member
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 9 |
Dear all,
I am doing a transient simulation with a need to get the time averaged velocity field using the "arithmetic average" set in CFX-Pre. But, when I check the time average results, I have found that for the nearly unchanged transient velocity profile which was extracted far upstream from the separation bubble and thus remains almost steady there (which has been checked from the transient data), its resulted time-averaged profile differ greatly from it. In particular, the time-averaged profile oscillates a lot and is further more discontinuous along the normal direction (y), while the transient one is smooth. These can be found in the figures here called "u_trnavg changes" and "u_unchange". u_trnavg_changes.jpg u_unchange.jpg From these figures you can also find that the issue became more and more worse with the increase of total time steps!!! To find the reason, I tried to calculate the time average of this field by extracting the transient ".trn" results to matlab and get the mean of them. Unlike the above, this time the time-averaged profile perfectly matches the nearly steady transient one as early expected!!! This really confused me and any help will be appreciated!!! Thank you in advance! Best Regards, Mona Last edited by mona.li; April 30, 2022 at 08:40. |
|
April 30, 2022, 06:45 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144 |
Please post images directly into the forum, do not use third party sites. Here is how: https://www.cfd-online.com/Wiki/Ansy...n_the_forum.3F
I have no idea why you are getting these weird results. You are going to have to analyse in detail what you are doing and what could be happening. We cannot do this over the forum as you will need to look at exactly how you have set it up. You may have found a bug in the transient averaging, or you may have not set it up correctly. You will have to figure it out. If you post your output file we can try to help, but the chances of us finding the cause are slim.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
April 30, 2022, 08:46 |
|
#3 | |
New Member
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 9 |
Quote:
The figure below shows my setting on the "Trn Stats" part, which seems to be the only related part with the time-averaging in CFX considering that the time-averaging here seems to be a purely arithmetic process in theory which means it is not affected by how the model would be set. Trn_Stats_setting.jpg I don't know whether this thought is correct and if there is something wrong with my setting? Besides, I hope to know if there is any way to know the algorithm of this function in CFX-solver? Thank you very much in advance and any reply will be appreciated! Best regards, Mona |
||
April 30, 2022, 22:19 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144 |
It should be just a time weighted average, so a very simple function.
The best way to work out if it is behaving as expected is to give it some test cases and see if it does what you expect. On a simple test case (like flow in a pipe or something) does it give the expected results if nothing changes with time? If you linearly ramp it over time? Do a step change?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
May 1, 2022, 00:38 |
|
#5 | |
New Member
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 9 |
Quote:
My time step has never been changed during the whole statistic process. I will next do some tests according to your suggestion. Best regards, Mona. |
||
Tags |
arithmetic average, transient average results, trnavg |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Save Results automatically by APDL Command | ansyxyz | ANSYS | 1 | June 5, 2018 09:16 |
Mass Fraction F_YI yields weird results | CFDJonas | Fluent UDF and Scheme Programming | 8 | May 9, 2018 10:22 |
very weird results 2d vs 3d simulation of airfoil | dennis722 | STAR-CCM+ | 8 | April 17, 2017 00:15 |
Simulating an unsteady phenomenon with a steady model | JochemGrietens | Main CFD Forum | 2 | April 13, 2016 12:51 |
Transient Run - Output "Time" in partial results? | evcelica | CFX | 2 | May 16, 2012 22:36 |