Thank you for the answer!
I will make a try.

On Thu, Nov 3, 2016 at 3:44 PM, Wolfgang Bangerth <bange...@colostate.edu>
wrote:

> On 11/03/2016 07:54 AM, Julian Dorn wrote:
>
>>
>>
>>   template <int dim>
>>   class AdvectionField : public TensorFunction<1,dim>
>>   {
>>      // define 2D velocity vector field
>>   }
>>
>> How to do its Paraview/GMV-output?
>>
>
> The easiest way is probably to create an FESystem(FE_Q<dim>, dim) (i.e., a
> finite element with as many components as the vector field), then create a
> DoFHandler, use VectorTools::interpolate to interpolate your vector field
> onto this DoFHandler, and then use DataOut to write the result into a file.
>
> I think this would actually make for a nice self-contained example that
> one could put into the "Possibilities for extensions" of one of the
> tutorials. Want to give this a try and see whether you can come up with
> some code that does that?
>
> Cheers
>  W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth          email:                 bange...@colostate.edu
>                            www: http://www.math.colostate.edu/~bangerth/
>
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/fo
> rum/dealii?hl=en
> --- You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/dealii/5yVcTyB8tC0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to