Dear Mladen,

thank you for your interest in Dumux.

Yes, you can provide a customized addOutputVtkField() in your problem. 
There is no need to pass the writer object, since the problem has access 
to it by the method resultWriter(), which you should be able to call by 
this->resultWriter().

Hope this helps, kind regards
Bernd

On 05/10/2012 03:11 PM, Mladen Jurak wrote:
> Dear All,
>
> I've started to use Dumux, 2p2c model currently, and first of all I want
> to thank
> you for excellent software.
>
> I have also a question concerning VTK output. If I understand well, to
> add an
> additional output field to the VTK output one should overwrite
> BoxProblem::addOutputVtkField()
> in its problem-class; the method is then called in
> BoxProblem:writeOutput().
> But to get the chance to output something the
> BoxProblem::addOutputVtkField()
> should be passed a writer object, which is not the case now. I did the
> required changes
> and it works well.
>
> Or, is there another way to add a field?
>
> Best regards,
> Mladen Jurak
>
>
> _______________________________________________
> Dumux mailing list
> [email protected]
> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


-- 
_____________________________________________________________________

Bernd Flemisch                               phone: +49 711 685 69162
IWS, Universität Stuttgart                   fax:   +49 711 685 60430
Pfaffenwaldring 61                  email: [email protected]
D-70569 Stuttgart                  url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________

_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to