-
Notifications
You must be signed in to change notification settings - Fork 90
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
Use ComponentProperties in calculation functions #2799
Conversation
…dkachuma/compositional-fluid
@@ -44,6 +48,8 @@ struct PengRobinsonEOS | |||
? 0.37464 + 1.54226 * omega - 0.26992 * omega * omega | |||
: 0.3796 + 1.485 * omega - 0.164423 * omega * omega + 0.016666 * omega * omega * omega; | |||
} | |||
|
|||
static constexpr char const * catalogName(){ return "PengRobinson"; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure one needs catalogName
for those things, could you help me to understand it here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a point to this. I believe I have a coupled of commits missing. Let me check my local branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added one remaining commit. The idea is the negative two phase flash is no longer tied to the cubic eos. So the names are moved into the cubic eos objects themselves. These are used down the line in CompositionalMultiphaseFluid to give names to catalog entries.
...oreComponents/constitutive/fluid/multifluid/compositional/functions/KValueInitialization.hpp
Show resolved
Hide resolved
src/coreComponents/constitutive/unitTests/testCompositionalProperties.cpp
Show resolved
Hide resolved
* Create another copy of CompositionalMultiphaseFluid * Create template parameterised Compositional multiphase fluid * Create phase models * Replace template parameter pack with individual parameters * Rename CompositionalMultiphaseFluidPVT to CompositionalMultiphaseFluidPVTPackage * Lump component molecular weight and component names into ComponentProperties * Implement water phase index * Use ComponentProperties ---------
NegativeTwoPhaseFlash
to not be specific to the cubic EOS model.#2465