I am currently building simulations of molecular dynamics and one thing I want to model is dipole interactions. I recently came across this post about calculating the force between a point charge and a dipole.
The libraries that I'm using only work in Cartesian coordinates, so I wanted to cast my calculations down to (x,y,z) vectors to control the visualization.
I'm fairly confident that what I have is fine until I do the coordinate transformation (though please point out problems!). In particular, I worry that the theta that I'm defining between my dipole and r-hat is not the same as the theta in the basis matrix.
Would appreciate some guidance on my work!
Answer
In my opinion you are going about this the wrong way. It is simpler to write the expressions in terms of the appropriate vectors, and use the chain rule, the product rule, and the known expressions for the gradient of functions involving the position vector. You can then easily evaluate the expressions in a Cartesian coordinate system.
The potential energy of interaction between the charge and the dipole is V=−kμ1Q2r3→e⋅→r
You don't mention this, but if your dipolar molecule is moving, you will also need to evaluate the torque on it. This is easily done from the formula →τ=−→e×→∇eV=kμ1Q2r3→e×→r
No comments:
Post a Comment