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

Time-averaged velocity for transient flow using UDF or Data sampling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 13, 2017, 20:34
Default Time-averaged velocity for transient flow using UDF or Data sampling
  #1
New Member
 
Join Date: Oct 2017
Posts: 2
Rep Power: 0
7sen is on a distinguished road
Hello Everyone,

I'm conducting some research for my Master's project and I'm having some trouble figuring this out. I searched everywhere for a solution but I can't seem to find one.

I've only seen one reply but I can't access the UDF they provided (http://www.eureka.im/1104.html)

I'd really appreciate it if someone can help me. An example is this:

I iterated my case till timestep no. 200, saving files after every 10 timesteps. Now I want to see the average velocity for timesteps 50 to 120.

I tried looking at Data sampling, but I couldn't find a place where I can choose from timesteps 50 to 120; or any range of timesteps that is.

I would really appreciate any help.

Best Wishes,

HZ
7sen is offline   Reply With Quote

Old   October 18, 2017, 12:11
Default
  #2
New Member
 
Martin
Join Date: Apr 2017
Location: Germany
Posts: 26
Rep Power: 9
2phase is on a distinguished road
Hi HZ,

best way is to define your own monitor points and report files.
On the left hand side in "monitors" you can define your own statements/parameters/monitor points for surfaces or volumes like "mass weighted average of velocity @ inlet" similar things.

Then you can plot them like the residuals or check to write them to a file in your solution directory... if you have several variables you can create a report file and get them all into one file with values for every time step / iteration and then process them in Matlab or whatever.

Of course you need to define this before running the simulation, I do not know if there is an option for getting this data after a calculation similar to what you just tried.

Good luck trying.

Martin
2phase is offline   Reply With Quote

Reply

Tags
average, fluent, time, transient, velocity


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
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 03:50
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34


All times are GMT -4. The time now is 14:08.