Skip to content

python scripts for T study#58

Open
camilafaccini wants to merge 1 commit intosoftmaterialslab:masterfrom
camilafaccini:rollback
Open

python scripts for T study#58
camilafaccini wants to merge 1 commit intosoftmaterialslab:masterfrom
camilafaccini:rollback

Conversation

@camilafaccini
Copy link
Copy Markdown
Contributor

added python scripts for T study (calculates dielectric constant of water as function of T, and bjerrum length)

added python scripts for T study (calculates dielectric constant of water as function of T, and bjerrum length)

#equation from National bureau of standards (1956):

er0 = 87.74 - 0.40008*Tc + (9.398e-4)*(Tc**2) - (1.410e-6)*(Tc**3)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@camilafaccini check e(T) expression. 0.40008 should be 0.4008.

er0 = 87.74 - 0.40008*Tc + (9.398e-4)*(Tc**2) - (1.410e-6)*(Tc**3)

#adjust by 3% to match NIST values (1951):
er = 1.003*er0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@camilafaccini we ignore this correction as we repeat 25 C

T = np.linspace(5, 50, 50)
#er = 87.74 - 0.40008*Tc + (9.398e-4)*(Tc**2) - (1.410e-6)*(Tc**3)

er = 87.74 - 0.40008*T + (9.398e-4)*(T**2) - (1.410e-6)*(T**3)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@camilafaccini see comments above in er correction second term and not using the 0.003 error correction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants