Hi,
i’m trying to run a cfd simulation from the 01_0_Outdoor_airflow from the butterfly example files. I am following the tutorial from @mostapha . Block mesh is giving me some errors.
"
Updating cell size in blockMeshDict.
Updating grading in blockMeshDict.
Saved changes to blockMeshDict to:
C:\Users\fjmtgeneral\butterfly\outdoor_airflow\system\blockMeshDict
Runtime error (Win32Exception): WindowsError
Traceback:
line 232, in run, “C:\Users\fjmtgeneral\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\butterfly\runmanager_bluecfd.py”
line 756, in command, “C:\Users\fjmtgeneral\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\butterfly\case.py”
line 788, in blockMesh, “C:\Users\fjmtgeneral\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\butterfly\case.py”
line 52, in script
"
I installed Bluecfd 2017-2 and it has been running as an admin.
Any ideas how to solve this issue? there is also a grad xyz at the beginning of the script that is not connected to anything on its output.
Hi @TheodorosGalanos, I’m grateful for your reply.
I’ve chcked the issue you suggest me and I confirm that’s the point. Sadly it still doesn’t work, but I have a question; Thomas Wortmann (Tomalwo) say:
"
Changing line 45 in runmanager_bluecfd.py to the below solves the problem for me:
self._project_folder = os.path.join(os.path.expanduser('~'), 'butterfly', self._project_name)
"
but in my runmanager_bluecfd.py file I find as follow (from #line41 to #line49):
I’ve never written any Python script before, but it seems to me that #line45 and #line46 are strictly related and I am wondering which line I do really need to replace.
This would be the text I’m guessing (it’s actually the same line). Still not sure why it doesn’t work like this but you can at least try changing that to what is suggested and see if it helps.
Thanks again but still doesn’t work, I don’t know what I’m doing wrong.
I found a topic related to this where @thomas.wortmann has answered by himself, so I hope to have a piece of advice directly from him.