added if test to try to work around openFOAM issues
added if test to try to work around openFOAM issues

git-svn-id: https://windsvn2.nrel.gov/FAST/branches/BJonkman@1165 10acb478-4768-415a-8850-bacdb5912d4d

Former-commit-id: 0bb1af46b63881436d0edd16560d94328d8f42a0
OpenFAST/OpenFAST,OpenFAST/OpenFAST,OpenFAST/OpenFAST