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

How to calculate relative velocities in impeller

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 3, 2024, 04:38
Default How to calculate relative velocities in impeller
  #1
Member
 
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 62
Rep Power: 3
unilord is on a distinguished road
Hey everyone.

As a part of my Master's Thesis, I am performing a steady state MRF analysis in OpenFOAM V11. I want to compare the CFD data I retrieved with the experimental one on the paper. They have these plots of tangential and axial relative velocities and I don't know how I can obtain these values from openfoam. I know this has to do with the velocities triangles, but I don't know how I can perform this calculation:

- c = u + w, where c is absolute velocity, u is circumferencial velocity and w is relative velocity.

- now I need w_r and w_theta. How can I convert these in openfoam? Or maybe apply a formula in paraview calculator? I saw this function called fieldCoordinateSystemTransform, but I can't manage to use it. Should I put it in the control dict? Or create a file for it in the system folder?
Preferably I would like to perform these transformations as a postprocessing and not in-run process, since I already have the simulations.

Thank you very much,
Pedro Gouveia
unilord is offline   Reply With Quote

Old   April 3, 2024, 06:15
Default
  #2
Member
 
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 62
Rep Power: 3
unilord is on a distinguished road
Quote:
Originally Posted by unilord View Post
Hey everyone.

As a part of my Master's Thesis, I am performing a steady state MRF analysis in OpenFOAM V11. I want to compare the CFD data I retrieved with the experimental one on the paper. They have these plots of tangential and axial relative velocities and I don't know how I can obtain these values from openfoam. I know this has to do with the velocities triangles, but I don't know how I can perform this calculation:

- c = u + w, where c is absolute velocity, u is circumferencial velocity and w is relative velocity.

- now I need w_r and w_theta. How can I convert these in openfoam? Or maybe apply a formula in paraview calculator? I saw this function called fieldCoordinateSystemTransform, but I can't manage to use it. Should I put it in the control dict? Or create a file for it in the system folder?
Preferably I would like to perform these transformations as a postprocessing and not in-run process, since I already have the simulations.

Thank you very much,
Pedro Gouveia

Hey guys,

I just found out how to get the cylindrical velocities, at least for incompressible Fluid, in OpenFOAM v11.

I don't know if it's the most correct way, but it's the only one I discovered. Put this line of code in the control dict, in the functions part:

Code:
#includeFunc fieldAverage(cylindrical(U))
And you run the analysis again, even with the final time step. (t_f) Before it calculates the time step (t_f+1), it will calculate the speed in cylindrical polar coordinates, and will write to the directory corresponding to the final time step. Then just open paraview and there is a "cylindrical(U)" property, with components x,y,z where x=r, y=theta and z=z
unilord 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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 09:10
How can I calculate the Relative Reynolds Number in DPM? Xin FLUENT 0 January 19, 2021 07:45
Calculating change in Relative Humidity Usama1034 Main CFD Forum 1 January 16, 2020 10:14
calculate velocity difference helly OpenFOAM Post-Processing 0 June 21, 2016 08:49
multiphaseInterFoam relative velocities and forces Martin_K_lalelu OpenFOAM Running, Solving & CFD 0 June 12, 2014 08:16


All times are GMT -4. The time now is 10:56.