pymaterial

An material science package

Install

pip install pymaterial

Why Material Science?

How do we know what material to use?

Experiments

  • What the world will looks like if electron don’t follow Pauli Exclusion Principle
  • For hunting life on a new planet, does carbon actually essential?
  • Why water liquid?

Example 1: Why… \(\mathrm{H}_2\mathrm{O}\)?

charge_1 = Q(25, 'ncoulomb')
charge_2 = Q(-75, 'ncoulomb')
interatomic_separation = Q(3, 'centimeter')
charge_1, charge_2, interatomic_separation
(25 <Unit('nanocoulomb')>, -75 <Unit('nanocoulomb')>, 3 <Unit('centimeter')>)
The attractive force between charge 1 and charge 2
attractive_force = AttractiveForce().magnitude(charge_1, charge_2, interatomic_separation)
attractive_force
0.018724066233877443 newton
AttractiveForce().constant_a(charge_1, charge_2)
1.68516596104897×10-5 meter2 newton

The attractive energy \(E_A\) between charge 1 and charge 2

attractive_energy = AttractiveEnergy().magnitude(charge_1, charge_2, interatomic_separation)