CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How does the utility fieldaverage work in a rotating zone (dynamic mesh)?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By MazenDraw

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 14, 2019, 08:40
Default How does the utility fieldaverage work in a rotating zone (dynamic mesh)?
  #1
New Member
 
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8
MazenDraw is on a distinguished road
I am running a dynamic mesh case (AMI), where the moving zone rotates around the z-axis. A usual rotor-stator case. When I'm using the fieldaverage utility however I am not sure what the results are representing in the rotating zone.


  • Does the tool use the absolute velocity or the relative velocity in the rotating zone?
  • Is the averaging performed on moving mesh cells ID's or static points in the domain?


Attached you find two images. One for the simultaneous velocity and the other for the mean velocity. The image with the mean velocity shows the rotating zone with low velocity values in the rotating zone.


Thanks for your help!
Attached Images
File Type: jpg U.jpg (42.8 KB, 65 views)
File Type: jpg UMean.jpg (47.3 KB, 56 views)
MazenDraw is offline   Reply With Quote

Old   October 18, 2019, 04:41
Default
  #2
New Member
 
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8
MazenDraw is on a distinguished road
After some more investigation, I realized that this is the absolute velocity. The thing is that the rotating zone is rotating around z-axis. The averaging performed in the tool is applied to the absolute velocity x, y and z components. Therefore, as the rotating zone rotates with time, x- and y-velocity components cancel each other. The only thing that stays after averaging is the z-component, hence the previous attached plot.


For now, I chose to calculate the magnitude of the absolute velocity vector and cumulatively average it with time. I have done this manually on points of interest.
louisgag likes this.
MazenDraw is offline   Reply With Quote

Old   October 26, 2020, 09:13
Default
  #3
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hi, thanks for sharing your findings.
I would add that, when the mesh rotates, the mean is taken per cell/face.
These cells/faces rotate and thus sample different geometric points in your domain at each timestep.

You end up having, in your rotating zones, a mean which is only valid as seen as "moving with the cell"...
So if you had a rotating cylinder mesh with nothing inside of it with a constant velocity flow streaming through it, your mean would still end up looking incoherent.
louisgag is offline   Reply With Quote

Old   June 23, 2021, 14:12
Default
  #4
New Member
 
Joel S J
Join Date: Aug 2013
Posts: 13
Rep Power: 13
SSSERB13 is on a distinguished road
Hi MazenDraw,
I am dealing with this situation now and I am questioning if my results are right or not. When using the velocity magnitude to see the results we can see a big velocity gradient outside the moving region, however, the case is running well. How I can evaluate these two fields or stationary and rotating frame in OF?

Please find attached the image that illustrates the velocity magnitude results.
Attached Images
File Type: png AMI-OF.png (194.8 KB, 27 views)
File Type: jpg AMI-OF_2.jpg (125.5 KB, 23 views)
File Type: jpg AMI-OF_3.jpg (140.4 KB, 17 views)
SSSERB13 is offline   Reply With Quote

Reply

Tags
dynamic mesh, fieldaverage


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
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 13:38
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 12:14
[GAMBIT] periodic faces not matching Aadhavan ANSYS Meshing & Geometry 6 August 31, 2013 12:25
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52


All times are GMT -4. The time now is 12:15.