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

cg motion-udf-dynamic mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 27, 2012, 17:15
Default cg motion-udf-dynamic mesh
  #1
New Member
 
amir
Join Date: Feb 2012
Posts: 2
Rep Power: 0
omidvar is on a distinguished road
I wrote a simple UDF code for describing pitching motion of a
projectile as below:
#include"udf.h"
DEFINE_CG_MOTION(pitching,dt,vel,omega,time,dtime)
{
omega[2]=20.0*cos(10.0*time*3.1416/180.0);
}

But when I wanted to create dynamic mesh zone, Fluent reports:
"Warning: incorrect cg motion UDF pitching on zone 10 (assuming no motion)"
I confused, I searched udf manual and cfd online forums but I couldn't
find the reason of problem.
If someone know the solution please help me.
omidvar is offline   Reply With Quote

Old   March 11, 2012, 04:50
Default
  #2
New Member
 
Join Date: May 2011
Posts: 22
Rep Power: 6
Spring.s is on a distinguished road
Hi dear Amir
I think that the using udf for your case, is very short!
Too, i think that You must define Thered in udf.
Spring.s is offline   Reply With Quote

Old   March 12, 2012, 14:51
Default
  #3
New Member
 
amir
Join Date: Feb 2012
Posts: 2
Rep Power: 0
omidvar is on a distinguished road
Quote:
Originally Posted by Spring.s View Post
Hi dear Amir
I think that the using udf for your case, is very short!
Too, i think that You must define Thered in udf.
Hi dear Spring
Whould you please explain more?
what is Thered in udf?
omidvar is offline   Reply With Quote

Old   March 14, 2012, 00:21
Default
  #4
New Member
 
Join Date: May 2011
Posts: 22
Rep Power: 6
Spring.s is on a distinguished road
Hi
There is one example in UDF manual about one directional motion that use Thread for define moving wall in fluent
Spring.s is offline   Reply With Quote

Old   March 26, 2013, 03:03
Default
  #5
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 545
Rep Power: 12
vasava will become famous soon enough
I think that you must have something else in your UDF that describes the motion/position of other faces/boundaries in your domain. While you have moving/dynamic face/boundary the motion of mesh attached to this face affects the meshes attached to other faces/boundaries.

I suggest you have a close look at the tutorial titled 'Using a UDF to Control the Dynamic Mesh of a Flexible Oscillating Membrane'.
vasava is offline   Reply With Quote

Old   June 7, 2013, 03:10
Default
  #6
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 4
nitman118 is on a distinguished road
Send a message via Yahoo to nitman118
hey vasava could you provide us with the tutorial or maybe point us out where its located....thanx
nitman118 is offline   Reply With Quote

Old   June 7, 2013, 03:38
Default
  #7
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 4
nitman118 is on a distinguished road
Send a message via Yahoo to nitman118
hey vasava could you please send me the tutorial on : nitman118@yahoo.com....will be a great help....thanks
nitman118 is offline   Reply With Quote

Old   July 14, 2013, 01:47
Default
  #8
New Member
 
Poria honarmand
Join Date: Jul 2012
Location: Iran
Posts: 3
Rep Power: 5
poriaFoam is on a distinguished road
Send a message via Yahoo to poriaFoam
Hi Mr omidvar
I had same problem like you, and i found it depends on your fluent version, i guess you use fluent x64, if you use from x86/x32 it will solve.
poriaFoam 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
Dynamic Mesh UDF Jkl FLUENT 9 September 6, 2011 23:43
Grid motion with UDF fivos Fluent UDF and Scheme Programming 2 February 27, 2011 05:51
Dynamic mesh udf example avant FLUENT 2 September 16, 2005 01:24
UDF, dynamic mesh motion phil FLUENT 0 September 15, 2004 05:42
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 09:29


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