An example for a solid sphere and a spherical surface is attached. Note that all the nodes on the outer surface may not be generated to have the actual radius of the sphere. It is useful to write a simple mesh manipulation command (umani1.f) or solution command (umacr1.f) to move the nodes to the correct radius.