Skip to content

kuennethgroup/exercise_thermal_expansion_polymers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‹ Exercise - thermal expansion of polymers

You will learn how to read that

πŸ“– Instruction

  1. Work in a jupyter notebook.

  2. Load the dataset.csv file to Python. Use the df = pd.read_csv function of the pandas package (pip install pandas). The dataset contains multiple polymers with Tg and cte values. See the file description below for more information.

  3. Visualize the polymers using RDKit (pip install rdkit). Use the Draw.MolsToGridImage function and the legend argument to plot the polymers and the SMILES strings. Hint: Draw.MolsToGridImage(mols, legends=df.smiles.tolist())

  4. Use matplotlib (pip install matplotlib) to plot cte_exp (ordinate) vs abb (abscissa) using dots with dashed lines. Hint: plt.plot(x,y, 'o--).

  5. The empirical rule by Boyer-Spencer [1] states that cte_bs * Tg = 0.08 for polymers in its rubber state. Add a column cte_bs to the data frame that contains the computed cte_bs for each polymer. Tg is already available in the data frame for each polymer. Plot both cte_exp and cte_bs vs abb in an new plot.

  6. Find a new Boyer-Spencer parameter a that better fit to our data set. Use scipy's curve_fit function (pip install scipy) to fit the function cte = a / Tg. You should find a = 0.035 (cte_bs_own = 0.035 / Tg). Add cte_bs_own to the data frame and plot cte_exp, cte_bs, and cte_bs_own vs abb in a new plot to find out how much better your own rule fits the data.

[1] R. Simha and R.F. Boyer, J. Chem. Phys., 37, 1003 (1962)

πŸ“ Files

  • README.md: markdown formated file. Contains notes and remarks for the exercise. Read carefully!

  • dataset.csv: comma separated CSV txt file (open with any editor) that contains the "coefficient of thermal expansion" (cte) of 11 polymers.

    Columns in file:

πŸ‘₯ The Kuenneth group @ UBT

πŸ‘€ https://kuenneth.uni-bayreuth.de

The Kuenneth Group at the University of Bayreuth is dedicated to democratizing machine learning in materials science. Materials informatics efforts are underway more vigorously than ever before to streamline materials design, discovery, development, and deployment efficiently and effectively.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published