On 10/14/24 07:55, Kirill Romanov wrote:
**

We are developing crystal plasticity material models in a team and we want to embed our models in deal.ii. So I have a question – are there any simple tools to import a mesh (we use a simplex mesh) with generated grain structure into deal.ii (e.g. from Neper)? I have not been able to find a ready-made function. Can you please suggest options to solve my problem. So far I see one option is to write the mesh reading myself using the example of existing functions (e.g. GridIn::read_msh()) with assigning material_id to cells belonging to a particular grain.

Kirill,
deal.II can read mesh files in many different formats through the functions in namespace GridIn. step-5 and step-49 are examples.

So in your case, the question is simply in which format you have the mesh. Chances are that you can export whatever mesh you have in a format that deal.II can read. I don't know Neper -- what formats can it export?

Best
 Wolfgang

--
------------------------------------------------------------------------
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/57948924-1115-43bf-bc6d-4177de733db5%40colostate.edu.

Reply via email to