Commit Graph

685 Commits

Author SHA1 Message Date
Tor Harald Sandve
46462dd845 Move modification of density to convective mixing module 2024-08-08 17:23:40 +02:00
Trine Mykkeltvedt
9696ff0824 fix for flag when DRSDTCON is active, adressed warnings and fixed initialization 2024-08-08 17:23:40 +02:00
Trine Mykkeltvedt
3d943770a5 adressed minor comments by reviewer, added enableConvectiveMixing flag to drsdtcon 2024-08-08 17:23:40 +02:00
Trine Mykkeltvedt
2b5825e0e5 extending drsdtcon with regimes, and option for GAS/WATER 2024-08-08 17:23:40 +02:00
Bård Skaflestad
04595958b6 Merge pull request #918 from akva2/remove_print_properties
changed: remove the print-properties parameter
2024-08-08 10:17:57 +02:00
Arne Morten Kvarving
f5ceed0a19 BlackOilOnePhaseIndices: use constexpr 2024-08-07 12:52:02 +02:00
Arne Morten Kvarving
30cd551e64 BlackOilTwoPhaseIndices: use constexpr 2024-08-07 12:52:02 +02:00
Arne Morten Kvarving
fab0a5cc0d BlackOilIndices: use constexpr 2024-08-07 12:52:02 +02:00
Arne Morten Kvarving
78412ff5ba changed: remove the print-properties parameter
property introspection is not supported and unlikely to return
2024-08-07 11:46:42 +02:00
Arne Morten Kvarving
7f623137df BaseOutputModule: remove unnecessary warning suppressions 2024-08-07 09:11:20 +02:00
Arne Morten Kvarving
e5843a46ae BaseOutputModule: reuse member function instead of copy-pasta 2024-08-07 09:11:20 +02:00
Arne Morten Kvarving
4e083a04a2 BaseOutputModule: replace if-nests with switch 2024-08-07 09:11:20 +02:00
Arne Morten Kvarving
63d707a67f BaseOutputModule: replace copy-pasted code with helper 2024-08-07 09:11:20 +02:00
Arne Morten Kvarving
4e0cdd289d changed: move the AmgCoarsenTarget parameter to Opm::Parameters 2024-08-02 19:19:31 +02:00
Arne Morten Kvarving
f3af89447b changed: move the GMResRestart parameter to Opm::Parameters 2024-08-02 19:19:31 +02:00
Arne Morten Kvarving
b5470dc3eb changed: move the PreconditionerRelaxation parameter to Opm::Parameters 2024-08-02 19:19:31 +02:00
Arne Morten Kvarving
b23f0289e3 changed: move the LinearSolverMaxError parameter to Opm::Parameters 2024-08-02 19:19:31 +02:00
Arne Morten Kvarving
5cab2e668a changed: move the PreconditionerOrder parameter to Opm::Parameters 2024-08-02 19:19:30 +02:00
Arne Morten Kvarving
0e06d6491b changed: move the LinearSolverMaxIterations parameter to Opm::Parameters 2024-08-02 19:19:13 +02:00
Arne Morten Kvarving
59f586189e changed: move the LinearSolverVerbosity parameter to Opm::Parameters 2024-08-02 19:19:13 +02:00
Arne Morten Kvarving
ffdbd2f127 changed: move the LinearSolverAbsTolerance parameter to Opm::Parameters 2024-08-02 19:19:13 +02:00
Arne Morten Kvarving
b9615ea29a changed: move the LinearSolverTolerance parameter to Opm::Parameters 2024-08-02 19:19:13 +02:00
Arne Morten Kvarving
321a7c7305 changed: move the LinearSolverOverlapSize parameter to Opm::Parameters 2024-08-02 19:19:13 +02:00
Arne Morten Kvarving
67b10555d3 changed: move the EnableGravity parameter to Opm::Parameters 2024-08-02 19:19:12 +02:00
Arne Morten Kvarving
c4ac2040c8 changed: move the PvsVerbosity parameter to Opm::Parameters 2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
88fc367633 changed: move the PressureScale parameter to Opm::Parameters 2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
023511962b unstructuredgridvanguard: update parameter references
this file is unused so this is untested
2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
858cc11328 simplexvanguard: update parameter references
this file is unused so this is untested
2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
3a261e15e3 changed: move the PTFlash parameters to Opm::Parameters 2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
6beb557b2a changed: move the SeparateSparseSourceTerms parameter to Opm::Parameters 2024-08-01 13:03:36 +02:00
Arne Morten Kvarving
c8f8b53733 changed: move the NumericDifferenceMethod parameter to Opm::Parameters 2024-08-01 13:03:35 +02:00
Arne Morten Kvarving
8869202680 changed: move the BlackoilNewthonMethod parameters to Opm::Parameters 2024-08-01 13:03:16 +02:00
Arne Morten Kvarving
d2e1b31a1a changed: move the FlashTolerance parameter to Opm::Parameters 2024-08-01 13:03:16 +02:00
Arne Morten Kvarving
63d233a551 changed: move the VtkMicpModule parameters to Opm::Parameters 2024-07-30 13:38:58 +02:00
Arne Morten Kvarving
0cf2d1dc41 changed: move the VtkWriteTemperature parameter to Opm::Parameters 2024-07-30 13:29:30 +02:00
Arne Morten Kvarving
42f393db31 changed: move the VtkSolventBlackoilModule parameters to Opm::Parameters 2024-07-30 13:23:09 +02:00
Arne Morten Kvarving
dc89d30f3c changed: move the VtkBlackoilPolymerModule parameters to Opm::Parameters 2024-07-30 13:12:43 +02:00
Arne Morten Kvarving
e39165c801 changed: move the VtkPrimaryVarsModule parameters to Opm::Parameters 2024-07-30 13:12:43 +02:00
Arne Morten Kvarving
57f562b873 changed: move the VtkBlackoilEnergyModule parameters to Opm::Parameters 2024-07-30 13:12:43 +02:00
Arne Morten Kvarving
3a939c5356 changed: move the VtkCompositionModule parameters to Opm::Parameters 2024-07-30 13:12:42 +02:00
Arne Morten Kvarving
0bedc4db32 changed: move the VtkBlackoilModule parameters to Opm::Parameters 2024-07-30 13:12:25 +02:00
Arne Morten Kvarving
8f536c74b4 changed: move the VtkWritePhasePresence parameter to Opm::Parameters 2024-07-30 13:12:25 +02:00
Arne Morten Kvarving
4d8b6afa1d changed: move the VtkDiffusionModule parameters to Opm::Parameters 2024-07-30 13:12:25 +02:00
Arne Morten Kvarving
74fd7667ff changed: move the VtkDiscreteFractureModule parameters to Opm::Parameters 2024-07-30 13:12:25 +02:00
Arne Morten Kvarving
2400cf03ce changed: move the VtkMultiPhaseModule parameters to Opm::Parameters 2024-07-30 13:12:23 +02:00
Arne Morten Kvarving
218960a71d changed: move the VtkPTFlashModule parameters to Opm::Parameters 2024-07-30 13:11:14 +02:00
Arne Morten Kvarving
09ac67b736 changed: move the VTKEnergyModule parameters to Opm::Parameters 2024-07-30 13:11:14 +02:00
Atgeirr Flø Rasmussen
55608d9407 Merge pull request #908 from jakobtorben/initialize_water_saturation_for_RSW
initialize water saturation for gas dissolved in water
2024-07-19 09:22:41 +02:00
Lisa Julia Nebel
4d0179cffc Implement a more polling-based interface for the tasklets failure mechanism 2024-07-12 15:12:41 +02:00
Lisa Julia Nebel
92a8ef1c4b Add an atomic flag to TaskletRunner
This flag is shared between the threads, if any thread fails, this is set and before the new threads get dispatched or run, this flag is checked.
In case it is set, the program aborts.
2024-07-08 20:58:02 +02:00
jakobtorben
5eac0880a9 initialize water saturation for gas dissolved in water 2024-07-05 10:23:13 +02:00
Arne Morten Kvarving
b4db328670 cosmetics 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
ef55cf2489 changed: move the GridFile parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
ff46b91ff0 changed: move the Cells(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
fdf0179c5a changed: move the DomainSize(X|Y|Z) parameters to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
6b11559bf4 changed: move the PredeterminedTimeStepsFile parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
48d2672402 changed: move the RestartTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
65fa0fae9e changed: move the InitialTimeStepSize parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
7101b68989 changed: move the EndTime parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
78cd842193 changed: move the PrintParameters parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
fda381c349 changed: move the PrintProperties parameter to Opm::Parameters 2024-07-01 17:51:01 +02:00
Arne Morten Kvarving
e28284b68a changed: move the NewtonMaxIterations parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving
7a4a91c3bf changed: move the NewtonTargetIterations parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving
526aac8865 changed: move the NewtonMaxError parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving
2a133b615e changed: move the NewtonTolerance parameter to Opm::Parameters 2024-07-01 15:40:56 +02:00
Arne Morten Kvarving
c54fb7816f changed: move the NewtonWriteConvergence parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Arne Morten Kvarving
a39ccfd4d3 changed: move the NewtonVerbose parameter to Opm::Parameters 2024-07-01 14:13:34 +02:00
Arne Morten Kvarving
3730ce659e fvbaseproperties.hh: put setting of defaults values in separate section
increases overview
2024-07-01 10:13:03 +02:00
Arne Morten Kvarving
59a246e178 changed: move setting of default vanguard to basicproperties.hh
use forwarding to avoid including dgfvanguard.hh unless it is actually
used
2024-07-01 10:13:03 +02:00
Arne Morten Kvarving
cea13e4b96 changed: move the ParameterFile parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
4cce7022bb changed: move the GridGlobalRefinements parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
b38a991b05 changed: move the EnableThermodynamicHints parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
67bb6717f3 changed: move the EnableStorageCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
e3222a6dd6 changed: move the EnableIntensiveQuantitiesCache parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
f77c12bce9 changed: move the ContinueOnConvergenceError parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
3f1e2eb73c changed: move the MaxTimeStepDivisions parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
b7cf4b8132 changed: move the MinTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
eaa75856c6 changed: move the MaxTimeStepSize parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
d1f3411a66 changed: move the EnableAsyncVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
db9ac62d9d changed: move the EnableVtkOutput parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
da2b47b459 changed: move the OutputDir parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
95841aaae2 changed: move the EnableGridAdaptation parameter to Opm::Parameters 2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
7e304296a5 changed: start splitting compile time properties from runtime parameters
working towards putting the latter in the Opm::Parameters namespace.
start by moving the ThreadsPerProcess parameter
2024-07-01 09:46:45 +02:00
Arne Morten Kvarving
ca21f087b5 fixed: don't use a EnableVtkOutput parameters as a property
query it as a parameter should be queried instead
2024-06-28 13:19:43 +02:00
Atgeirr Flø Rasmussen
8699cec954 Avoid call to FaceDir::FromIntersectionIndex() in hot path.
Call is expensive, might also be good to improve the function in opm-common. (FaceDir.cpp)
2024-04-26 16:43:50 +02:00
Arne Morten Kvarving
ac909fefc4 replace iterators with range based loops 2024-04-15 11:38:32 +02:00
Arne Morten Kvarving
fee52d410a ParameterSystem: drop unnecessary Param struct
move code to the appropriate template functions instead
2024-04-15 11:38:32 +02:00
Arne Morten Kvarving
43cbc059bd remove Param::check_
there is no way to inconsistently access parameters any more
so this sanity check is unnecessary
2024-04-15 11:19:12 +02:00
Arne Morten Kvarving
b02eb95477 Parameters::isSet: pass parameter struct instead of stringified 2024-04-15 10:23:39 +02:00
Timo Koch
cd92d15f05 [fix] Fix missing include dune/common/version.hh 2024-04-10 11:53:21 +02:00
Arne Morten Kvarving
078b0e8679 remove macro EWOMS_GET_PARAM 2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
4d2486196f remove macro EWOMS_GET_PARAM_ 2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
fe06454112 pass property struct to Parameters::get
use this to obtain default value and parameter name
2024-04-05 14:54:53 +02:00
Arne Morten Kvarving
72322ec6ff Parameter::get: remove unused overload 2024-04-05 14:01:44 +02:00
Arne Morten Kvarving
5dea27c960 remove unused propName param in Parameters::get
it is always the same as paramName
2024-04-05 14:01:44 +02:00
Arne Morten Kvarving
04273d31c3 Parameters::hideParam
pass property struct instead of name of stringified parameter.
2024-04-05 12:55:57 +02:00
Bård Skaflestad
bdb93b6e62 Merge pull request #890 from akva2/remove_ewoms_register_param_macro
Remove ewoms register param macro
2024-04-05 12:42:27 +02:00
Arne Morten Kvarving
48fa0f3c59 drop macro EWOMS_REGISTER_PARAM 2024-04-05 10:05:30 +02:00
Arne Morten Kvarving
22a5aab10e Parameters::registerParam: grab name from struct
optionally allow a member to override
2024-04-05 10:03:36 +02:00
Arne Morten Kvarving
069161bd84 Parameters::registerParam: pass Property struct and use parameter type from its definition 2024-04-05 10:03:36 +02:00