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

Preview of zone motion

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 26, 2011, 13:40
Default Preview of zone motion
  #1
New Member
 
Join Date: Apr 2010
Posts: 18
Rep Power: 7
M.Sc_Student is on a distinguished road
Hi dear friends
I'm doing a simulation of a flapping airfoil. I have a udf, and I have compiled it and I also created dynamic mesh zones related to motion, but I can not see the preview of motion by use of zone motion under the display tab. this is the udf:
______________________________________
#include "udf.h"
DEFINE_CG_MOTION(plunging_motion,dt,vel,omega,time ,dtime)
{
Thread *t;
face_t *f;
NV_S(vel,=,0.0);
NV_S(omega,=,0.0);
if(!Data_Valid_P())
return;
vel[1]=2.495*cos(6.2392*time);
}
_____________________________________
I have attached my airfoil and it's boundary to this thread.
I would really appreciate your help.
thanks
Attached Images
File Type: jpg Untitled1.jpg (71.3 KB, 23 views)
M.Sc_Student is offline   Reply With Quote

Old   April 5, 2011, 13:27
Default Re:
  #2
svp
New Member
 
Join Date: Dec 2010
Posts: 16
Rep Power: 6
svp is on a distinguished road
I am not sure if display/zone motion is what you want to do to preview your mesh motion. Try Solve/Mesh Motion instead..

Let me know if it works.
svp is offline   Reply With Quote

Old   April 7, 2011, 10:48
Default
  #3
New Member
 
Join Date: Apr 2010
Posts: 18
Rep Power: 7
M.Sc_Student is on a distinguished road
Dear svp
thanks for your advice, I done it, it was amazing, Do you have any idea how should I determine the dynamic mesh parameters to keep the resolution of the mesh? I mean for instance what should I enter for the maximum cell skewness in remeshing method or what should be the amount of spring constant factor in smoothing method?
thanks again
M.Sc_Student is offline   Reply With Quote

Old   April 7, 2011, 10:57
Default
  #4
svp
New Member
 
Join Date: Dec 2010
Posts: 16
Rep Power: 6
svp is on a distinguished road
The dynamic mesh parameters are dependent on what region of the model you are remeshing/layering etc. I think it is recommended to maintain the same order of magnitude as your original cell size for remeshing with regards to maximum and minimum height.. With regards to the skewness, you can choose 1.0 but if this is a region where most of the fluid mechanics of interest is then a value of 0.8-0.9 would be more appropriate in my opinion. This way you ensure you do not introduce numerical errors into the solution with skewed meshes..

I have not really used spring smoothing so far, so I cannot comment on that..
svp 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 01:08
Error to re-open fluent case file J.Gimbun FLUENT 0 April 27, 2006 08:42
Cannot preview mesh motion! dvinh FLUENT 0 August 17, 2004 23:44
Sliding mesh error Karl Kevala FLUENT 4 February 21, 2001 16:52


All times are GMT -4. The time now is 19:58.