Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run calphy with LJ/Tip3p model #63

Open
ibrsam opened this issue Feb 15, 2023 · 2 comments
Open

Run calphy with LJ/Tip3p model #63

ibrsam opened this issue Feb 15, 2023 · 2 comments

Comments

@ibrsam
Copy link

ibrsam commented Feb 15, 2023

I want to run simulations with calphy but with no potential file, but I would like to use LJ/Tip3p as follows,

units		real
boundary        p p p						## E in [eV], t in [ps], P in [10000 Pa], l in [A]
atom_style	full						       ## mass x y z vx vy vz 

# create groups ##
group H type 1
group O type 2
 
## set charges - beside manually ##
set group H charge  0.520
set group O charge -1.040
 
### TIP3P Potential Parameters ##
pair_style lj/cut/tip4p/long 2 1 1 1 0.15  10.0
pair_coeff * * 0.0 0.0
pair_coeff 2 2 0.1550 3.1536
bond_style harmonic
bond_coeff 1 450 0.9572
angle_style harmonic
angle_coeff 1 55 104.52
kspace_style pppm/tip4p 1.0e-5
@srmnitc
Copy link
Member

srmnitc commented Feb 21, 2023

For solid, the way is to write the potential commands in a file, and use the potential_file keyword. Please note that instead of reversible scaling, one should then perform direct temperature scaling. An example can be found here.

For liquid, this is not possible at the moment. Conceptually one has to modify the hybrid/scale command in a way that multiple pair styles are scaled. Any contributions would be welcome.

@ibrsam
Copy link
Author

ibrsam commented Mar 9, 2023

Ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants