
[Sponsors] 
Achieving Angular Velocity in a 3D Cylinder Simulation 

LinkBack  Thread Tools  Search this Thread  Display Modes 
February 9, 2023, 21:41 
Achieving Angular Velocity in a 3D Cylinder Simulation

#1 
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 
Hi,
In this post, I will be discussing the method for obtaining angular velocity in a cylinder in a 3D numerical simulation. I am utilizing Fortranbased inhouse coding to simulate a bar and a cylinder. The simulation for the bar (referred to as Figure1) was successful and I had no issues. For the bar, I used the following initial velocity conditions: a positive 'u' velocity along the xaxis, a 'v' velocity of zero along the yaxis, and a 'w' velocity of zero along the zaxis. This resulted in a streamlined pattern, calculated using √(u^2+v^2+w^2 ), as shown in Figure2. Regarding the 3D cylinder simulation (Figure3), using the same procedure for initializing the velocities did not produce the desired result, as seen in Figure4. I want to achieve a positive angular velocity within the cylinder, but I am unsure how to specify the 'u' and 'v' velocities to achieve this. I know the 'w' velocity must be zero, but I need a solution for the 'u' and 'v' velocities that will result in the desired angular velocity, as shown in Figure5.
__________________
Regards, Niyas 

February 10, 2023, 05:12 

#2  
Senior Member

Quote:
In the end, your cartesian velocity components and at given and where you know the tangential velocity are given by: 

February 12, 2023, 22:57 

#3 
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 
@sbaffini, the command you suggested was very effective (Figure1). Thank you!!
Is it possible to set the 'u' and 'v' velocities as constant within the cylinder? At present, the 'uvelocity' (Figure2) and 'vvelocity' (Figure3) have varying values within the cylinder. Is there a method to make them constant? I aim to maintain a steady cartesian flowfield velocities within the cylinder.
__________________
Regards, Niyas 

February 13, 2023, 05:39 

#4 
Senior Member

I probably don't understand. How can the two velocities be constant AND parallel to the cylinder surface at the same time?
You kind of made a clear picture of the streamlines you wanted, and those can't be achieved by constant u and v. 

February 13, 2023, 05:56 

#5 
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 
"In a 3D bar, there is an initial condition of a positive uniform velocity of 5.5 m/s (u = 5.5 m/s and v = 0) flowing from one end to the other.
Similarly, I need to create a uniform velocity field within a cylinder as an initial condition. Instead of using linear velocity (u), should I use angular velocity (omega)? Omega is calculated as the tangential velocity divided by the radius. If I opt for omega, then I won't have 'u', 'v', and 'w'. Instead, I'll only have 'omega' and 'w'. Will this necessitate a modification of the entire code structure, including the governing equations, etc.? My aim is to replicate the results obtained in a 3D bar in a 3D cylinder. Initially, I thought I could simply change the geometry from a bar to a cylinder to obtain the same results. Will this approach work?
__________________
Regards, Niyas 

February 13, 2023, 06:17 

#6 
Senior Member

Nothing of this really helps.
Flow in your geometry can either be fully tangential with no axial component, like in my first answer, or only axial with no tangential component (in this case your velocity will have just the z component of your choice) or both (you combine my first answer with your preferred z component). Any other initialization will give you a velocity going into or out of walls. If you have a reference work you want to replicate, it is better if you just put a link here of the whole work 

February 13, 2023, 21:42 

#7 
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 
I appreciate your valuable insights and thank you for taking the time to share them.
If it's not too much trouble, would you kindly provide me with your email address? I'd like to share more details with you about the project. Alternatively, if you prefer, you could simply send a quick "hi" to my email address at niyasdeen.aero@gmail.com.
__________________
Regards, Niyas 

February 14, 2023, 05:50 

#8  
Senior Member

Quote:
My suggestion is to clearly state your problem here, what you want to do, how, where you have problems and which problems. Then anyone, including me, is here to help. But, at least personally, I'm willing to help when my contribution is around 10% at most, possibly less. I want the freedom to just drop any correspondence when I feel that there aren't the conditions anymore to help. If you write to me, I still have that freedom of course, but then I look like an a..hole, which is not nice in any case. In your specific case, you should better describe your problem, in my opinion. But maybe someone else will understand, which is your main advantage from keeping this thing here instead of private email. 

February 15, 2023, 22:53 

#9 
Member
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13 
Thank you for sharing your thoughts. I will take your suggestions into consideration and provide more details about my problem in the future.
Additionally, I wanted to let you know that I'm planning to move forward with no velocity as an initial condition, as you mentioned. However, I've bumped into another issue that I will create in a separate thread. Thank you again for your help and advice.
__________________
Regards, Niyas 

Tags 
angular velocity, cylinder, numerical simulation, streamline pattern 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Import .csv  velocity profile  error  eSKa  CFX  9  April 3, 2021 14:38 
How to extract Angular Velocity from Simulation?  David12  FLUENT  3  August 14, 2020 01:26 
Velocity Sampling in parallel simulation  Torii_Nagi  Fluent UDF and Scheme Programming  1  July 20, 2020 02:29 
Simulation of radial gas turbine, Inlet velocity components  dmaz  CFX  17  May 19, 2019 10:45 
export velocity profile and import in an other simulation as initial condition  FFD  STARCCM+  4  February 5, 2016 08:27 