On Fri, Apr 13, 2018 at 1:40 PM, Robert Walker <rlwal...@usc.edu> wrote:
> Hello, > > Is there an example of application of a point source in one of the > tutorial PETScFE style examples? Ideally this would be some point on the > interior, and not necessarily on a boundary. > > Thanks, and apologies in advance if this is a stupid question, > No, good question. You would have to decide what that meant in FEM terms. All the internal integrals are done with quadrature. So putting the source at a quadrature point would work, although its a little difficult to know where they will be. You could smooth it out a little, and check coordinates in the forcing function. Last, you could check for a "close enough" quadrature point and put it there. I think making a slightly extended source is usually best. Thanks, Matt > Robert > > > Robert L. Walker > MS Petroleum Engineering > Mork Family Department of Chemicals and Materials Sciences > University of Southern California > ---------------------------------------------- > Mobile US: +1 (213) - 290 -7101 > Mobile EU: +34 62 274 66 40 > rlwal...@usc.edu > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>