Thank you Trevor,

This works, but it saves the array values only.

I found an alternative solution with:

dump.write({'E' : FaceVariable(mesh=mesh,value=phi.faceGrad,rank=1)},filename='prova.gz',extension='.gz')

which preserves the FaceVariable character.

Merry Christmas!

Marcel


El 19/12/19 a les 19:04, Keller, Trevor (Fed) via fipy ha escrit:
The error message indicates that `dump.read` got something unexpected
-- namely, a `value` field -- and threw.

Naïvely, dumping `phi.faceGrad.value` instea dof `phi.faceGrad`
appears to do the trick.

--
Dr. Marcel Aguilella-Arzo
Professor Titular d'Universitat, Física Aplicada
Coordinador de la Subespecialitat de CCEETT del Màster en Professor d'Educació 
Secundària
Departament de Física
Escola Superior de Tecnologia i Ciències Experimentals
Universitat Jaume I
Av. Sos Baynat, s/n
12071 Castelló de la Plana (Spain)
+34 964 728 046
[email protected]

_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to