Skip to content
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

Output from simulator is useless #103

Closed
atgeirr opened this issue Mar 20, 2014 · 10 comments
Closed

Output from simulator is useless #103

atgeirr opened this issue Mar 20, 2014 · 10 comments

Comments

@atgeirr
Copy link
Member

atgeirr commented Mar 20, 2014

Running sim_fibo_ad with the SPE1 case now yields screen output as follows:

---------------    Simulation step number 0    ---------------
      Current time (days)     0
      Current stepsize (days) 5
      Total time (days)       -5

... for all steps! Although it seems to actually run through, I have no way of telling.

For the disk output this is really bad, as I only get a single output file in each directory, such as pressure/000.txt.

Could you look at this please, @andlaus?

@andlaus
Copy link
Contributor

andlaus commented Mar 20, 2014

that's strange. I get

---------------    Simulation step number 0    ---------------
      Current time (days)     0
      Current stepsize (days) 1
      Total time (days)       1


Iteration         Residual
        0        32.3323876
        1        4.51667724
        2     0.00323940562
        3    8.80005972e-07
Fully implicit solver took:  0.434333 seconds.
output not found. Using default value 'true'.
output_vtk not found. Using default value 'true'.
output_dir not found. Using default value 'output'.
output_interval not found. Using default value '1'.
check_well_controls not found. Using default value 'false'.
max_well_control_iterations not found. Using default value '10'.
[...]

The only thing which should not be there is the 'parameter $FOO not found' messages, which probably come from the EclipseWriter but I did not consider important enough to spend time on so far.

did you pass any special parameters? Also, did you recompile all your modules (parser, core and autodiff) via make clean; make all?

@atgeirr
Copy link
Member Author

atgeirr commented Mar 20, 2014

What is the output from the next step, @andlaus?

I've not done a completely clean make, so I'll try that.

@andlaus
Copy link
Contributor

andlaus commented Mar 20, 2014

that seems correct, too:

---------------    Simulation step number 0    ---------------
      Current time (days)     0
      Current stepsize (days) 14
      Total time (days)       14


Iteration         Residual
        0        23.0234863
        1        112.720838
        2        39.5783439
        3        61.5589758
        4        73.1025021
        5        17.2380017
        6       0.978620078
        7     0.00612021457
        8    2.47595192e-06
        9    1.50545318e-08
Fully implicit solver took:  1.100337 seconds.
output not found. Using default value 'true'.
output_vtk not found. Using default value 'true'.
output_dir not found. Using default value 'output'.
output_interval not found. Using default value '1'.
check_well_controls not found. Using default value 'false'.
max_well_control_iterations not found. Using default value '10'.

Well, the 'total_time' is arguably wrong, but with the SimulationTimer uses TimeMap changes, this is now the total time to the next report step...

@andlaus
Copy link
Contributor

andlaus commented Mar 20, 2014

If the problem is still there after a full rebuild: what's your compiler?

@atgeirr
Copy link
Member Author

atgeirr commented Mar 20, 2014

Your output is wrong too, it says step 0 instead of incrementing it, and it does not give the total time. What is the content of your <output_dir>/pressure/ folder?

@atgeirr
Copy link
Member Author

atgeirr commented Mar 20, 2014

Problem still present after full rebuild. Compiler Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn).

@andlaus
Copy link
Contributor

andlaus commented Mar 20, 2014

Your output is wrong too, it says step 0 instead of incrementing it

that's the same cause. I'll fix it by adding a "starting report step" message to the main loop...

What is the content of your /pressure/ folder?

and@heuristix:~/src/opm-autodiff|master > ls output/pressure/
000.txt
and@heuristix:~/src/opm-autodiff|master > head output/pressure/000.txt
41731945.3487886
40114600.7449783
38534147.1311803
37057682.9492362
35955547.393983
35116436.2715023
34509660.1923222
34084486.0415427
33812394.2618883
33679280.6539295
and@heuristix:~/src/opm-autodiff|master > wc -l output/pressure/000.txt
300 output/pressure/000.txt

this should probably be the number of report steps taken (3 in this case), right?

@andlaus
Copy link
Contributor

andlaus commented Mar 20, 2014

Problem still present after full rebuild. Compiler Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn).

Okay, I can't try that compiler since I don't have MacOS X. I'm using clang 3.3, though...

@atgeirr
Copy link
Member Author

atgeirr commented Mar 20, 2014

@andlaus Kai Bao is looking at this now, we'll fix this.

@atgeirr
Copy link
Member Author

atgeirr commented Apr 22, 2014

This is not an issue any more, closing.

@atgeirr atgeirr closed this as completed Apr 22, 2014
ElyesAhmed pushed a commit to ElyesAhmed/opm-simulators that referenced this issue Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants