File:Gibbs free energy of competing polymorphs.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 960 × 576 pixels, file size: 27 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionGibbs free energy of competing polymorphs.svg |
English: Gibbs free energy of competing polymorphs.
Matplotlib codeimport numpy as np
import matplotlib.pyplot as plt
r = np.linspace(0, 3, 1000)
delta_G_A = 4 * r**2
delta_G_V = -2 * r**3
delta_G_total = delta_G_A + delta_G_V
r_crit = 4/3
delta_G_crit = delta_G_total[np.abs(r - r_crit).argmin()]
plt.figure(figsize=(10, 6))
plt.plot(r, delta_G_A, color='gray', alpha=0.5)
plt.plot(r, delta_G_V, color='gray', alpha=0.5)
plt.plot(r, delta_G_total, 'b-', linewidth=2)
plt.axvline(x=r_crit, color='k', linestyle='--', alpha=0.5)
plt.axhline(y=delta_G_crit, color='k', linestyle='--', alpha=0.5)
plt.text(r_crit + 0.1, -2, r'$r_{crit}$')
plt.text(0.5, delta_G_crit, r'$-\Delta G_{crit}$')
plt.xlabel(r'$r$')
plt.ylabel(r'$\Delta G^{crystal}$')
plt.title('A')
plt.xlim(0, 3)
plt.ylim(-5, 5)
plt.axhline(y=0, color='k', linestyle='-', alpha=0.3)
plt.grid(True, alpha=0.3)
plt.tick_params(axis='both', which='both', length=0)
plt.gca().set_xticklabels([])
plt.gca().set_yticklabels([])
plt.tight_layout()
plt.savefig("Gibbs free energy of crystalization.svg")
plt.show()
r = np.linspace(0, 5, 1000)
polymorph_A = 2*r**2 - 1*r**3
polymorph_B = 5*r**2 - 2*r**3
plt.figure(figsize=(10, 6))
plt.plot(r, polymorph_A, 'r-', label='Polymorph B', linewidth=2)
plt.plot(r, polymorph_B, 'b-', label='Polymorph A', linewidth=2)
plt.axvline(x=2, color='k', linestyle='--', alpha=0.5)
plt.axvline(x=3, color='k', linestyle='--', alpha=0.5)
plt.text(1.5, 2, 'Amorphous Phase', ha='center')
plt.text(2.5, 2, 'Form B', ha='center')
plt.text(3.2, 2, 'Form A', ha='center')
plt.xlim(0, 3.5)
plt.ylim(-20, 10)
plt.xlabel(r'$r$')
plt.ylabel(r'$\Delta G^{crystal}$')
plt.title('B')
plt.axhline(y=0, color='k', linestyle='-', alpha=0.3)
plt.grid(True, alpha=0.3)
plt.legend()
plt.tick_params(axis='both', which='both', length=0)
plt.gca().set_xticklabels([])
plt.gca().set_yticklabels([])
plt.tight_layout()
plt.savefig("Gibbs free energy of competing polymorphs.svg")
plt.show()
|
| Date | |
| Source | Own work |
| Author | Cosmia Nebula |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:Gibbs free energy of competing polymorphs.svg}} ~~~~ |
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
some value
2 February 2025
image/svg+xml
27,318 byte
b797d451379a0dfbaec195bb48e1b144f57de661
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 01:31, 29 July 2025 | 960 × 576 (27 KB) | wikimediacommons>Cosmia Nebula | fixed legend (flipped) |
File usage
There are no pages that use this file.