ladybug-tools / butterfly

:butterfly: A light python API for creating and running OpenFoam cases for CFD simulation.
http://ladybug-tools.github.io/butterfly.html
GNU General Public License v3.0
249 stars 72 forks source link

How to change the workingDir automatically set by OpenFOAM? #354

Open gdlthu opened 6 years ago

gdlthu commented 6 years ago

Hi, guys.

Originally, I logged in my computer using a Microsoft account. Considering that the Microsoft account's name is a full name that has a whitespace, I relogged in my computer using a local account. So, I have two user folders in C:\Users. After I installed everything, such as docker, VB, OpenFOAM, I found the workingDir automatically set by OF_Env_Create is in my local user folder and all other things were in my Microsoft account user folder, including the OpenFOAM file generated by Butterfly. So, when I generated mesh and loaded mesh in Dynamo using Butterfly, it told me an error that said "Failed to find points file". And when I opened OpenFOAM_Start.exe, cd workingDir and type ls, I found there were nothing in workingDir.

So, how can I manage it and deal with this problem? Thanks a lot in advance.

MingjieZhangNJU commented 1 year ago

Have you found a way?