Is it possible to define a problem in spherical or cylindrical coordinate
system instead of Cartesian coordinate system?It would be very kind of you if
you refer me to a tutorial in which there is a problem that has been solved in
spherical or cylindrical coordinate system.
There is no such tutorial, but it is easily possible. deal.II does not care
what the first and second and third coordinate axes represent. If you want to
call the first 'r' and the second 'z', then that is just fine with deal.II.
What matters is how you formulate the bilinear form and right hand side, as
well as the operators in them. For example, if you have a problem in which you
only have a dependence on r and z, but not on the angle phi in a cylindrical
coordinate system, then the Laplace equation will read in weak form
\int (dv/dr du/dr + dv/dz du/dz) * 2*pi r dr dz
Note that 2*pi*r factor in the integral. As long as you make sure all of the
terms you integrate have the appropriate scaling, you will be fine.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.tamu.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.