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

Flapping wing along inclined hovering (Flaping wing) Dynamic mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 12, 2016, 06:32
Default Flapping wing along inclined hovering (Flaping wing) Dynamic mesh
  #1
Member
 
Arun raj.S
Join Date: Jul 2011
Posts: 72
Rep Power: 7
arunraj is on a distinguished road
Hi everyone,

I am simualting dragonfly motion. I want to use structured mesh around the aerfoil. But i did so many tries but I am not able to succeed using CG-MOTION. It is mainly due to the interface. Shadow of the interface (interface2) stays in the same place but the other interface move with the inner body. Both interface and shadow are not moving together. Please let me know what is the problem. I can give all the details u want.

I am using smoothing, remeshing for the outer domain. My udf is working but I dont knw what to do at the interface.

Smoothing = 0, remeshing accourding to mesh size. I followed the instructions in the tutorial. I dont know how he did, but this video shows that in fluent we can use dynamic mesh and interface

https://www.youtube.com/watch?v=01hOD68DxrM

x(t) = (Ao/2)*(1+cos(2*pi*f*t)*(cos(beta))
y)(t) = (Ao/2)*(1+cos(2*pi*f*t)*(sin(beta))
alpha(t) = alphao+B sin(2*pi*f*t)
Ao=2.5 cm
B=pi/4
alphao=pi/4
f=40 Hz
beta = 60 degree


I have differentiated the above function and applied in the udf

vel[0] = - A0/2 * 2*pi*f*cos(beta)*sin(2*pi*f*t)
vel[1] = - A0/2 * 2*pi*f*sin(beta)*sin(2*pi*f*t)
omega[2]= B *2*pi*f*cos(2*pi*f)
Attached Images
File Type: jpg Domain.jpg (63.3 KB, 12 views)
File Type: jpg Mesh and dynamic mesh settings.jpg (144.5 KB, 12 views)
Attached Files
File Type: c second.c (1.1 KB, 4 views)
arunraj is offline   Reply With Quote

Old   May 14, 2016, 02:59
Default Steps followed for flapping wing and interface error
  #2
Member
 
Arun raj.S
Join Date: Jul 2011
Posts: 72
Rep Power: 7
arunraj is on a distinguished road
Hi everyone,

I have tried so many times but not able to succeed. So I have prepared a pdf (as followed in the below link) containing all the steps I followed for my simulation. I have attached my UDF also. Kindly someone let me know the reason why this is happening Thank you once again.

https://drive.google.com/file/d/0B7L...ew?usp=sharing
https://drive.google.com/file/d/0B7L...ew?usp=sharing
Attached Files
File Type: c second.c (1.1 KB, 1 views)
arunraj is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Fatal Error signal in flapping wing analysis gopalkrishnan FLUENT 0 December 22, 2014 10:18
mesh missing after export in gambit morteza08 Main CFD Forum 0 July 23, 2010 02:19
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10
Gambit problems Althea FLUENT 21 February 6, 2001 08:05


All times are GMT -4. The time now is 22:05.