Reputation: 11
I am doing an analysis in Opensees, which can be written in tcl or Python (Openseespy).
In tcl the following line of code can be written:
eleLoad -ele $eleID -type -beamThermal -source BeamTemp.txt
In python the equivalent would be:
op.eleLoad('-ele', beamTag, '-type', '-beamThermal', ....)
where the dots indice some way of getting the temperature data from the text file.
I am not sure what the python equivalent would be to reading variables from a text file in the same way tcl would?
Upvotes: 1
Views: 140