<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.artemis-materials.co.uk/HRG/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eb531</id>
	<title>Hepplestone Research Group - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.artemis-materials.co.uk/HRG/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eb531"/>
	<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=Special:Contributions/Eb531"/>
	<updated>2026-11-29T03:06:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.2</generator>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1373</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1373"/>
		<updated>2023-10-16T14:28:53Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file, you will also want to pipe this out to an output file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input &amp;gt; Gulp_Output&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = \lambda_{ijk} \epsilon_{ijk} \cdot \exp \left( \frac{\gamma_{ij} \sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \exp \left( \frac{\gamma_{ik} \sigma_{ik}}{r_{ik} - a_{ik} \sigma_{ik}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In GULP, parameters that appear in both the two-body and three-body potentials don&amp;#039;t necessarily need to be the same, whereas in LAMMPS they are due to the way the Stillinger-Weber potential is written in an input for LAMMPS.&lt;br /&gt;
Within the input file for LAMMPS, a Buckingham potential given above for use in GULP is written as:&lt;br /&gt;
 pair_style buck 6.00&lt;br /&gt;
 pair_coeff 1 2 1388.00 2.76 175.00&lt;br /&gt;
where the pair_style line defines the type of potential being used and its cutoff distance. In the pair_coeff line the two atoms this acts between is given (if 1 is defined as Fe and 2 is O) along with the three parameters for this potenital.&lt;br /&gt;
&lt;br /&gt;
== How to use LAMMPS ==&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1372</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1372"/>
		<updated>2023-10-16T14:22:07Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = \lambda_{ijk} \epsilon_{ijk} \cdot \exp \left( \frac{\gamma_{ij} \sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \exp \left( \frac{\gamma_{ik} \sigma_{ik}}{r_{ik} - a_{ik} \sigma_{ik}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In GULP, parameters that appear in both the two-body and three-body potentials don&amp;#039;t necessarily need to be the same, whereas in LAMMPS they are due to the way the Stillinger-Weber potential is written in an input for LAMMPS.&lt;br /&gt;
Within the input file for LAMMPS, a Buckingham potential given above for use in GULP is written as:&lt;br /&gt;
 pair_style buck 6.00&lt;br /&gt;
 pair_coeff 1 2 1388.00 2.76 175.00&lt;br /&gt;
where the pair_style line defines the type of potential being used and its cutoff distance. In the pair_coeff line the two atoms this acts between is given (if 1 is defined as Fe and 2 is O) along with the three parameters for this potenital.&lt;br /&gt;
&lt;br /&gt;
== How to use LAMMPS ==&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1371</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1371"/>
		<updated>2023-10-16T14:18:14Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = \lambda_{ijk} \epsilon_{ijk} \cdot \exp \left( \frac{\gamma_{ij} \sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \exp \left( \frac{\gamma_{ik} \sigma_{ik}}{r_{ik} - a_{ik} \sigma_{ik}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In GULP, parameters that appear in both the two-body and three-body potentials don&amp;#039;t necessarily need to be the same, whereas in LAMMPS they are due to the way the Stillinger-Weber potential is written in an input for LAMMPS.&lt;br /&gt;
Within the input file for LAMMPS, a Buckingham potential given above for use in GULP is written as:&lt;br /&gt;
 pair_style buck 6.00&lt;br /&gt;
 pair_coeff 1 2 1388.00 2.76 175.00&lt;br /&gt;
where the pair_style line defines the type of potential being used and its cutoff distance. In the pair_coeff line the two atoms this acts between is given (if 1 is defined as Fe and 2 is O) along with the three parameters for this potenital.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1370</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1370"/>
		<updated>2023-10-16T14:10:14Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = \lambda_{ijk} \epsilon_{ijk} \cdot \exp \left( \frac{\gamma_{ij} \sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \exp \left( \frac{\gamma_{ik} \sigma_{ik}}{r_{ik} - a_{ik} \sigma_{ik}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In GULP, parameters that appear in both the two-body and three-body potentials don&amp;#039;t necessarily need to be the same, whereas in LAMMPS they are due to the way the Stillinger-Weber potential is written in an input for LAMMPS.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1364</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1364"/>
		<updated>2023-10-13T15:25:41Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = \lambda_{ijk} \epsilon_{ijk} \cdot \exp \left( \frac{\gamma_{ij} \sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \exp \left( \frac{\gamma_{ik} \sigma_{ik}}{r_{ik} - a_{ik} \sigma_{ik}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1363</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1363"/>
		<updated>2023-10-13T15:23:23Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r_{ij}^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r_{ij} - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r_{ij}})^{p_{ij}} - (\frac{\sigma_{ij}}{r_{ij}})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1362</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1362"/>
		<updated>2023-10-13T15:22:44Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r - a_{ij} \sigma_{ij}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r})^{p_{ij}} - (\frac{\sigma_{ij}}{r})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1361</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1361"/>
		<updated>2023-10-13T15:11:53Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Whereas in LAMMPS this same potential is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \epsilon_{ij} \cdot \exp \left( \frac{\sigma_{ij}}{r - a_{ij} \sigma_{ij}}} \right) \cdot \left( B_{ij} (\frac{\sigma_{ij}}{r})^{p_{ij}} - (\frac{\sigma_{ij}}{r})^{q_{ij}} \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1360</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1360"/>
		<updated>2023-10-13T15:07:17Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0}))^2 &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1359</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1359"/>
		<updated>2023-10-13T15:07:03Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) (\cos(\theta_{jik}) - \cos(\theta_{0})) &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1358</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1358"/>
		<updated>2023-10-13T15:05:07Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ijk} = K_{ijk} \cdot \exp \left( \frac{\rho_{ij}}{r_{ij} - r_{max}} \right) \cdot \exp \left( \frac{\rho_{ik}}{r_{ik} - r_{max}} \right) &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1357</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1357"/>
		<updated>2023-10-13T15:03:12Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A_{ij} \cdot \exp \left( \frac{\rho_{ij}}{r - r_{max}} \right) \cdot \left( \frac{B_{ij}}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1356</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1356"/>
		<updated>2023-10-13T15:02:47Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A \cdot \exp \left( \frac{\rho}{r - r_{max}} \right) \cdot \left( \frac{B}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1355</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1355"/>
		<updated>2023-10-13T15:02:27Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the 2-body and 3-body Stillinger-Weber potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E_{ij} = A \dot \exp \left( \frac{\rho}{r - r_{max}} \right) \dot \left( \frac{B}{r^4} - 1 \right)&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1354</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1354"/>
		<updated>2023-10-13T14:58:23Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the Buckingham potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E = A . \exp \left( \frac{-r}{\rho} \right) - \frac{C}{r^6}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1353</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1353"/>
		<updated>2023-10-13T14:58:01Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the Buckingham potential in GULP is given by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;E = A . exp (\frac{-r}{\rho}) - \frac{C}{r^6}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1352</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1352"/>
		<updated>2023-10-13T14:57:06Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the Buckingham potential in GULP is given by:&lt;br /&gt;
&amp;lt;math&amp;gt;E = \frac{1}{2}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1351</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1351"/>
		<updated>2023-10-13T14:56:35Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the Buckingham potential in GULP is given by:&lt;br /&gt;
&amp;lt;\maths&amp;gt;E = \frac{1}{2}&amp;lt;\maths&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1350</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1350"/>
		<updated>2023-10-13T14:55:14Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;br /&gt;
&lt;br /&gt;
== Converting potentials from GULP to LAMMPS ==&lt;br /&gt;
&lt;br /&gt;
Not all potentials that are found in GULP are found in LAMMPS and vice versa, be careful when selecting which potential to use. The same potential are also not guaranteed to have the same parameters in both GULP and LAMMPS, for example the Buckingham potential in GULP is given by:&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1349</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1349"/>
		<updated>2023-10-13T14:51:38Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
Which will attempt to fit a Buckingham potential for Fe core and O core to the FeO structure and energy provided. This WILL NOT change the structure itself, only the parameters in the potential that are allowed to vary. When doing these fits, you do not want to allow all parameters to change as we have not provided any forces, only atomic positions. Start with a potential that is already close to what you expect the final potential to be and allow 1 or 2 of the parameters to vary. Keep cycling with parameters can vary between fitting runs, this may need to be done many times depending on how many parameters you have to fit.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1348</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1348"/>
		<updated>2023-10-13T14:47:58Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;br /&gt;
&lt;br /&gt;
6. Putting this all together we can get an input file:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
 &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1347</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1347"/>
		<updated>2023-10-13T14:46:32Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;br /&gt;
In this example, &amp;quot;fit&amp;quot; means we are fitting something (does not need to be a potential) and &amp;quot;maxcyc&amp;quot; defines the maximum number of fitting cycles are done.&lt;br /&gt;
&lt;br /&gt;
5. At the bottom of the input file we define the potentials with their initial parameters and which of these are being fitted:&lt;br /&gt;
 buck&lt;br /&gt;
 Fe core O core 1388.0000 2.7600 175.0000 0.00 6.00 1 1 0&lt;br /&gt;
This is an example of a Buckingham potential between Fe core and O core. The first three numbers are the three parameters of the Buckingham potential, the fourth and fifth are the minimum and maximum radius over which this potential acts and the last three numbers define which of the parameters are allowed to vary, 1 means it is varied, 0 means it is fixed.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1346</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1346"/>
		<updated>2023-10-13T14:38:19Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;br /&gt;
&lt;br /&gt;
4. At the top of the GULP input file you need to define what you want GULP to do. For a potential fit:&lt;br /&gt;
 fit abs conv&lt;br /&gt;
 maxcyc 5000&lt;br /&gt;
 title&lt;br /&gt;
 funny/creative title goes here&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1345</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1345"/>
		<updated>2023-10-13T14:35:01Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 path/gulp-x.x/Src/gulp Gulp_Input&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1344</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1344"/>
		<updated>2023-10-13T14:33:35Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP).&lt;br /&gt;
Include any packages that you require for the specific potentials you are using.&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file.&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format: &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;br /&gt;
Fractional can be changed for cartesian and both cores and shells can be defined.&lt;br /&gt;
Atomic charges can be added to the end of each atom definition:&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000 4.0&lt;br /&gt;
and many different observables can be defined, in this case the binding energy is given with a weighting.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1343</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1343"/>
		<updated>2023-10-13T14:29:45Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
Include any packages that you require for the specific potentials you are using&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following format:&lt;br /&gt;
    &lt;br /&gt;
 # Start of Structure&lt;br /&gt;
 vectors&lt;br /&gt;
 3.1023 0.0000 0.0000&lt;br /&gt;
 1.4990 2.7214 0.0000&lt;br /&gt;
 1.5040 0.8336 5.0333&lt;br /&gt;
 fractional&lt;br /&gt;
 Fe core 0.0000 0.0000 0.0000&lt;br /&gt;
 Fe core 0.5000 0.5000 0.5000&lt;br /&gt;
 O core 0.7500 0.7500 0.7500&lt;br /&gt;
 O core 0.2500 0.2500 0.2500&lt;br /&gt;
 space&lt;br /&gt;
 P 1&lt;br /&gt;
 observable&lt;br /&gt;
 energy ev&lt;br /&gt;
 -15.5000 100.0&lt;br /&gt;
 end&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1342</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1342"/>
		<updated>2023-10-13T14:23:22Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
Include any packages that you require for the specific potentials you are using&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file:&lt;br /&gt;
 &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
3. GULP structural data is given in the input file in the following form:&lt;br /&gt;
    &lt;br /&gt;
    # Start of Structure&lt;br /&gt;
    vectors&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1341</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1341"/>
		<updated>2023-10-13T14:21:58Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
 1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
    Include any packages that you require for the specific potentials you are usings&lt;br /&gt;
&lt;br /&gt;
 2. GULP can be run by executing the gulp program and giving it an input file: &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
    GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
 3. GULP structural data is given in the input file in the following form:&lt;br /&gt;
    &lt;br /&gt;
    # Start of Structure&lt;br /&gt;
    vectors&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1340</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1340"/>
		<updated>2023-10-13T14:13:55Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
 1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
    Include any packages that you require for the specific potentials you are usings&lt;br /&gt;
&lt;br /&gt;
 2. GULP can be run by executing the gulp program and giving it an input file: &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
    GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
 3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1339</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1339"/>
		<updated>2023-10-13T14:13:40Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
 1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
 Include any packages that you require for the specific potentials you are usings&lt;br /&gt;
&lt;br /&gt;
 2. GULP can be run by executing the gulp program and giving it an input file: &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
 GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
 3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1338</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1338"/>
		<updated>2023-10-13T14:13:32Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
 Include any packages that you require for the specific potentials you are usings&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file: &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
 GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1337</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1337"/>
		<updated>2023-10-13T14:13:17Z</updated>

		<summary type="html">&lt;p&gt;Eb531: /* How to use GULP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
   Include any packages that you require for the specific potentials you are usings&lt;br /&gt;
&lt;br /&gt;
2. GULP can be run by executing the gulp program and giving it an input file: &amp;quot;path/gulp-x.x/Src/gulp Gulp_Input&amp;quot;&lt;br /&gt;
   GULP comes with many different example input files, you will want to run GULP from the folder with the input file&lt;br /&gt;
&lt;br /&gt;
3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1336</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1336"/>
		<updated>2023-10-13T14:09:30Z</updated>

		<summary type="html">&lt;p&gt;Eb531: /* Steps */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== How to use GULP ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
&lt;br /&gt;
2. &lt;br /&gt;
&lt;br /&gt;
3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1335</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1335"/>
		<updated>2023-10-13T14:09:17Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Steps ==&lt;br /&gt;
&lt;br /&gt;
1. Download and make GULP (instructions are included in a README with GULP)&lt;br /&gt;
&lt;br /&gt;
2. &lt;br /&gt;
&lt;br /&gt;
3.&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1334</id>
		<title>How to fit a potential using GULP and LAMMPS</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=How_to_fit_a_potential_using_GULP_and_LAMMPS&amp;diff=1334"/>
		<updated>2023-10-13T14:08:23Z</updated>

		<summary type="html">&lt;p&gt;Eb531: Created page with &amp;quot;Steps  1. Download and make GULP (instructions are included in a README with GULP)  2.   3.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Steps]]&lt;br /&gt;
&lt;br /&gt;
[[1. Download and make GULP (instructions are included in a README with GULP)]]&lt;br /&gt;
&lt;br /&gt;
[[2. ]]&lt;br /&gt;
&lt;br /&gt;
[[3.]]&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
	<entry>
		<id>http://www.artemis-materials.co.uk/HRG/index.php?title=HRGHowto&amp;diff=1333</id>
		<title>HRGHowto</title>
		<link rel="alternate" type="text/html" href="http://www.artemis-materials.co.uk/HRG/index.php?title=HRGHowto&amp;diff=1333"/>
		<updated>2023-10-13T14:02:57Z</updated>

		<summary type="html">&lt;p&gt;Eb531: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will list a set of how-to tutorials made by the ARTEMIS research group. These tutorials hope to cover a wide range of theoretical (computational and analytical) and software-based areas.&lt;br /&gt;
&lt;br /&gt;
== Theory ==&lt;br /&gt;
&lt;br /&gt;
[[How to calculate work function, electron affinity and Schottky barriers]]&lt;br /&gt;
&lt;br /&gt;
[[How to calculate Gibbs free energy from phonon frequencies]]&lt;br /&gt;
&lt;br /&gt;
[[How to calculate the formation energy of various systems]]&lt;br /&gt;
&lt;br /&gt;
[[How to calculate the Fermi energy for a simple metal, given a charge density]]&lt;br /&gt;
&lt;br /&gt;
[[How to calculate heat flow]]&lt;br /&gt;
&lt;br /&gt;
[[How to fit a potential using GULP and LAMMPS]]&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Jmol to display vibrational modes]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Git repository management]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Quantum Espresso]]&lt;/div&gt;</summary>
		<author><name>Eb531</name></author>
	</entry>
</feed>