Dear Julio,

I had a look at you program, and at tutorial4.cpp on which it seems to be 
based. It turns out that
the tutorial contains a bug, that even has been marked with a TODO comment. 
Simple
sources are used, not the wells, they are ignored at least for the transport. 
From first look,
your program should not have that error, I'll need to look more into why it 
fails.

But I'll certainly try to fix the tutorial!

Atgeirr



Den 19. des. 2013 kl. 12:59 skrev Júlio Hoffimann:

> At the end I'll do a pull request for opm-core to add this minimum working 
> example with both injectors and producers. I think it's really important for 
> new users/contributors.
> 
> Sincerely,
> Júlio.
> 
> 
> 2013/12/19 Júlio Hoffimann <[email protected]>
> Hi Roland,
> 
> Could you please make the modifications you have in mind? I compiled with the 
> latest version of OPM from Github and the updated code is at 
> http://codepad.org/XmmGKKwP
> 
> I just want the injector rate to be fixed at a particular rate. I'll try to 
> grasp the append_well_controls() function you mentioned.
> 
> Sincerely,
> Júlio.
> 
> 
> 2013/12/19 Roland Kaufmann <[email protected]>
> [Sorry if this reply is now totally out of the context of the discussion; our 
> spam filter has currently instituted a boycott of the OPM mailing list, so I 
> may not have seen all replies]
> 
> 
> On 2013-16-05 17:05, Júlio Hoffimann wrote:
> How do I specify the injection rate for the injector well at the
> center of the reservoir? (http://codepad.org/A2UoMzR5)
> 
> On line 162 (of the original code) you set the control mode of the injection 
> well to be BHP (bottom-hole pressure). If I understand you correctly, you 
> also want to have a RESV (reservoir rate) constraint.
> 
> I think you must append_well_controls() with type=RESERVOIR_RATE.
> 
> Also make sure you have a version after opm/opm-core#396 was merged.
> 
> -- 
>         Roland.
> 
> 
> _______________________________________________
> Opm mailing list
> [email protected]
> http://www.opm-project.org/mailman/listinfo/opm
> 
> 
> _______________________________________________
> Opm mailing list
> [email protected]
> http://www.opm-project.org/mailman/listinfo/opm


_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm

Reply via email to