CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with the cylindrical coordinates (https://www.cfd-online.com/Forums/openfoam-solving/60389-problem-cylindrical-coordinates.html)

langloi December 9, 2005 22:26

Hi, I need your help, so any
 
Hi,
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 14:03.