Physical knowledge in patterns: Bayesian network models for preliminary design