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/)
-   -   Can openfoam solve problems in cylindrical and spherical coordinate systems? (https://www.cfd-online.com/Forums/openfoam-solving/81407-can-openfoam-solve-problems-cylindrical-spherical-coordinate-systems.html)

GGerber October 26, 2010 07:58

Can openfoam solve problems in cylindrical and spherical coordinate systems?
 
Hi,

Can anyone tell me whether the OpenFoam grad, div and Laplacian operators are hardcoded to the Cartesian coordinate system (ie. grad(f)=?[df/dx df/dy df/dz])? Or are these operators flexible enough to also account for cylindrical and sperical coordinate systems?

I am interested in solving an axisymmetric dambreak problem and hence solving the problem within a cylindrical coordinate system would be the most elegant.

Best regards,
George

ata October 27, 2010 02:33

Hi George
As I know they are for Cartesian coordinate. But I think you can solve your problem in Cartesian coordinate easily.
Best regards

Ata

hjasak October 27, 2010 17:11

What you need to do is create a cylindrical or spherical wedge geometry in 3-D and use wedge boundary conditions.

Enjoy,

Hrv

GGerber October 27, 2010 17:18

Thanks. I will simulate a wedge then.

Cheers,
George

openfoammaofnepo February 3, 2015 17:17

hello Dr. Jasak,

For the spherical wedge geometry, it is still with small angle (< 5 degree)? I am not sure what kind of spherical wedge geometry should be generated if I would like to solve the spherical geometry problems. Thank you so much.

OFFO

Quote:

Originally Posted by hjasak (Post 281087)
What you need to do is create a cylindrical or spherical wedge geometry in 3-D and use wedge boundary conditions.

Enjoy,

Hrv


Dosin February 5, 2015 09:48

Dear openfoam....,

You should draw a slice of your geometry like the figures inside the attached website.

http://www.google.de/imgres?imgurl=h...ed=0CDkQ9QEwBA

I hope I understand your question exactly.

openfoammaofnepo February 5, 2015 10:37

I got it, thanks!

Quote:

Originally Posted by Dosin (Post 530552)
Dear openfoam....,

You should draw a slice of your geometry like the figures inside the attached website.

http://www.google.de/imgres?imgurl=h...ed=0CDkQ9QEwBA

I hope I understand your question exactly.



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