|
[Sponsors] |
February 22, 2024, 20:15 |
Moving Cylinder with initial speed
|
#1 |
New Member
Hadi Ebrahimi Fakhari
Join Date: Feb 2024
Posts: 1
Rep Power: 0 |
Hello everyone,
I am working on a simulation involving a cylinder in a channel, where half of the channel is filled with stagnant water and the cylinder moves directly beneath the water surface. Figure 1, which I have attached, illustrates the general concept of this problem. Initially, to simplify the problem, I assigned a fixed speed to the cylinder, which yielded satisfactory results. It's worth mentioning that I utilized an overset mesh for the cylinder and opted for the laminar flow option in my simulation. Now, my goal is to set an initial speed for the cylinder and allow it to come to a stop due to drag force. I understand that this requires writing a User-Defined Function (UDF), and with assistance from a friend, I have drafted something. However, it's not functioning as intended – the cylinder isn't moving. All the tutorial videos I've found online focus on scenarios where there's a moving flow over a stationary object, or they involve defining a path for an object to study its impact on stagnant fluid. Unfortunately, I haven't been able to find any resources that directly relate to the specific requirements of my simulation which specifying a initial velocity and see how the media affect that. I wanted to attach the archive file but the volume was 330 MB and it was not possible but I have attached of my UDF code. It is a great help if somebody can help me with this issue or send me a link of some related video or text which helpful. appreciate your time. |
|
Tags |
moving cylinder |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
laplacianFoam with source term | Herwig | OpenFOAM Running, Solving & CFD | 17 | November 19, 2019 14:47 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 19:17 |
Compressor Simulation using rhoPimpleDyMFoam | Jetfire | OpenFOAM Running, Solving & CFD | 107 | December 9, 2014 14:38 |
SixDoFRigidBodyMotion under OF2.3 ( self oscillating cylinder) | Scabbard | OpenFOAM Running, Solving & CFD | 1 | July 22, 2014 05:50 |
Error while running rhoPisoFoam.. | nileshjrane | OpenFOAM Running, Solving & CFD | 8 | August 26, 2010 13:50 |