"Brickwalling" is the process of explaining a problem to something that can't talk back, such as a brick wall. Often, simply explaining a problem is enough to suggest a solution.
This seems to be the same thing as RubberDucking and CardboardProgrammer.
See the "consulting technique" in GalaxyQuest.