The python code reported in this compressed folder has been implemented as part of the research that led to the paper:
Martinelli, E., A general numerical model for simulating the long-term response of two-layer
composite systems in partial interaction, Composite Structures (2020), doi: 10.1016/j.compstruct.2020.112929

It aims at simulating the response of general two-layer composite beams in partial interaction subjected to long-term phenomena like creep and shrinkage. 
The analysis can be run by launching the module "MainCreep.py". Input data should be reported into the following text files:
- AnalysisControl.txt, which defines the analysis parameters;
- Connectivity.txt, which couples each frame element with the two node which it is connected to;
- Coords.txt, which defined nodes and their cartesian coordinate in plane;
- CreepShrinkage.txt, which defines the A, B and C parameters of the general laws defining creep coefficient (eq. 38, in the paper) and shrinkage strain (eq. 37) for the two layers and possibly for the connection interface;
- Forces.txt, which reports the nodal force components;
- Frames.txt, which defines the properties of each two-layer frame element in partial interaction, including the interface shear connection modulus ksc;
- Restrains.txt, which define the boundary conditions to each nodal displacement component (0=free; 1=restrained). 

A relevant example of a set of input data is available in this compressed folder.
Further clarifications, as well as the input files of the cases reported in the paper, can be requested to the Author.
 