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

Zone motion in rotatory container

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2018, 21:02
Default Zone motion in rotatory container
  #1
New Member
 
Amin
Join Date: Nov 2018
Posts: 1
Rep Power: 0
Amin_65 is on a distinguished road
Dear all,
I want to model a rotatory container using frame motion in Ansys fluent 19. The origin of rotation in my case is (X=0.025,Y=-0.0055,Z=-0.045).
When in the corresponding UDF I wrote the following sentence to identify the rotation origin, the system gives me some errors. where is the problem? FYI: When I wrote N3V_S(origin,=,0.0); for the rotation origin everything has worked.

#include "udf.h"
DEFINE_ZONE_MOTION(fmotion,omega,axis,origin,veloc ity,time,dtime)
{
real Period = 1;
real pi = 3.14159265359;
*omega = 20*2*pi*cos(2*pi*time);
N3V_S(origin,=,0.025,-0.0055,-0.045);
N3V_D(axis,=,0.0,1.0,0.0);
return;
}
Amin_65 is offline   Reply With Quote

Old   November 8, 2018, 20:13
Default
  #2
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 12
obscureed is on a distinguished road
Hi Amin_65,


Please see the answer from Pakk here: N3V_D,N3V_S(what's the meaning) (but ignore the other answers completely!). I think this should point you towards "N3V_D(origin,=,0.025,-0.0055,-0.045);".


Good luck!
Ed
obscureed 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
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 11:52
Problem in running ICEM grid in Openfoam Tarak OpenFOAM 6 September 9, 2011 18:51
Problem in IMPORT of ICEM input file in FLUENT csvirume FLUENT 2 September 9, 2009 02:08


All times are GMT -4. The time now is 13:51.