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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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

Old   September 15, 2009, 23:28
Default
  #2
Member
 
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 16
snailstb is on a distinguished road
can anybody give me opinion?thnaks a lot.
snailstb is offline   Reply With Quote

Old   September 16, 2009, 00:32
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error message explains the issue. You have made the parameter Displacement X/Y Component a function of the variable Total Mesh Displacement X/Y. You can't do that. You will have to find another variable to make it a function of.
ghorrocks is offline   Reply With Quote

Old   September 16, 2009, 04:06
Default
  #4
Member
 
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 16
snailstb is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The error message explains the issue. You have made the parameter Displacement X/Y Component a function of the variable Total Mesh Displacement X/Y. You can't do that. You will have to find another variable to make it a function of.
thank you very much for your suggestion. in order to keep the mesh quality fine during moving, subdomain 1 is created. set subdomian moving up and down along y direction and at that time it also rotates around subdomain's centriod axes.

i don't know how to make it work correctly. i have tried many ways . is any variable can be used to figure it out? please tell me in detail. thank you.
Attached Images
File Type: jpg 2.JPG (65.2 KB, 31 views)
snailstb 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



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