|
[Sponsors] |
February 27, 2012, 16:15 |
cg motion-udf-dynamic mesh
|
#1 |
New Member
amir
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
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. |
|
March 11, 2012, 03:50 |
|
#2 |
New Member
Join Date: May 2011
Posts: 22
Rep Power: 15 |
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. |
|
March 12, 2012, 13:51 |
|
#3 |
New Member
amir
Join Date: Feb 2012
Posts: 2
Rep Power: 0 |
||
March 13, 2012, 23:21 |
|
#4 |
New Member
Join Date: May 2011
Posts: 22
Rep Power: 15 |
Hi
There is one example in UDF manual about one directional motion that use Thread for define moving wall in fluent |
|
March 26, 2013, 02:03 |
|
#5 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 22 |
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'. |
|
June 7, 2013, 03:10 |
|
#6 |
New Member
|
hey vasava could you provide us with the tutorial or maybe point us out where its located....thanx
|
|
June 7, 2013, 03:38 |
|
#7 |
New Member
|
hey vasava could you please send me the tutorial on : nitman118@yahoo.com....will be a great help....thanks
|
|
July 14, 2013, 01:47 |
|
#8 |
New Member
|
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. |
|
February 21, 2016, 00:17 |
|
#9 |
New Member
arshia
Join Date: Feb 2016
Posts: 18
Rep Power: 10 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Grid motion with UDF | fivos | Fluent UDF and Scheme Programming | 5 | June 30, 2018 08:50 |
Dynamic Mesh UDF | Jkl | FLUENT | 9 | September 6, 2011 23:43 |
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 |