|
[Sponsors] |
2-D translational motion with certain behaviour |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2018, 08:11 |
2-D translational motion with certain behaviour
|
#1 |
New Member
Join Date: Mar 2018
Posts: 24
Rep Power: 8 |
Hi,
I am trying to make a rigid circle move in a particular way. I have the following udf: #include "udf.h" DEFINE_CG_MOTION(translational_profile, dt, vel, omega, time, dtime) { real u1 = 1.0; vel[0] = u1; vel[1] = 0.0; vel[2] = 0.0; } I want to realize the following motion: 1. Displacement for a certain value of distance from point A to point B 2. No Motion for a certain amount of time at point B 3. Displacement from point B back to point A My knowledge in C programming is very poor, so I have no idea how the code which provides this motion behaviour should look like. Can anyone help me with this? Thanks in advance! Last edited by maccheese; April 21, 2018 at 12:06. |
|
April 12, 2024, 02:03 |
|
#2 |
New Member
Quoc-Viet Le
Join Date: Mar 2023
Posts: 18
Rep Power: 3 |
Hello sir,
Can I see your UDF code, I have a similar problem with this |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sliding mesh for translational relative motion between solid and fluid | shashankmechguy | FLUENT | 2 | April 12, 2024 18:27 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 05:27 |
External management of solid motion (using dynamicmesh) | maxou1993 | Main CFD Forum | 0 | July 28, 2015 12:37 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |