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

cylindrical coordinate vs cartesian coordinate

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2003, 17:28
Default cylindrical coordinate vs cartesian coordinate
  #1
Lam
Guest
 
Posts: n/a
I face a problem in comparing my CFD results (Fluent) with my LDA measures(Dantec) because they use cylindrical coordinate and cartesian coordinate respectively. Can I change the Fluent from a cylindrical coordinate to a cartesian coordinate?
  Reply With Quote

Old   December 1, 2003, 04:52
Default Re: cylindrical coordinate vs cartesian coordinate
  #2
thomas
Guest
 
Posts: n/a
Hi, I dunno if it is what you are looking for but here is the linked between the cartesian and cylindrical coord. in fluent Z -> X r -> Y theta -> Z

You can certainly find more informations on the fluent user web site (online documentation). Cheers, thomas
  Reply With Quote

Old   May 1, 2013, 19:33
Default
  #3
New Member
 
Hadi kafil
Join Date: Apr 2013
Location: Istanbul
Posts: 8
Rep Power: 13
grayeagle is on a distinguished road
Hi, I'm solving a natural convection problem in Fluent 13, but I want to model a 3D symetric cylindrical shape in 2-d. I assume (r=x, z=y, theta=0).

How can I change my coordinate from Cartesian to cylindrical???
grayeagle is offline   Reply With Quote

Old   May 10, 2013, 05:56
Default
  #4
New Member
 
Mukesh
Join Date: Sep 2012
Posts: 28
Rep Power: 14
er.mkumar is on a distinguished road
Quote:
Originally Posted by grayeagle View Post
Hi, I'm solving a natural convection problem in Fluent 13, but I want to model a 3D symetric cylindrical shape in 2-d. I assume (r=x, z=y, theta=0).

How can I change my coordinate from Cartesian to cylindrical???
Go to define/solver...
change your problem from 2D to aisymmetric. That's it.

Best Wishes,
Mukesh
er.mkumar is offline   Reply With Quote

Old   May 10, 2013, 10:24
Default cylinderical coordinate in Fluent
  #5
New Member
 
Hadi kafil
Join Date: Apr 2013
Location: Istanbul
Posts: 8
Rep Power: 13
grayeagle is on a distinguished road
I have done it. Draw my half shape, and define the symmetry axis as "axis" in Boundary condition, and select 'Axisymmetry' in define-solver, but there is an error : "Divergence detected in AMG solver: x-momentum"
grayeagle is offline   Reply With Quote

Old   May 10, 2013, 14:01
Default
  #6
New Member
 
Mukesh
Join Date: Sep 2012
Posts: 28
Rep Power: 14
er.mkumar is on a distinguished road
Quote:
Originally Posted by grayeagle View Post
I have done it. Draw my half shape, and define the symmetry axis as "axis" in Boundary condition, and select 'Axisymmetry' in define-solver, but there is an error : "Divergence detected in AMG solver: x-momentum"
for STEADY PROBLEM: you can try reducing relaxation factor of momentum equation from 0.7 to some lower value i.e, 0.4, 0.5, 0.6 [solve/controls...]

for UNSTAEDY PROBLEM: reduce the size of time step
er.mkumar is offline   Reply With Quote

Old   May 10, 2013, 19:49
Default
  #7
New Member
 
Hadi kafil
Join Date: Apr 2013
Location: Istanbul
Posts: 8
Rep Power: 13
grayeagle is on a distinguished road
I have reduced relaxation factor of momentum equation from 0.7 to 0.3, 0.4, 0.5, 0.6, ... but there is still that error.
I even close the momentum equation (Solution control-equation) but this time the error was " Divergence detected in AMG solver: temperature " !
grayeagle is offline   Reply With Quote

Old   May 10, 2013, 22:22
Default
  #8
New Member
 
Mukesh
Join Date: Sep 2012
Posts: 28
Rep Power: 14
er.mkumar is on a distinguished road
Quote:
Originally Posted by grayeagle View Post
I have reduced relaxation factor of momentum equation from 0.7 to 0.3, 0.4, 0.5, 0.6, ... but there is still that error.
I even close the momentum equation (Solution control-equation) but this time the error was " Divergence detected in AMG solver: temperature " !
Try reducing RF for energy term from 1 to 0.7,0.8.
Else there is some problem with BC.
BTW what is problem you are trying to solve.
er.mkumar is offline   Reply With Quote

Old   May 11, 2013, 10:53
Default
  #9
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 20
oj.bulmer will become famous soon enough
Can you post BCs please?

OJ
oj.bulmer is offline   Reply With Quote

Old   May 11, 2013, 13:39
Default
  #10
New Member
 
Hadi kafil
Join Date: Apr 2013
Location: Istanbul
Posts: 8
Rep Power: 13
grayeagle is on a distinguished road
I have a rectangle ( a cross section of cylinder) I wanna solve Natural convection (and then solidification) problem.
I have a temperature gradient in right and left wall (my rectangle is 40x100). and this UDF is my boundary condition in left and right wall...
I solve it in cartesian coordinate, but in Cylindrical, I have problem.
#include "udf.h"

DEFINE_PROFILE(temperature_profile, thread, index)
{
real x[ND_ND]; /* this will hold the position vector */
real y;
face_t f;

begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
y = x[1];
F_PROFILE(f, thread, index) =((1000*y)/2)+1223;
}
end_f_loop(f,thread)
}
grayeagle is offline   Reply With Quote

Old   May 11, 2013, 14:05
Default
  #11
New Member
 
Hadi kafil
Join Date: Apr 2013
Location: Istanbul
Posts: 8
Rep Power: 13
grayeagle is on a distinguished road
I solved this problem in Planer (2d space) without any problem.
I reduce the Under-relaxation factor for energy and momentum.
I aslo try to solve it Transient.
But there is still this error.
for momentum equation: " Divergence detected in AMG solver: x-momentum "
for ener

Last edited by grayeagle; May 14, 2013 at 11:02.
grayeagle 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD Software with Cylindrical and Spherical Coordinate cfd2010 Main CFD Forum 0 June 9, 2010 22:55
cylindrical to Cartesian coordinate bharath CFX 0 June 6, 2010 22:43
change coordinate system cartesian to cylindrical tht FLUENT 0 September 6, 2007 06:46
cartesian to cylindrical coordinate UDF Manoj FLUENT 0 December 15, 2005 10:43
Cording Ground.for in Cylindrical coordinate J.H. Lee. Phoenics 2 March 28, 2003 05:28


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