CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

how to use Total Mesh Displacement for making a subject translating and rotating?

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 15, 2009, 12:23
Default how to use Total Mesh Displacement for making a subject translating and rotating?
  #1
Member
 
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 16
snailstb is on a distinguished road
when i import ccl , it is ok. But unfortunately, when set subdomain displacement, terror happened as follow:

Parameter 'Displacement X Component' in object '/FLOW:Flow Analysis 1/DOMAIN:moving/SUBDOMAIN:Subdomain1/MESH MOTION/DISPLACEMENT' has been assigned an expression that references the following unavailable variables: Total Mesh Displacement X,Total Mesh Displacement Y
Parameter 'Displacement Y Component' in object '/FLOW:Flow Analysis 1/DOMAIN:moving/SUBDOMAIN:Subdomain 1/MESH MOTION/DISPLACEMENT' has been assigned an expression that references the following unavailable variables: Total Mesh Displacement X,Total Mesh Displacement Y

what happened? I use cfx 12.0 version. need your help,thank you.
my ccl is :

LIBRARY:
CEL:
EXPRESSIONS:
omega = 3.14[radian s^-1]/2.0*sin(3.14[s^-1]*t)
sy = 1.0[m]/3.14159*(1.0-cos(3.14159[s^-1]*t))
x0= x-Total Mesh Displacement X
y0 = y-Total Mesh Displacement Y
R0 = sqrt(x0^2+y0^2)
alpha0 = atan2(y0,x0)
alpha1 = omega*t
Xcomp = R0*(cos(alpha1)-cos(alpha0))
Ycomp = R0*(sin(alpha1)-sin(alpha0))+sy
END
END
END
Attached Images
File Type: jpg 1.jpg (92.6 KB, 61 views)
snailstb is offline   Reply With Quote

 


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



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