|
[Sponsors] |
April 21, 2008, 08:59 |
Specify radial mesh motion in CFX
|
#1 |
Guest
Posts: n/a
|
Hi, I have a cylinder where I want the radius to be a function of time, like: r = A*sin(t), using a moving mesh. I know that there is a bondary condition called "Mesh motion - specified displacement - XYZ components" but I want to use polar coordinates. One solution is to use a CEL-expression to calculate the cartesian components of the motion from polar coordinates, but then I need r and theta. I know that they are predefined in CFX but when I use them I get ALL the coordinates in the domain, and not just the ones on the wall.
So my question would be... is there a way to specify which coordinates to use, like Rwall = sqrt((x@wall)^2+(y@wall)^2) and Thetawall = atan(y@wall/x@wall)?? cheers Jonas |
|
April 22, 2008, 15:58 |
Re: Specify radial mesh motion in CFX
|
#2 |
Guest
Posts: n/a
|
Hi Jonas,
You don't need to worry about getting ALL the coordinates. CFX will only evaluate the expression where it is used. If it is called on the boundary region, only the boundary region variables are calculated, not the entire domain. -CycLone |
|
April 23, 2008, 03:54 |
Re: Specify radial mesh motion in CFX
|
#3 |
Guest
Posts: n/a
|
Hi,
Thanks, apparently CFX is smarter than I thought /Jonas |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
[ICEM] Generating Mesh for Decoupled Mesh Motion with ICEM | Julian K. | ANSYS Meshing & Geometry | 0 | October 18, 2011 16:54 |
Mesh Adaption in CFX. | Kushagra Mittal | CFX | 1 | August 31, 2011 09:17 |
CFX mesh refining and stiffening | george | CFX | 3 | September 3, 2008 06:31 |
CFX mesh & ICEM | mike | CFX | 3 | April 27, 2006 16:27 |