Hello, everyone. Recently, when I used the Linemesh command and DiscretizeMember command, I found that when I used the linemesh command discrete component for gravity analysis, there seemed to be some problems with the direction of the last element. Please see the picture for details. I show an example here as a verification. Does anyone know what is going on here?
code:
import openseespy.opensees as ops
import openseespy.preprocessing.DiscretizeMember as dm
import opsvis as opsv
import matplotlib.pyplot as plt
mhscott wrote: ↑Wed Jul 13, 2022 5:20 am
Upgrade to the latest version of opsvis and try again.
Hey, Professor, after testing, I found that it is not the problem of image display. When you manually reverse the load of the last element of the component divided by the linemesh command, you can get the correct result similar to the discretizemember command.
Please post an updated script that is consistent with the plots you show. For example, the script has fix 1 1 1 for the supports but plot_model shows pins. I know this is not the issue, but I'm not assured I'm working with the most up to date script.
mhscott wrote: ↑Thu Jul 14, 2022 8:36 am
Please post an updated script that is consistent with the plots you show. For example, the script has fix 1 1 1 for the supports but plot_model shows pins. I know this is not the issue, but I'm not assured I'm working with the most up to date script.
Only beam members are used to compare the two division methods. If "-QdlBeam" in "ops.eleload ('-ele', 315,'-type','-beamuniform', QdlBeam)" is changed to "QdlBeam", a seemingly reasonable result will be obtained.
import openseespy.opensees as ops
import openseespy.preprocessing.DiscretizeMember as dm
import opsvis as opsv
import matplotlib.pyplot as plt