|
[Sponsors] |
how to use Total Mesh Displacement for making a subject translating and rotating? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 15, 2009, 13:23 |
how to use Total Mesh Displacement for making a subject translating and rotating?
|
#1 |
Member
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 17 |
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 |
|
September 16, 2009, 00:28 |
|
#2 |
Member
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 17 |
can anybody give me opinion?thnaks a lot.
|
|
September 16, 2009, 01:32 |
|
#3 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
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.
|
|
September 16, 2009, 05:06 |
|
#4 | |
Member
stb
Join Date: Sep 2009
Posts: 39
Rep Power: 17 |
Quote:
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. |
||
|
|