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

UDF for calculating angular velocity in a rotating tank

Register Blogs Community New Posts Updated Threads Search

Like Tree11Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 18, 2020, 13:26
Default Image
  #21
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
The image you have shared is not very clear about which one is axis and which one is radial direction.
vavnoon likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 18, 2020, 14:21
Default
  #22
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 6
vavnoon is on a distinguished road
Sorry, the following is more clear. The tank rotates around the y-axis and the plane including the polar coordinates coincides with the x-z plane.
Attached Images
File Type: png 5.PNG (15.4 KB, 6 views)
vavnoon is offline   Reply With Quote

Old   June 19, 2020, 06:40
Default Results
  #23
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
The results are as they should be. There is no vortex, it is just the effect of the axis of rotation. If you want vortex, then do not rotate the cell zone. Only set the outermost wall as a moving wall.
vavnoon likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 20, 2020, 04:29
Default
  #24
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 6
vavnoon is on a distinguished road
Dear Vinerm,

Could you please give me more explanation?
I think in this case the mesh rotates at the same speed as the tank and it doesn't have any deformation.
Using mesh motion, we don't have mesh deformation. The cells experience a rigid motion. Furthermore, using the material definition as fluid (having viscosity property) and wall existence, it is expected that the fluid motion be not rigid. As we know, the relative motion between fluid and mesh is considered in Navier-Stokes eq. in the sliding mesh.

I think if I just rotate walls, the mesh will be deformed.

What do you think in this regard?

Thank you so much for your time
vavnoon is offline   Reply With Quote

Old   June 20, 2020, 15:42
Default Mesh Motion and Fluid Motion
  #25
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
By providing rotation to whole mesh zone, you are stating that whole fluid should rotate as a rigid body. Whether it should be mesh motion or moving wall, depends upon the objective of the simulation as well as the physics. In case there is any impeller that is making the fluid rotate, then you should use that impeller and give either frame motion or mesh motion to the region containing the impeller. However, if it is a kind of a drum or barrel containing fluid and is rotating, then using mesh motion is incorrect. You need to give motion to wall.

Moving wall is not deforming mesh approach. The mesh is always fixed.

Navier-Stokes equation has no concept of mesh of any type. Eulerian frame always has fluid motion relative to mesh. But whether the mesh should move or not depends on the physical phenomenon.
vavnoon likes this.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 28, 2020, 02:35
Default
  #26
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 6
vavnoon is on a distinguished road
Dear Vinerm,

Many thanks for your reply.

If the cross-section is non-circular, am I able to use just moving wall?

Could you please guide me?
Thanks
vavnoon is offline   Reply With Quote

Old   June 30, 2020, 10:57
Default
  #27
Member
 
vav noon
Join Date: May 2020
Posts: 49
Rep Power: 6
vavnoon is on a distinguished road
Does it need to use DEFINE_GRID_MOTION macro?


Thank you
vavnoon is offline   Reply With Quote

Reply


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
UDF for inlet velocity alongwith UDF for properties akshayy224 FLUENT 0 February 1, 2018 10:17
[Transient Simulation] Angular Velocity dependent on different parameters than time ThalesMachado CFX 1 July 28, 2017 07:36
UDF for time dependent angular velocity calculation shashankmechguy Fluent UDF and Scheme Programming 2 October 24, 2016 05:43
UDF for defining a body force in Singel ROtating Reference Frame teymourj Fluent UDF and Scheme Programming 9 August 18, 2016 16:33
UDF velocity and temperature Raj FLUENT 3 February 1, 2009 19:29


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