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

Conversion of viscosity data #11

Closed
grmaier opened this issue Sep 27, 2023 · 2 comments
Closed

Conversion of viscosity data #11

grmaier opened this issue Sep 27, 2023 · 2 comments

Comments

@grmaier
Copy link

grmaier commented Sep 27, 2023

I am curious about the chosen conversion of the viscosity data from the sciglass data to the glasspy data.
In translators.py we have, e.g. for V500, the following:
"V500": { "info": "Viscosity at 773 K", "rename": "Viscosity773K", "convert": lambda x: 10 ** (x - 1), "unit": "Pa.s", }

Why do you calculate 10**(x-1) and not just 10**x?
I presumed that V500 in the sciglass database is the log10-value of the viscosity at 500C.
Is it actually the the log10-value plus 1 instead? (How do I get this kind of information about the properties in the sciglass database?)

@drcassar
Copy link
Owner

Hi @grmaier.

Why do you calculate 10**(x-1) and not just 10**x

Some viscosity data in the SciGlass database is in base-10 logarithm of the viscosity value in Poise, not in Pa.s. In GlassPy I converted everything to SI units.

How do I get this kind of information about the properties in the sciglass database?

By looking at the references and piecing the information together. There is no other way that I know of.

@grmaier
Copy link
Author

grmaier commented Sep 28, 2023

I see, thanks for the quick response!

@grmaier grmaier closed this as completed Sep 28, 2023
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

No branches or pull requests

2 participants