Use the Predeformation subnode to specify that the elastic forces in
Spring Foundation are nonzero at zero displacement. Thus, you can model cases where the unstressed state of the spring is in another configuration than the one described by the geometry.
Physics tab with Spring Foundation node selected in the model tree: