Hello,
Can anyone inform me on the techniques (other than semi grand canonical or grand canonical ensembles) that one can use to calculate the equilibrium impurity (say P) concentration in metals (say Fe where in solubility of P is very low) in molecular dynamics or first principles method codes?
Or is there a way to find chemical potential/chemical potential difference of elements of interest?