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

Relative rotary motion of mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2019, 17:28
Question Relative rotary motion of mesh
  #1
New Member
 
Łukasz
Join Date: May 2019
Posts: 5
Rep Power: 7
lukaszrze is on a distinguished road
Hello!
I described the goal of my project in the simple drawing below:


https://ibb.co/tPcfPn3

The black circle is rotating (around its geometric center - c1) and in the same time the red circle is rotating (around c2). The problem is that the position of c2 is changing in time and the red circle is rotating back and forth - in a sinusoidal function.

The question is how can I do this in Fluent?

I tried to write a macro and use it in dynamic mesh and it works for the black circle so its rotating.

How can I define relative motion of the red circle?

I checked the option "relative motion" to dark circle in dynamic mesh but then the red circle moves in a totally wierd manner when I use the most simple macro for the black and red circle:

#include "udf.h"

DEFINE_CG_MOTION(turbine_om, dt, vel, omega, time, dtime)
{
omega[0] = 0;
omega[1] = 0;
omega[2] = 2;
}

Thanks for the attention
lukaszrze is offline   Reply With Quote

Old   June 14, 2019, 19:05
Default
  #2
New Member
 
Łukasz
Join Date: May 2019
Posts: 5
Rep Power: 7
lukaszrze is on a distinguished road
I renew my question

does anybody have any suggestion?

thak you
lukaszrze is offline   Reply With Quote

Reply

Tags
dynamic mesh, relative motion, rotary mesh


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
dynamicFvMesh - tabulated motion of a solid body + mesh morphing HendrikW OpenFOAM Pre-Processing 3 December 3, 2019 03:05
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
Dynamic moving mesh Pei-Ying Hsieh (Hsieh) OpenFOAM Running, Solving & CFD 64 June 7, 2012 11:04
Prescribed mesh motion does not correspond to actual motion rbarrett CFX 8 June 30, 2011 14:22


All times are GMT -4. The time now is 13:00.