Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python scripts for T study #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

camilafaccini
Copy link
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
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
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
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