-
Notifications
You must be signed in to change notification settings - Fork 32
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
A new domain ConstantTVGasDomain #258
base: main
Are you sure you want to change the base?
A new domain ConstantTVGasDomain #258
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #258 +/- ##
==========================================
- Coverage 48.71% 47.78% -0.94%
==========================================
Files 31 31
Lines 8313 8475 +162
==========================================
Hits 4050 4050
- Misses 4263 4425 +162 ☔ View full report in Codecov by Sentry. |
eda6fcd
to
d5b47f0
Compare
…ConstantT to prevent kH and kLA being extrapolated to negative values
I found a small bug in the rops function that we could include in this PR. In |
Thanks for the PR! I see that the test is failing with
Could you take a look into it? |
@hwpang Just saw this and took a look. The temperature (298 K) for the test was below the range used to extrapolate kH and kLA, so my branch calculated the values of kH(T) and kLA(T) at the lowest temperature in the given range (350 K), making the results different. We could allow extrapolation if the kLA and kH values are not negative. It is probably alright in this case I would think. |
I made a new domain for constant temperature, constant volume gas. The pressure is calculated from the number of moles as simulation progresses.
I have used it in a simulation with a vapor liquid interface with no issues.