Excellent ! Thank you Bernd, Romain.
-----Message d'origine----- De : [email protected] [mailto:[email protected]] De la part de Bernd Flemisch Envoyé : mardi 15 janvier 2013 15:50 À : DuMuX User Forum Objet : Re: [DuMuX] [Dumux] Print out some more variables (with Paraview) Hi Romain, you can overwrite the addOutputVtkFields method in your problem file, just like in test/boxmodels/co2/heterogeneousproblem.hh. There, it is also shown how to provide the permeability values. Changing it in 2pmodel also works, but is not recommended, if you want to upgrade to a new Dumux version in the future. The 2p model already can do a velocity output. You just need to enable it in your parameters file: [Vtk] AddVelocity = true Kind regards Bernd On Tue, 15 Jan 2013 15:31:05 +0100 "CHASSAGNE Romain" <[email protected]> wrote: > Hi everyone, > > I would like to visualize the permeability and the >velocity field. after > some searches I have seen where in my opinion I have to >add permeability > and velocity in order to display them in Paraview. > In void addOutputVtkFields in 2pmodel.hh (I build up my >case from > tutorial_problem), but I am still don't know how to >proceed in details > (five different parts to modify?) especially with >velocity which seems > to be not easy (undoable in 2d ?? if I understood well >?). > I have a 2D case (only x and y are declared). > > Thank you to the Dumux community, > > Cheers, > Romain. > __________________________ > Avant d'imprimer, pensez à l'environnement ! Please >consider the environment before printing ! > Ce message et toutes ses pièces jointes sont >confidentiels et établis à l'intention exclusive de ses >destinataires. Toute utilisation non conforme à sa >destination, toute diffusion ou toute publication, totale >ou partielle, est interdite, sauf autorisation expresse. >IFP Energies nouvelles décline toute responsabilité au >titre de ce message. This message and any attachments are >confidential and intended solely for the addressees. Any >unauthorised use or dissemination is prohibited. IFP >Energies nouvelles should not be liable for this message. > __________________________ ___________________________________________________________ Bernd Flemisch phone: +49 711 685 69162 IWS, Universitaet Stuttgart fax: +49 711 685 67020 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 __________________________ Avant d'imprimer, pensez à l'environnement ! Please consider the environment before printing ! Ce message et toutes ses pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. IFP Energies nouvelles décline toute responsabilité au titre de ce message. This message and any attachments are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. IFP Energies nouvelles should not be liable for this message. __________________________ _______________________________________________ Dumux mailing list [email protected] https://listserv.uni-stuttgart.de/mailman/listinfo/dumux
