Users Forum

ADONIS Category => Useful Scripts => Topic started by: reversi on November 25, 2026, 07:27:46 am

Title: Automated generation of a 3-cells culvert script for Adonis
Post by: reversi on November 25, 2026, 07:27:46 am
Hi all,
in this post i've attached an excel spreadsheet that is capable to automatize the creation of an Adonis script to analyze a 3-chambers culvert.

You only have to input main data in the green cells, then select an existing folder to place the script in and generate it with the button "generate".

The next step will be to import the Adonis output in the excel file and calculate the reinforcement of the culvert.

NOTE: this file was first create by afazio in this topic: https://bar-ingegneria.forumfree.it/?t=81290750 and i've only provided a limited help to correct some details and translated it.
Title: Re: Automated generation of a 3-cells culvert script for Adonis
Post by: Roozbeh on November 25, 2026, 11:39:42 am
Great job, Reversi! I will definitely give it a try'
Title: Re: Automated generation of a 3-cells culvert script for Adonis
Post by: reversi on November 25, 2026, 01:06:28 pm
please note that the published file creates a script with the line:
discretize("auto")
but current version of adonis requires this modified line:
discretize("size","auto")
i didn't know of it because i'm using v3.50 neither that change in the command discretize() is documented in the v3.90 manual.

so, please, roozbeh, update the manual.
Title: Re: Automated generation of a 3-cells culvert script for Adonis
Post by: reversi on November 26, 2026, 06:12:08 am
due to a lot of upgrade and improvements, here is the current version of the spreadsheet. now it is capable to import the adonis output for future calculation of the reinforcement.

note: now, in the script, it writes discretize("size","auto") so you need to change it to discretize("auto") if still using v3.50. also, if using v3.50, you have to change the command gmsh() to mesh the model.