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

Converting cylindrical anisotropic diffusivity comonents into the cartesian setting

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2014, 08:47
Default Converting cylindrical anisotropic diffusivity comonents into the cartesian setting
  #1
New Member
 
Sean McGinty
Join Date: Sep 2013
Posts: 4
Rep Power: 12
mcgintygs is on a distinguished road
Hi

I am currently solving convection-diffusion with a simple sink term in a cube. The diffusion is anisotropic and the velocity component is unidirectional. I have modified scalarTransportFoam to handle the anisotropic diffusion and sink term.

In reality, my geometry should be cylindrical. The diffusion coefficients I have are D_r, D_theta and Dz (not Dx, Dz and D_z) Furthermore, the unidirectional velocity acts radially (not along z as I have currently).

I think I can modify the geometry to form a 'wedge' rather than a cube, but my question is the following:

Is it possible to modify the code so that my (cylindrical) diffusion coefficients (defined along the r, theta and z directions) and radial velocity magnitude are converted appropriately into the cartesian x,y, z co-ordinate system?

In an ideal word I would be solving in a cylindrical co-ordinate system which is more natural, but I'm not sure if this is possible in FOAM - please correct me if I am wrong.

Thank you.
mcgintygs 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
[snappyHexMesh] determining displacement for added points CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 1 October 22, 2013 09:53
cylindrical coordinate vs cartesian coordinate Lam FLUENT 10 May 11, 2013 13:05
3D axisymmetric flow in cylindrical coordinate = 2D cartesian flow? shubiaohewan Main CFD Forum 10 May 2, 2013 14:08
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 18:43.