Page 1 of 1

Substructure programming

Posted: Wed Dec 14, 2022 9:42 am
Dear stko

I have established a 50 * 50m free field soil model and a separate concrete tunnel model, and want to adopt the "substructure method" to obtain the structural response

In the free field model, I use the quadup element to obtain the pore water pressure results at each time step

Assume that the spring stiffness coefficient K and damping coefficient C used to simulate soil are related to the change of pore water pressure, for example (u is pore water pressure)



K = 2 * u

C = 3 * u



The pore water pressure at each time step can be obtained by calculating the free field model,

Can I input K and C after each time step change into the structural model through python?

If possible, can you tell me how to do it or have any tutorial to guide me?



Thank you very much!

Re: Substructure programming

Posted: Thu Dec 15, 2022 8:40 am
by STKO Team
In theory it is possible, via TCL, not Python (because STKO writes Tcl files for OpenSees, and the update of the K and C should be done during the opensees's analysis).

But first we need to make sure that both the element and the material model you are using for the springs allow you to update their parameters.

What element and/or material are you using?