For stated question..........with upper beam (having length of L/2) positioned so that one end is at midspan of lower beam, we obtain the following results, after crunching numbers, and based on the following conditions;
(1) Same modulus for both beams......and uniform section for each beam
(2) For any point on upper beam.....downward movement due to deflection of lower beam ...is taken as straight-line proportion (between ends of sloped upper beam)
(3) Between ends, deflection of upper beam calculated using standard deflection formulas
(4) Single point load (P) applied at midspan of upper beam.......this results in load of P/2 applied at midspan of lower beam (and at rigid support for both beams)
For any point on upper beam........total downward movement is the sum of (2) and (3).
At rigid support, deflection of upper beam due to (2) is of course zero
At inside end (which is at midspan of lower beam), deflection of upper beam due to (2) is equal to deflection of lower beam (since upper beam is in contact), while deflection of upper beam due to (3) is of course zero.
To ensure that there is no contact between beams other than at ends of upper beam.........moment of inertia of upper beam must be at least 75.22 percent of the moment of inertia of lower beam.
For lesser moment of inertia (of upper beam)......there will be contact between ends of upper beam.........the location of which is a function of the moment of inertia of upper beam. Such contact then causes some redistribution of load onto the lower beam, although the effect is relatively minor unless upper beam is much more flexible.
For point load applied to upper beam at different location..........results are expected to change somewhat (would have to extend routine for that)
John F Mann, PE