Arne Morten Kvarving
4aa6dc355f
rename TTag::EclFlowProblemTPFA to TTag::FlowProblemTPFA
2024-02-23 09:27:48 +01:00
Arne Morten Kvarving
67c9bba4c9
rename TTag::EclFlowProblem to TTag::FlowProblem
2024-02-23 09:27:48 +01:00
Bård Skaflestad
d69ba021a9
Merge pull request #5168 from lisajulia/feature/removeFilesOnSimulationStartup
...
Feature/remove files on simulation startup
2024-02-08 17:30:07 +01:00
Lisa Julia Nebel
e4080a3fe4
Add 'prepareResultOutputDirectory' function in Opm namespace that removes possible old simulation output files from the specified output directory.
...
This function is called during 'setupLogging' before the actual logging starts.
2024-02-08 16:08:50 +01:00
Arne Morten Kvarving
b09c70213b
FlowMainEbos: rename to FlowMain
2024-02-06 10:42:23 +01:00
Arne Morten Kvarving
de9c3ddfda
added: test for outputdir
2023-12-19 15:21:58 +01:00
Arne Morten Kvarving
c95cd5b147
added: bool param to flag that Main.hpp should not initialize/finalize MPI
...
needed for tests
2023-12-19 15:12:44 +01:00
Atgeirr Flø Rasmussen
093b346426
Avoid modifying outputDir, leave empty if defaulted.
...
Handle this case for Damaris, which needs to be told the output dir
before this is available from the IOConfig.
2023-12-19 15:12:44 +01:00
Atgeirr Flø Rasmussen
1dbd971710
Merge pull request #4889 from jcbowden/damariswriter-for-sim-fields-v5
...
Geometric mesh data added for Damaris in-situ visualisation
2023-12-15 10:18:00 +01:00
Josh Bowden
54d6db6f35
Update 1 for code after code review of PR 4889
2023-12-13 18:13:55 +01:00
Markus Blatt
4f619f8f38
Also print information about parallel run to PRT file.
...
Up to now this information is only output to standard out.
To help with debugging and replicating (e.g. in case of crashes)
without saved standard putput, we now also print the imformation about
MPI processes and OMP threads to the PRT file.
2023-12-13 16:42:02 +01:00
josh bowden
8898db41d7
Reorganised headers, removing redundant ones;
...
Tidy up of whitespace.
2023-09-25 22:16:43 +02:00
josh bowden
c7c4bffa7c
Refactored the Damaris command line functionality so that commandline arguments are accessed where they are needed in the DamarisKeywords() method
2023-09-24 22:23:31 +02:00
josh bowden
bb38c57b1b
Update for support of Damaris mesh based in situ processing
...
Moved damaris command line parameter accessors to Main.cpp and fixed support for both Python and Paraview Python scripts, as they both cannot be present in the same simulation (seems to be an initialization conflict or double initialization)
2023-09-23 22:24:11 +02:00
josh bowden
8095eb0c48
Geometric mesh data added for in-situ visualisation
...
added access to DUNE mesh geometry and passing through data to Damaris;
Updated command line so users can specifiy Python or Paraview script names and other paramaters that control Damaris
- Simulation name
- Number of dedicated cores or dedicated nodes
- Shared memory region size
- switch to turn off HDF5 output.
- Damaris logging level
2023-09-22 23:23:29 +02:00
Josh Bowden
6e4f3bd37e
added changes as discussed in PR 4827
2023-09-01 18:28:03 +02:00
Josh Bowden
84d3530fd9
fix for deadlock at end of simulation when run with Damaris and test for whether Damaris can be run as Damaris requires at least 2 MPI ranks (one for simulation and the other as to run Damaris i/o)
2023-08-31 15:51:34 +02:00
Arne Morten Kvarving
adfe80cba0
avoid dead stores
2023-06-27 13:40:54 +02:00
Markus Blatt
2906d7157d
Allow oversubscribing OpenMP threads.
...
There is a strange interaction when using MPI and OpenMP on some
hardware/MPI implementations. I a serial run omp_get_num_procs() would
return the number of processors but when started under mpirun it would
always return 1.
With this we now allow users to use any amount of threads.
2023-06-14 12:03:56 +02:00
Tor Harald Sandve
7cf3f69cf9
Add gaswater solvent
...
Fix some places that assumed 3p + solvent
2023-05-26 16:24:38 +02:00
Tor Harald Sandve
1592ef8bd2
solvent + foam simulator
2023-05-24 16:03:09 +02:00
Tor Harald Sandve
ee39117771
Add energy + precsalt simulator
2023-05-12 10:49:17 +02:00
Bård Skaflestad
bf0b7ed948
Merge pull request #4592 from totto82/fix_vapwat_gw
...
pick correct version of flow for gas-water-vapwat case
2023-05-03 11:14:22 +02:00
Atgeirr Flø Rasmussen
9ca6034388
Remove EclStrictParsing, replace with ParsingStrictness.
...
The new parameter takes the "high", "normal" (default), or "low" string.
Also implemented behaviour.
2023-04-25 12:03:13 +02:00
Tor Harald Sandve
2a20ad8283
pick currect version of flow for gas-water-vapwat case
2023-04-17 15:25:59 +02:00
Tor Harald Sandve
4dd0798e5b
add gas + water + energy to flow
2023-03-31 08:47:19 +02:00
Arne Morten Kvarving
c92195c96a
changed: pass the version info as parameters in Banners.cpp/Main.cpp
...
we want to avoid these symbols in the library
2023-03-01 09:11:18 +01:00
Arne Morten Kvarving
e5dc2996e2
changed: move banner printing to separate compile unit
2023-02-01 22:54:55 +01:00
Arne Morten Kvarving
385f526d77
fixed: regression from 82d2146c90
...
missing PRT header
2023-01-31 15:18:25 +01:00
Arne Morten Kvarving
715e0e1c82
fix Damaris setup in Main
2023-01-18 15:37:41 +01:00
Arne Morten Kvarving
e89a68b2ff
Main.hpp: forward WellTestState
2023-01-18 14:01:43 +01:00
Arne Morten Kvarving
2b756a8202
Main: forward Action::State
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
7991af9c66
Main.hpp: forward UDQState
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
4aab577275
Main: move code for setting up Damaris to compile unit
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
560b0e5cbb
Main: move code for setting up Vanguard to compile unit
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
c901570c9b
Main.hpp: remove unnecessary Python.hpp include
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
82d2146c90
Main: move code for reading deck to compile unit
2023-01-18 14:01:42 +01:00
Arne Morten Kvarving
1729c1a414
Main: move some code to separate compile unit
2023-01-18 12:26:10 +01:00
Arne Morten Kvarving
fef009f792
Main: remove unused method and associated filesystem include
2023-01-18 12:22:50 +01:00
Arne Morten Kvarving
ffcfc5e2ea
Main.hpp: remove unnecessary ErrorGuard.hpp include
2023-01-17 13:30:39 +01:00
Arne Morten Kvarving
240c039f53
readDeck: make the ErrorGuard an internal detail
2023-01-17 13:30:39 +01:00
Arne Morten Kvarving
8179935217
Main.hpp: remove unnecessary ParseContext.hpp include
2023-01-17 09:36:35 +01:00
Arne Morten Kvarving
56df430bd6
readDeck: make the ParseContext an internal detail
2023-01-17 09:36:31 +01:00
Bård Skaflestad
6eb97c0165
Merge pull request #4388 from akva2/parser_hpp_cleanup
...
Main.hpp: remove unneccesary Parser.hpp include
2023-01-17 09:20:07 +01:00
Arne Morten Kvarving
978d130f30
Main.hpp: remove unneccesary Parser.hpp include
2023-01-17 07:56:37 +01:00
Arne Morten Kvarving
d6b7e1c253
Main.hpp: remove unnecessary ArrayDimChecker.hpp include
2023-01-17 07:36:02 +01:00
Arne Morten Kvarving
60b23e8bb1
move ParseContext configuration to readDeck
...
this way we do not need to include InputErrorAction in Main.hpp
2023-01-16 22:17:39 +01:00
Arne Morten Kvarving
fd94ca7031
add missing InputErrorAction.hpp includes
2023-01-16 22:17:39 +01:00
Arne Morten Kvarving
3a01e89585
adjust to InputErrorAction change to enum class
2023-01-16 22:17:39 +01:00
Arne Morten Kvarving
12a72b4d6e
add missing include
2023-01-09 12:49:29 +01:00