|January 29, 2014, 09:47||
Converting cylindrical anisotropic diffusivity comonents into the cartesian setting
Join Date: Sep 2013
Posts: 4Rep Power: 3
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|determining displacement for added points||CFDnewbie147||OpenFOAM Native Meshers: snappyHexMesh and Others||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||CD-adapco||2||May 31, 2010 21:58|
|Warning 097-||AB||CD-adapco||6||November 15, 2004 05:41|