Thank you Roozbeh,
This is clear now. Another issue I am having is with the history plot. If I change the code to:
newmodel()
k=1000
rect("startPoint",0,0,"endPoint",1,1)
discretize("maxedge",0.1)
triangle("maxedge",0.1)
material("create","IsoElastic","matid",1,"matname","Material 1","density",2500,"shear",3759.4,"bulk",9803.92)
material("assign","matid",1)
applybc("xfix","xlim",0.993,1.023,"ylim",0.018,0.933)
applybc("xfix","xlim",-0.032,0.012,"ylim",0.050,0.927)
applybc("xfix","xlim",-0.306,1.031,"ylim",-0.024,0.018)
applybc("yfix","xlim",-0.175,1.047,"ylim",-0.028,0.014)
applybc("yvel",-0.1/k,"xlim",-0.046,1.037,"ylim",0.977,1.041)
applybc("yfix","xlim",-0.046,1.037,"ylim",0.977,1.041)
hist("add","ydisp","atPoint",0.5,1)
solve("numstep",k)
plot("chart","hist","id1",1)
I still get an empty history plot