|
[Sponsors] |
Local coordinates usage & use of expression editor |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 21, 2001, 11:34 |
Local coordinates usage & use of expression editor
|
#1 |
Guest
Posts: n/a
|
Hi CFX 5.4 users, I am solving a cavity problem (axisymmetic, so having one cell in theta direction) with CFX 5.4. Top bounding surface and bottom bounding surface are rotating at different rpm. So I need to model with stationary frame. Do define Wall BC, I followed two methods and having problem with both. Please advice
1. representing the tangential velocity in terms of Vy & Vz (my axis of rotation is X). While doing that, I calculated angle using atan function using expression editor. Now while postprocess I find some radial velocity at the walls. This looks like due to the angle it finds is more like cell centered rather than for the particular node. Even if I view with hybrid results, wall velocity components are not correct. Please let me know your thoughts on this ? 2. When I use a local cylindrical coordinate defined and represent velocity as Ur, U_theta, & U axial, the resulting velocity is simply Vx = 0, Vy = 0 & Vz = U_theta we have specified. Where we expect some component in the Vy also. Is there any limitations on using these options ? Thanks for your time Veebs |
|
November 21, 2001, 22:39 |
Re: Local coordinates usage & use of expression ed
|
#2 |
Guest
Posts: n/a
|
Hi Veebs,
Post your CEL expressions for Vy and Vz. Robin |
|
November 21, 2001, 22:55 |
Re: Local coordinates usage & use of expression ed
|
#3 |
Guest
Posts: n/a
|
Robin, Following are the equations used. bomega = 2*3.1415*10584 /60 [s]
tomega = 2*3.1415*27634 /60 [s] angle = atan(z/y) radii = sqrt(z*z + y*y) vbtheta = bomega*radii vzb = vbtheta*cos(angle) vyb = vbtheta*sin(abs(angle)) vttheta = tomega*radii vzt = vttheta*cos(angle) vyt = vttheta*sin(abs(angle)) As my domain is in 2nd quad, I need to keep both components positive to get clockwise rotation. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |