CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT

Moving average

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2021, 10:54
Default Moving average
New Member
Martin Rønnov Andersen
Join Date: Oct 2018
Location: Aalborg, Denmark
Posts: 10
Rep Power: 6
Skymaas is on a distinguished road

Is it possible to create a moving average on a field variable, obtained at a face/boundary?

I want to be able to set the inlet velocity, based on the static pressure. The static pressure is then used to determine a volumetric flow, by evaluating a specific fan curve.

Currently, I'm evaluating the fan curve for 1 value, in each iteration, and this causes the model to diverge, simply because it's way too aggressive - the static pressure spikes every time the model changes the inlet velocity.
I've tried to create a "Report Definitions" and set it to average over 5 iterations but this didn't work.
Next, I've tried to adjust the interval for when the fan curve should be evaluated - so the model would evaluate the fan curve every 20th iteration, in order to obtain a steady value for the static pressure - this didn't work either.

I'm wondering if this can be done with a UDF?

Thank you!
Skymaas is offline   Reply With Quote

Old   April 22, 2021, 10:24
Join Date: Nov 2017
Posts: 41
Rep Power: 7
Vestdam is on a distinguished road
I have been wondering the same. Hope someone can help
Vestdam is offline   Reply With Quote


average, fan curve, fluent, iteration, moving

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Internal Flow Instability with layers Zephiro88 OpenFOAM Running, Solving & CFD 1 June 20, 2019 05:20
HELP - Moving car simulation in fluent Brad Wells FLUENT 7 January 4, 2018 20:55
area weighted average or mass weighted average sa har Main CFD Forum 0 January 5, 2016 14:16
2D selective mesh generation Durga Sravan ANSYS 17 February 5, 2014 01:56
Moving boundary destroy other internal meshing yhaomin2007 OpenFOAM 1 November 7, 2013 03:34

All times are GMT -4. The time now is 05:45.