[Dune] Store Data in grid cells

Oliver Sander oliver.sander at tu-dresden.de
Tue Mar 29 06:44:26 CEST 2016


Hi Justus,

your question is a little vague.  What exactly do you mean by "did not work
as expected"?

The grid how-to also contains a complete implementation of a finite element solver
for the Poisson equation (in Chapter 6.4).  Did you try that?  Do you have problems
with that one, too?

Best,
Oliver

On 25.03.2016 01:50, Schock, Justus wrote:
> Dear Duners,
> 
> 
> I want to use DUNE for solving PDEs (just like the Poisson-Equation or the Diffusion-Equation).
> 
> 
> This is why I want to store some data (like concentration etc.) directly in the cells of the grid.
> 
> 
> I even tried using Mappers (as explained in chapter 6 of the How-To) and tried to write something very similar to the elementdata.hh.
> 
> ​Unfortunately it did not work as expected and I dont't know if it has been the wrong idea in general or only a wrong implementation.
> 
> 
> Furthermore I texperimented a bit with the DGF, trying to pass the cell data directly in the file, the grid is constructed from.
> 
> 
> Could anyone just give me a hint or some explanation/link/example how this should be done?
> 
> 
> Best,
> Justus
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20160329/2cf00bc8/attachment.sig>


More information about the Dune mailing list