idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.73k stars 1.04k forks source link

Use Node-set to specify location of point source in dirac kernel #5971

Open yidongxiainl opened 8 years ago

yidongxiainl commented 8 years ago

Is it possible to have one more way to specify the locations of point source in dirac kernel, e.g., by node-set in a mesh. This will allow the locations of point sources to be variable, and will be convenient for such a case when the point source locations are subject to change due to the deformation of whole geometry.

friedmud commented 8 years ago

It is a reasonable request.

But note that DiracKernel point sources already "move" with the mesh (that's the default, actually). This request won't actually change anything to do with that.

This request is really just about convenience for specifying the positions using a node set.

yidongxiainl commented 8 years ago

OK, I did not realize the fact that "DiracKernel point sources already 'move' with the mesh". Yep, if this requested feature is implemented, users like me can often handle different initial point source locations by specifying it with node-set and thus using only one common input script for multiple sets of simulation problems. Thanks.

jwpeterson commented 8 years ago

I can add this.