[firedrake] Output for time-stepping?

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Fri Nov 13 15:20:24 GMT 2015


> On 13 Nov 2015, at 14:56, Buesing, Henrik <HBuesing at eonerc.rwth-aachen.de> wrote:
> 
>> -----Ursprüngliche Nachricht-----
>> Von: firedrake-bounces at imperial.ac.uk [mailto:firedrake-
>> bounces at imperial.ac.uk] Im Auftrag von Lawrence Mitchell
>> Gesendet: 13 November 2015 13:20
>> An: firedrake at imperial.ac.uk
>> Betreff: Re: [firedrake] Output for time-stepping?
>> 
>> 
>>> On 13 Nov 2015, at 12:14, Justin Chang <jychang48 at gmail.com> wrote:
>>> 
>>> Lawrence,
>>> 
>>> So the first option is what I have been doing. Yes only one pvd is
>> created. But what ends up also happening is that I get hundreds of .vtu
>> files. Are those files necessary for pvd to work? Sorry I am not in
>> front of my computer so I can't test any of this out yet.
>> 
>> 
>> Aha, I see.  Yes, unfortunately that's how it is :(.  Eventually we
>> intend to have nice HDF5 output for viz, but it's not there yet.
>> 
>> Cheers,
>> 
>> Lawrence
> 
> [Buesing, Henrik] Since you can also access PETSc directly, shouldn't you be able to use PetscViewerVTKOpen or PetscViewerHDF5Open for the output?

I think this requires that the Vec you get knows about the topology through a DM of some kind.  Unfortunately for a large class of the firedrake meshes (particularly the extruded meshes), although we have a DM describing the topology it's not "correct" for visualisation.

Cheers,


Lawrence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20151113/dffc7454/attachment.sig>


More information about the firedrake mailing list