1
$\begingroup$

For a 2D HDG code, I would like to be able to visualize the solution on the edge space between elements. Basically, this amounts to plotting the solution on the "green" nodes below.

enter image description here

Is there a standard way using VTK / Paraview to plot these values along all the green line segments (using a colorbar)?

$\endgroup$
  • $\begingroup$ You can define line elements along your edges and then use them to visualize what you want. $\endgroup$ – nicoguaro Jun 13 '17 at 15:25
1
$\begingroup$

Yes -- in VTK you can output data as lines even if you are in 2d (and in 3d). You can see an example here, as part of the deal.II tutorial program step-51: https://dealii.org/developer/doxygen/deal.II/step_51.html#Results

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.