Dear Professor Bangerth,

On 02/09/2011 03:25 AM, Wolfgang Bangerth wrote:
In the framework of step-3, after solving the linear system, I would
like to calculate the flux on each integration point, store it somewhere
so I can after calculate for instance the integral of this field, and
then write it to the display file so I can create nice images to make my
boss happy. I am pretty sure everyone here does that 2e9 times a day,
but I can't figure out by myself. Is there any piece of tutorial out
there to help me find my way? Thanks in advance for your precious help.

There are many ways to do this. I don't think you will want to store the
fluxes, but recompute them when you compute the integral. You can see how we
evaluate a previously computed solution in, for example, step-21. For output,
the DataPostprocessor class shown in step-28 is probably most useful.

Sorry for the trivial question, and many thanks for your quick and effective reply: indeed, I have found everything I needed in steps 21 & 28.

Best regards,
Martin.



_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to