phd-scripts/Biomaterials13/Sample_ParamSweep
2024-05-13 20:50:21 +01:00
..
._Launch.pbs Add scripts and inp files. 2024-05-13 20:50:21 +01:00
._OptB.in Add scripts and inp files. 2024-05-13 20:50:21 +01:00
._OptB.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
._PyWrapperB.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
._readme.txt Add scripts and inp files. 2024-05-13 20:50:21 +01:00
._tasks.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
ALE20.f Add scripts and inp files. 2024-05-13 20:50:21 +01:00
Launch.pbs Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptB.cae Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptB.in Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptB.jnl Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptB.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptPostB1.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
OptPostB2.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
PyWrapperB.py Add scripts and inp files. 2024-05-13 20:50:21 +01:00
readme.txt Add scripts and inp files. 2024-05-13 20:50:21 +01:00
Restart1.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
Restart2.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
tasks.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
tasksb.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
tasksc.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00
tasksd.inp Add scripts and inp files. 2024-05-13 20:50:21 +01:00

Using the optimization scripts. Contact james.grogan@universityofgalway.ie for further details.
--------------------------------------------------------------
These scripts were developed to perform optmizations with Abaqus and DAKOTA on the ICHEC
system. With small modifications they can also be used to perform optimizations on 
windows systems.

Prerequisites:
Abaqus (tested in v6.10)
DAKOTA (tested in v5.2) - needs to be built from source on ICHEC.

Sequence:
1. Launch.pbs
Sends optimization job to ICHEC queue. Loads modules neccessary for DAKOTA and runs the optimization job as
a taskfarm.

2. tasks.inp
Input file for the taskfarm program. Changes to a unique directory for each task an runs DAKOTA with the input file
OptB.in.

3. OptB.in
DAKOTA input file. Tells DAKOTA what sort of optimization to perform. How many parameters to use and what ranges the
parameters fall in. Launchs the preprocessing wrapper script 'PyWrapperB.py' and designates 'Bparams.in' and 'Bparams.out' as the optimization input and output files.

4. PyWrapperB.py
Python wrapper script. Launchs the Abaqus geometry kernel file 'OptB.py'. Launches each abaqus job. Launches the 
postprocessor python file 'OptPostB1.py'.

5. OptB.py
Abaqus kernel script. Creates the FE model. Model parameters are read in from DAKOTA through the Bparams.in file.

6. OptPostB1.py
Post-processes the initial simulation. If a design looks promising it launches a corrosion simulation and a second postprocessor OptPostB2.py.

7. OptPostB2.py
Post-processes the corrosion simulation. Returns the objective function value to DAKOTA through the Bparams.out text file.