GeoDict Forum
GeoDict Modules and their functionality => Automation => Topic started by: tp on June 18, 2025, 03:52:30 PM
-
Hello,
I'm am doing permeability modelling with geodict and I want to automatize the process. I have done a macro for one sample but I would like to run several macro one after one. If I have understood well it is possible with job queue in the software, however I don't have the access of "Manage Job queue server " in Geodict. It is because of the student license or something else ?
Best,
-
Hello,
yes, the job queue server is not included in your license. For a job queue server you would need a floating license to access GeoDict from different machines in your internal network. Then you and your colleagues could send jobs to a defined job queue server. With a node-locked license you only have access to GeoDict from one machine. Thus, you don't have a job server machine.
However, if you know the macros to run beforehand, you can create a macro, that runs the other macros one after the other. The macro execution can be recorded in a macro the same way as all other commands. Find an example in the User Guide:
https://geodict-userguide.math2market.de/2025/automation_varymacrofromgeopymacro.html (https://geodict-userguide.math2market.de/2025/automation_varymacrofromgeopymacro.html)
Also, if you want to run the same commands with varying parameters on different structures, you only need one macro. Learn how to create a parameter macro here:
https://geodict-userguide.math2market.de/2025/automation_createparametermacro.html (https://geodict-userguide.math2market.de/2025/automation_createparametermacro.html)
If you model the structures with the GeoDict structure generators, this can just be part of the macro. If you have a stack of structures, you can automatically run the study on all structure files in one folder as described in the tutorial "Automating the handling of multiple datasets with GeoPy". Download the tutorial from our website and request the password via e-mail.
https://www.math2market.com/service-support/learning-opportunities/tutorials.html (https://www.math2market.com/service-support/learning-opportunities/tutorials.html)
Does this help you?
Best regards,
Janine
-
Hello Janine,
Thank you for the answer.
I just want to apply same modelling but on different structures. Is it possible to select different macros and run one after one automatically ? For the moment I should copy different macro on the same to run all the process I want.
Best regards
TP
-
Hi TP,
following the topic in the User Guide I mentioned earlier, you can just record the execution of several macros into one. Just start Macro Recording and then in the Macro Execution Control select one macro after the other and click Record Only for each of them in the order you want to run them. Afterwards, end macro recording. Finally, you can run the new macro which then executes all the other macros automatically.
If you just want to run the same permeability simulation on different structures, it would be more elegant to just use one macro and the Python code shown in the tutorial I linked you in my earlier post. There, different structures are saved in one folder and the goal is to analyze Open and Closed Porosity on each of them automatically. You only have to replace the command for the open and closed porosity by the corresponding permeability simulation command.
Best regards,
Janine