Users Forum

ADONIS Category => ADONIS Users => Topic started by: dennis roddeman on September 16, 2018, 03:39:41 am

Title: script to write: nodes, elements, element material id
Post by: dennis roddeman 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
---
Title: Re: script to write: nodes, elements, element material id
Post by: Roozbeh 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
Title: Re: script to write: nodes, elements, element material id
Post by: dennis roddeman 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?
Title: Re: script to write: nodes, elements, element material id
Post by: Roozbeh on September 17, 2018, 12:00:11 am
what partner page?
Title: Re: script to write: nodes, elements, element material id
Post by: dennis roddeman on September 17, 2018, 12:09:22 am
www.feat.nl -> partners
Title: Re: script to write: nodes, elements, element material id
Post by: Roozbeh 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?
Title: Re: script to write: nodes, elements, element material id
Post by: dennis roddeman 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



Title: Re: script to write: nodes, elements, element material id
Post by: Roozbeh on September 17, 2018, 08:40:27 am
got it, sounds good to me.
Title: Re: script to write: nodes, elements, element material id
Post by: dennis roddeman on September 19, 2018, 03:07:47 am
I made a simple example youtube video: https://www.youtube.com/watch?v=a-ujFm9s7n0
Title: Re: script to write: nodes, elements, element material id
Post by: Roozbeh on September 19, 2018, 10:53:05 am
it's cool. well done!