CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Problem with the cylindrical coordinates (

langloi December 9, 2005 23:26

Hi, I need your help, so any
I need your help, so any help is welcome.
I want resolve this equation in O.FOAM:
Laplacian(V)+ (1/r)*V=Source
V is volScalarField
it's written in cylindrical coordinate(r,theta,z).
In my case I consider the X like axis of rotation and Y like the direction (r) with (X,Y,Z) is cartesian coordinates.
I write my equation in O.Foam like that:
Laplacian(V)+ (1/y)*V=Source
with y=mesh.C().component(vector::Y);
But the result of this way of writing gives the different result with the Literature.
thank you for your help

All times are GMT -4. The time now is 17:02.