BlueCore CFD 2020 blockmesh error

Hi, I have updated bluecore to 2020 and when running blockMesh i get this error:

  1. Solution exception:‘“C:\Program Files\blueCFD-Core-2020\setvars.bat”’ is not recognized as an internal or external command,
    operable program or batch file.
    ‘tee’ is not recognized as an internal or external command,
    operable program or batch file.

Is there a way to redirect grasshopper to read the setvars_OF8.bat file?

Hi @hmurya Butterfly Version 0.0.05 only support blueCore-CFD 2017-1 Version. Please uninstall blueCore-CFD-2020 and install blueCore-CFD 2017-1 Version.

2 Likes

can we not use 2017-2?

also now i get this error:

  1. Solution exception:‘docker-machine’ is not recognized as an internal or external command,
    operable program or batch file.

BlueCore-CFD 2017-2 can work fine with butterly 0.0.05.

1 Like

I get this error now: “1. Solution exception:‘docker-machine’ is not recognized as an internal or external command, operable program or batch file.”

Would you happen to know how I can fix that? All the solutions I see online are for VM Box, but i am using my windows system

Check %USERPROFILE%\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\butterfly\config.yml .

Is blueCFD at the top of the list?

it is. checked version 7 for rhino

What is the output when you run the following script in GHPython?

import butterfly
print butterfly.config

It says “none” to me

I have the similar problem with hmurya. docker-machine error.

butterfly.config['runner'] must be 'blueCFD'.
butterfly.config is set in line 37 of %USERPROFILE%\AppData\Roaming\McNeel\Rhinoceros\6.0\scripts\butterfly\__init__.py

If you read the code, you may be able to figure out why butterfly.config is not set to a value.

I would not have asked you if I did obviously :frowning:
I do not get such a line anywhere btw.

Is your version of Butterfly 0.0.05?

Here is where config is set to a value. set_config is the function defined above.

os.chdir(os.path.dirname(__file__))
with open('config.yml') as inst:
    _ofrunners = re.findall(r'\s- (.*)', inst.read(),re.MULTILINE )

config = set_config(_ofrunners)

hey, were you able to fix the problem?

No unfortunately I could not solved it then gave up.

What about blueCFD-core_2017 with butterfly 0.0.0.5 (2019)?

The two works fine,please go ahead.

2 Likes

@hmurya , did you run the bluecore terminal once after the installation??
The initial blockmesh is not generated maybe because butterfly is not recognising the openfoam installation in your system.
Run swoosh and check the output to be sure

Thank you so much! It finally worked!