Kai Bao
e44fb2363f
the newton solver for ChiFlash look working
...
while we need more checking.
2022-06-27 10:37:16 +02:00
Kai Bao
8a41b0c531
WIP in finishing the newton solver.
...
commiting for saving.
2022-06-27 10:37:16 +02:00
Kai Bao
8c566096e2
making the types for LBCJulia more proper
...
We will need to handle AD type with this function.
2022-06-27 10:37:16 +02:00
Kai Bao
b73cf5a93a
adding a LBC viscosity function translated from Julia code
...
to make sure we get the same viscosity
2022-06-27 10:37:16 +02:00
Kai Bao
6d8ef5e99f
adding compressFactor to FluidStateCompositionModules
2022-06-27 10:37:16 +02:00
Kai Bao
20d6078504
bug fixes.
2022-06-27 10:37:16 +02:00
Kai Bao
e3864e1a90
making the test_chiflash based on AD
2022-06-27 10:37:16 +02:00
Kai Bao
20b93ee3bf
small cleaning up.
2022-06-27 10:37:16 +02:00
Kai Bao
96c3462571
making test_chiflash_scalar to be CO2, C10, C1 test
2022-06-27 10:37:16 +02:00
Kai Bao
7c2694bba4
WIP in creating the julia three component system.
2022-06-27 10:37:16 +02:00
Kai Bao
3d9c344d84
further cleaning up
2022-06-27 10:37:16 +02:00
Kai Bao
054a768225
adding the CO2, C1, C10 component with exact Julia properties
2022-06-27 10:37:16 +02:00
Kai Bao
fe42b8a5b3
some cleaning up, no functionality change
2022-06-27 10:37:16 +02:00
Kai Bao
ad4d1bee4f
removing the tempalte parameter Evaluation for ChiFlash
2022-06-27 10:37:16 +02:00
Kai Bao
0c9cffbd60
adding the spe5 using chiflash
...
to compile, you need to change the function name criticalMolarVolume to
criticalVolume in Spe5FluidSystem.
And the commented out code in PengRobinson.hpp looks like needed for
spe5 flash.
2022-06-27 10:37:16 +02:00
Kai Bao
2fb4676fee
remvoing unused types for clarity.
2022-06-27 10:37:16 +02:00
hnil
22e79cd97a
fixed it
2022-06-27 10:37:16 +02:00
hnil
1637633b21
added a scalar test
2022-06-27 10:37:16 +02:00
Kai Bao
6833b8e434
some small changes, not functionality change.
2022-06-27 10:37:16 +02:00
Kai Bao
df50b67ed3
compiled and running now.
2022-06-27 10:37:16 +02:00
Kai Bao
52f23ec882
using the same types from the co2-compositional
...
it compiles now. Not sure why the running is terminated due to NaN.
2022-06-27 10:37:16 +02:00
Kai Bao
a205ff502e
continuing WIP for the test_chiflash
...
not compiled but reproducing the same compilation error with much
smaller code.
2022-06-27 10:37:16 +02:00
Kai Bao
fc38c68735
WIP to make the test_chiflash using TwoPhaseThreeComponentFluidSystem
2022-06-27 10:37:16 +02:00
Kai Bao
db5ab02dd2
incoporating K, L, twophaseflag to FluidStateCompositionModules
...
It was done by Norce in the co2-compositional branch.
It removes some compilation errors.
2022-06-27 10:37:16 +02:00
Atgeirr Flø Rasmussen
261bf56fab
[WIP] Add ChiFlash and test. Not compiling.
2022-06-27 10:37:16 +02:00
Trine Mykkeltvedt
070bc5cb1c
removed unused functions and did some renaming in PTFlash
2022-06-24 18:04:50 +02:00
Kai Bao
8fd9168dd1
adding includes files to test_components
...
But many components do not have the criticalVolume and acentricFactor
defined. So test_components does not compile.
2022-06-24 00:30:55 +02:00
Kai Bao
35321b9825
renaming ChiFlash to PTFlash
2022-06-23 23:55:37 +02:00
Kai Bao
0f8df5cca1
white space cleaning up
...
no functionality change.
2022-06-23 22:44:20 +02:00
Trine Mykkeltvedt
16c88d0a02
more peng robinson
2022-06-23 14:59:53 +02:00
Trine Mykkeltvedt
bf89f6747b
Merge branch 'add-chi-flash-trine' of github.com:GitPaean/opm-material into add-chi-flash-trine
2022-06-23 14:55:50 +02:00
Trine Mykkeltvedt
fe08002ff5
more peng robinson stuff
2022-06-23 14:54:59 +02:00
Trine Mykkeltvedt
83504883b1
more cleaning in the PengRobinson files
2022-06-23 14:47:50 +02:00
Kai Bao
9a1a41be47
cleaning up FluidStateCompositionModules.hpp a little bit.
...
mostly removing the twophaselflag_, which is not used anywhere.
not functionality changes.
2022-06-23 14:45:45 +02:00
Trine Mykkeltvedt
bc63cec485
cleaned PengRobinson, uncommented the stuff about extrema in the case of one rott - I think it can just be as it was
2022-06-23 14:35:51 +02:00
Trine Mykkeltvedt
e8d9f6ca0f
removed some printing in the polynomialsolver
2022-06-23 14:23:17 +02:00
Kai Bao
991e2f570f
slightly cleaning up PengRobinsonMixture.hpp a little bit
...
there are some more trivial cleaning work remains.
2022-06-23 13:57:30 +02:00
Trine Mykkeltvedt
d57a398b6e
cleaned up the viscositymodels, two choises availible: LBC and modified LBC
2022-06-23 11:25:53 +02:00
Trine Mykkeltvedt
9e437f64fe
moved the viscositymodels to a separate folder alongside the fluidsystem, in principle there are two viscositymodels: the standard LBC and the modified LBC. However, there might me some discrepancy between LBC and LBCjulia - this needs to be sorted out before we split this file into two (or three) separte method files
2022-06-23 09:22:26 +02:00
Trine Mykkeltvedt
6b6990a7fc
moved and renamed fluidsystems and parametercache in chifluid
2022-06-22 14:59:38 +02:00
Trine Mykkeltvedt
7de58ae532
moved the components to opm/material/components, and made subsequent changes for checking of the components
2022-06-22 14:35:55 +02:00
Trine Mykkeltvedt
06de60a6fb
removed unused files and started removing julianame
2022-06-22 11:36:47 +02:00
Kai Bao
e91ea58286
removing test_chiflash_scalar and test_chiflashspe5
...
they are not needed anymore.
2022-06-21 15:56:02 +02:00
Kai Bao
530157c092
fixing the compilation of test_chiflash
...
one reason is some code does not compile with DUNE2.6. And DUNE2.6 is
still supported by OPM.
2022-06-21 15:53:25 +02:00
Tor Harald Sandve
694fe3b85c
Merge pull request #515 from totto82/fixExtrapolateDiff
...
Extrapolate gas diffusion in CO2 module
2022-06-21 09:10:24 +02:00
Tor Harald Sandve
dba0fe19c5
Merge pull request #500 from plgbrts/JouleThomson
...
Adding Joule-Thomson effect in energy calculations
2022-06-20 11:04:15 +02:00
Tor Harald Sandve
f4118ed61d
Extrapolate gas diffusion in CO2 module
2022-06-20 10:59:15 +02:00
Trine Mykkeltvedt
82c6bfe610
added Kais startup cleaning, no functionality change
2022-06-20 09:54:15 +02:00
Trine Mykkeltvedt
5b2845bf9a
made additional test with co2 and brine working, similar as juliacode
2022-06-20 09:04:17 +02:00
Paul Egberts
0168b7719f
added Rvw argument for gas inverseFormationVolumeFactor function
2022-06-13 15:04:40 +02:00