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

cg motion-udf-dynamic mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 15
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: 15
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: 732
Rep Power: 23
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, 04:10
Default
  #6
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 13
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, 04:38
Default
  #7
New Member
 
Nitish Singh
Join Date: May 2013
Location: India
Posts: 17
Rep Power: 13
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, 02:47
Default
  #8
New Member
 
Poria honarmand
Join Date: Jul 2012
Location: Iran
Posts: 3
Rep Power: 14
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

Old   February 21, 2016, 01:17
Default
  #9
New Member
 
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10
hamed1987 is on a distinguished road
hi omidvar,
if you describe your case ,
maybe i could help you,
what is your case and what do you want ???
what is your mesh zone setup??
i think you have a problem in dynamic mesh setup
hamed1987 is offline   Reply With Quote

Reply


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
Grid motion with UDF fivos Fluent UDF and Scheme Programming 5 June 30, 2018 09:50
Dynamic Mesh UDF Jkl FLUENT 9 September 7, 2011 00:43
Dynamic mesh udf example avant FLUENT 2 September 16, 2005 02:24
UDF, dynamic mesh motion phil FLUENT 0 September 15, 2004 06:42
Problem related with UDF for dynamic mesh Ryan FLUENT 6 April 29, 2004 10:29


All times are GMT -4. The time now is 20:28.