On 3/5/24 00:46, ME20D503 NEWTON wrote:
1.
In the final .vtk file format, I don't have information about the element
type (linear or quadratic). Is it possible to assign the element type in
deal.II after reading the .vtk file?
I think you already solved that (along with the next problem), but just for
completeness: the .vtk file only contains the *mesh*. You have to choose what
element to use on it. These are independent questions.
2.
In the final .vtk file format, there is no information regarding the scale
I'm working with. I intend to create a nanoscale sample, but the
dimensions I set in DREAM.3D are unitless. Is it possible to scale it down
in deal.II after reading the .vtk file?
You will want to use GridTools::scale().
3.
The final .vtk file includes information like featureId (please see the
attached figure). After reading this .vtk file, I want to assign some
variables to the featureId. Is it possible to extract the value and assign
variables to it in deal.II?
The featureId in your .vtk file is associated with nodes. I don't think that
we currently have a way in the library to read those in -- you might want to
check what GridIn::read_vtk() can do for you. If that function doesn't do it,
you will have to either extend it, or write your own function to do that.
Best
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/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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/33a0ab6f-4b6f-4a27-a543-4f2383f1cc05%40colostate.edu.