I understand that you mean a transformer like the one shown in the following figure:

This transformer has a primary (terminals 1 and 2) and two secondary (terminals 3 and 4; terminals 5 and 6). I understand what you want to do is connect the two secondary in series, to obtain an output of 20-0-20 V.
In order to make this connection, it is vital to know the relative polarity of each winding. In the figure, the plotted point indicates the terminals having the same polarity at any given instant.
This means that when the terminal 3 is positive, it is also the terminal 5. With this data it is possible to connect terminals 4 and 5 for what is shown in the following figure:

If connect the terminals that do not have the same polarity, the total voltage (between the end terminals) will be very close to zero volts. This is because the magnetic flux generated voltages in phase opposition which are subtracted from each other.
How to determine the polarity of the windings?
To determine the polarity of the windings must inject a known signal, not necessarily power, since the measurement is performed with the transformer without load.
Using an oscilloscope, you can determine which terminals have the same phase of the injected signal, and therefore correspond to the homopolar terminals.
I hope my answer is useful and has correctly interpreted the question!