x

ADONIS:
Version 3.90.9 (Released at 10/19/2024)
- Minor bugs in mesh generation module has been fixed.
- Gmsh is upgraded to version 4.13.1.

HYRCAN:
Version 2.0.18 (Released at 10/26/2024)
- Minor bug in translation has been fixed.
- Minor bug in geometry creation is fixed.


script to write: nodes, elements, element material id(Read 17547 times)
script to write: nodes, elements, element material id on: September 16, 2018, 03:39:41 am
Hi, yes I am lazy. Does anyone have a script which writes as output nodes (node number and coordinates), elements (element number, name, node numbers) and  element_material id's (element number and material id as name or number)? So by example something like:

node 1 0.0 0.0
node 2 0.12 0.0
node 3 0.22 1.3
....
element 1 tria3 1 3 2
element 2 beam 7 8
...
...
element_material 1 3
element_material 2 4
---
« Last Edit: September 16, 2018, 06:55:05 am by dennis roddeman »



Re: script to write: nodes, elements, element material id Reply #1 on: September 16, 2018, 11:27:22 pm
since several users had the same request, I created a simple script file to show how to use scripting language to extract information. please take a look at "Useful Scripts" session (http://geowizard.org/forum/index.php?topic=243.0)

as mentioned please make sure you use ADONIS 2.3.5 (latest version updated at 09/16/2018) in which couple of bugs related to script engine are fixed.

-Roozbeh



Re: script to write: nodes, elements, element material id Reply #2 on: September 16, 2018, 11:45:33 pm
Super, thank you Roozbeh.

I do finite elements myself. Can I put you on our partners page?



Re: script to write: nodes, elements, element material id Reply #3 on: September 17, 2018, 12:00:11 am
what partner page?



Re: script to write: nodes, elements, element material id Reply #4 on: September 17, 2018, 12:09:22 am
www.feat.nl -> partners



Re: script to write: nodes, elements, element material id Reply #5 on: September 17, 2018, 08:10:14 am
cool, I don't see any issue with this but I have not contributed to development of Tochnog Professional FE program!! how is it going to work?



Re: script to write: nodes, elements, element material id Reply #6 on: September 17, 2018, 08:38:06 am
I make for our users that mesh write script from you available. The logic: for more standard calculations our users can calculate with  adonis if they want. After that, if they need strange options of our program they can export the mesh from adonis and continue with our tochnog professional program.

Thank you, Dennis






Re: script to write: nodes, elements, element material id Reply #7 on: September 17, 2018, 08:40:27 am
got it, sounds good to me.



Re: script to write: nodes, elements, element material id Reply #8 on: September 19, 2018, 03:07:47 am
I made a simple example youtube video: https://www.youtube.com/watch?v=a-ujFm9s7n0



Re: script to write: nodes, elements, element material id Reply #9 on: September 19, 2018, 10:53:05 am
it's cool. well done!