Dear Dennis,
Thanks for taking the time to reply to me. It's working perfectly !
Thanks a lot !
Best Regards,
Mahmoud
------------------------------------------------------------------------------------------------
Il 2021-05-10 07:28 Dennis Gläser ha scritto:
Dear Mahmoud,
I assume that you use the `Dumux::VtkOutputModule` for vtk output. In
this case, you can register secondary variables (in this case
viscosity) in the following way:
Dumux::VtkOutputModule<...> vtkWriter(...);
vtkWriter.addVolumeVariable([] (const auto& v) { return v.viscosity();
}, "viscosity (Pa s)");
Cheers,
Dennis
On 10.05.21 03:50, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151
wrote:
Hello Dumux team,
I'm using the OnePNI model along with the CCMPFA discretization scheme
and I want to export the water viscosity to my output like pressure
and temperature so that I can view its distribution at the different
time steps on Paraview. Could you please show me how to do this?
Thanks in advance!
Best Regards,
Mahmoud
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
_______________________________________________
DuMux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux