CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Weird phenomenon on Trnavg results

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2022, 05:02
Default Weird phenomenon on Trnavg results
  #1
New Member
 
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 8
mona.li is on a distinguished road
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 07:40.
mona.li is offline   Reply With Quote

Old   April 30, 2022, 05:45
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   April 30, 2022, 07:46
Default
  #3
New Member
 
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 8
mona.li is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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.
Thank you very much for your kindly suggestion and sorry for wrongly posting the pictures.

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
mona.li is offline   Reply With Quote

Old   April 30, 2022, 21:19
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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.
ghorrocks is offline   Reply With Quote

Old   April 30, 2022, 23:38
Default
  #5
New Member
 
mona Li
Join Date: Sep 2017
Posts: 8
Rep Power: 8
mona.li is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
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?
Thank you very much for the kindly reply.

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.
mona.li is offline   Reply With Quote

Reply

Tags
arithmetic average, transient average results, trnavg


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save Results automatically by APDL Command ansyxyz ANSYS 1 June 5, 2018 08:16
Mass Fraction F_YI yields weird results CFDJonas Fluent UDF and Scheme Programming 8 May 9, 2018 09:22
very weird results 2d vs 3d simulation of airfoil dennis722 STAR-CCM+ 8 April 16, 2017 23:15
Simulating an unsteady phenomenon with a steady model JochemGrietens Main CFD Forum 2 April 13, 2016 11:51
Transient Run - Output "Time" in partial results? evcelica CFX 2 May 16, 2012 21:36


All times are GMT -4. The time now is 16:28.