finished upwindConvection code