-
Notifications
You must be signed in to change notification settings - Fork 1
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
New functionality #34
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ncluding better root solvers. Made some methods private in QuantumMie to ensure that they are only called as part of a call chain where sigma_eff and epsilon_eff have been computed first. These should be overridden later.
Also deleted a couple prints from testing of previous commit.
Also added pressure_tv to IdealGas, so that solvent FoR runs for idealgas=True
Formulation now uses nabla_T Psi(T, p, x), old formulation used nabla_T Psi(T, c, x)
…s of freedom Relation collected from SuperTRAPP documentation, doi.org/10.6028/NIST.IR.8209
A bunch of int and double arguments were unneccesarily passed as const int& and const double&. Also, some methods that could be const qualified were not. Some more work should be done on marking methods as const appropriately.
Note: The function gamma_corr previously only filled the upper half of the matrix it returned. This was OK, because the methods using the function used the symmetry of the matrix to retrieve values in the lower half. The function now fills the entire matrix, because only filling the upper half is just begging for bugs to appear in the future.
…g classes should override get_b_max(double T), which handles the cases in which the computation of b_max fails. Ensured that Sutherland model properly uses the IdealGas eos when initialised with is_idealgas=True, and that the ideal gas property is properly forwarded to the cpp model.
…ted initialisation. Tested calling the potential function at different temperatures, and generating effective Mie potentials.
…tumMie gives close to the same RDF as an effective Mie potential in tests/Qmie.py"
…the C++ side now.
Ensured that C++ side initialisation with directly supplying parameters works as it should, and move sigma and epsilon parameters to KineticGas class. Fixed some issues in interdiffusion, also in handling py PyWrapper for python-side supplied equation of state. NOTE: Some bugs are still hanging around (tests for issues and binary limit fail) but these seem to be semantic rather than logical bugs.
…Also clean out obsolete python-side code. Models as of now reproduce results from CUI paper.
…vity. Moved fluid utils to utils.h/.cpp Updated doc pages.
…ude more properties in the future. Modified workflow for windows build to properly install thermopack from downloaded wheel. Cleaned up docstrings and print statements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A bunch of new functionality
kinematic_viscosity
,thermal_diffusivity
, andsoret_coefficient
zarate
,zarate_x
andzarate_w
frames of reference (https://doi.org/10.1140/epje/i2019-11803-2)NOTE - There are a bunch of major changes in this PR, likely including things that will break something (even though tests pass). The build system has changed, and there is now a dependency on the
cppThermoPack
wrapper (which in time should completely replace the dependency on thepycThermopack
wrapper). However, there is just too much going on to wait any longer before merging this. I need to consolidate stuff. Sorry.