On 05/02/2018 02:36 AM, 'Maxi Miller' via deal.II User Group wrote:
When rewriting the equation into a unitless equation, I also scale the
area size onto a square defined by p1_u and p2_u. That means that I have
to rescale it back to the original size when doing a gradient
calculation, when doing a calculation for a function depending on the
position, and when printing it (same as for all variables). I can do the
first and the second part, but not the third part (rescaling before
printing), after my triangulation is defined on the unitless square from
(0, 0) to (1, 1), instead on the rectangle from (x0, y0) to (x1, y1).
At least for the purposes of visualization, you can do the scaling in
the visualization software. I know Visit supports this, and Paraview
almost certainly does as well. It's also easy to do in gnuplot.
Alternatively, you can scale the triangulation upon which everything is
based using the tools in namespace GridTools.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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/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 [email protected].
For more options, visit https://groups.google.com/d/optout.