OGS 5.8 crashes

Hi everyone,

I’m new to the ogs software and I’ve spent the past week trying to learn and understand how everything works but I’m just bad at this whole programming thing. From the book “Geoenergy Modeling I – Geothermal Processes in Fractured Porous Media”, I’ve been trying to do the “Heat Flow Through a Layered Porous Medium” exercise which details each of the input files (GLI, MSH, PCS, etc.). While reading the example, I found the links from which I downloaded the ogs 5.8 version and the .rar that contains the files for the geothermal exercises. Then I opened the cmd, copied the ogs.exe into the folder that contains the input files and then entered the name of the process which in my case is “OGS-CES-I-E02”. As you can see in the first image, there’s an error regarding the point 4 and, besides, the “code” gets stuck after apparently reading some input files and the screen goes black, so I have to restart the PC. I have opened each of the input files from python in jupyter notebook and they seem to be OK. I also modified some initial conditions of two of the files within python and after executing ogs, it seems as if the files got converted into UNIX format (second image). I’d really appreciate it if anyone could give me a hand with these things


Just to see if it would work and to provide a reply to you.
The forum write box seems to have some ugly formatting when you paste the output from a Terminal…

This uses Linux to run the Win-x32 executable; but the key point is, maybe, that I used OGS-CES-I-E02 as the File name without extension.
In the Tutorial on page 49 (see Fig. 6) the input file is ogs-ces-I-06. I used full caps.
On page 58, section 4.4.3.1 tells you to use unix2dos or vice versa to convert OS-related file formats.

OS: Ubuntu 20.04
OGS 5 version: 5.7, released 2016

https://github.com/ufz/ogs5/releases/download/5.7.0/ogs-5.7.0-Windows-6.1.7601-x32.zip

Open a Linux terminal in the extracted ogs.exe folder /media/l1nux/SEAG2TB1/OGS/ogs570_win32/bin

In the Terminal, use wine (windows emulator) to start the simulation and include the PATH to the exercise you are interested in, with its name or title (no extension)

wine ./ogs.exe /media/l1nux/SEAG2TB1/OGS/ogs58/OGS-CES-I-E02_heat_flow/OGS-CES-I-E02

Simulation runs and completes OK:

l1nux@l1nux-P370EM:/media/l1nux/SEAG2TB1/OGS/ogs570_win32/bin$ wine ./ogs.exe /media/l1nux/SEAG2TB1/OGS/ogs58/OGS-CES-I-E02_heat_flow/OGS-CES-I-E02
 
          ###################################################
          ##                                               ##
          ##               OpenGeoSys-Project              ##
          ##                                               ##
          ##  Helmholtz Center for Environmental Research  ##
          ##    UFZ Leipzig - Environmental Informatics    ##
          ##                  TU Dresden                   ##
          ##              University of Kiel               ##
          ##            University of Edinburgh            ##
          ##         University of Tuebingen (ZAG)         ##
          ##       Federal Institute for Geosciences       ##
          ##          and Natural Resources (BGR)          ##
          ##  German Research Centre for Geosciences (GFZ) ##
          ##                                               ##
          ##    Version 5.7(WH/WW/LB)  Date 07.07.2015     ##
          ##                                               ##
          ###################################################

          File name (without extension): /media/l1nux/SEAG2TB1/OGS/ogs58/OGS-CES-I-E02_heat_flow/OGS-CES-I-E02
            
---------------------------------------------
Data input:
GEOLIB::readGLIFile open stream from file /media/l1nux/SEAG2TB1/OGS/ogs58/OGS-CES-I-E02_heat_flow/OGS-CES-I-E02.gli ... done
read points from stream ...  ok, 5 points read
read polylines from stream ...  ok, 1 polylines read
tag #SURFACE not found or input stream error in GEOObjects
PCSRead ... done, read 1 processes
MFPRead
BCRead ... done, read 1 boundary conditions
STRead ... done, read 1 source terms
ICRead
OUTRead
TIMRead
MSPRead
MMPRead ... done, read 4 medium properties
NUMRead
MSHRead:  ASCII file
Executing ConstructGrid() ...  done.
DOMRead: no DDC file
---------------------------------------------
Create PCS processes
.............................................
Create: HEAT_TRANSPORT

->Create MMP
->Create NUM
->Create EQS
->Create TIM
->Create BC
	[BC] set BC took 0
	[BC] set transient BC took 0
->Create ST
->Config ELE values
->Config NOD values
->Assign IC
->  Gass flow is formulated as mass balance.
COutput::init(): could not initialize process pointer (process type INVALID_PROCESS) and appropriate mesh
COutput::init(): trying to fetch process pointer using msh_type_name ... 
 failed
RFR: no restart data
Checking output data 


***Start time steps
Data output: Polyline profile - PLY_0


#############################################################
Time step: 1|  Time: 1|  Time step size: 1

      ================================================
    ->Process 0: HEAT_TRANSPORT
      ================================================
    PCS non-linear iteration: 0/1
      Assembling equation system...
      Calling linear solver...
	  SpBICGSTAB iteration: 5/3000 
      -->LINEAR solution complete. 
         PCS error DOF[0]: 107.497

This step is accepted.
Data output: Polyline profile - PLY_0

#############################################################

----------------------------------------------------

For process: HEAT_TRANSPORT
No time control for this process.

----------------------------------------------------
GetRFProcessProcessingAndActivation - to be removed

^O^: Your simulation is terminated normally ^O^ 
Simulation time: 0s

Thanks for your help, Tim. I could make it work with the tips you gave me. Really appreciate it!

Thanks @timc0up for providing help!

For code listings you can enclose your code in 3 backticks (I already added it to your post):

```
my code
```

In general you can use Markdown formatting.

Thanks for that Lars!

And I will use the backticks as you suggested.