Blockmesh Error

Hi im facing an issue with the blockmesh component in Butterfly.
Ive installed Bluecfd and butterfly accordingly and ran the rhino as administrator. The components work until i have to use Blockmesh.

The error message pop up is the following
“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.
‘blockMesh’ is not recognized as an internal or external command,
operable program or batch file.”

I have tried uninstalling all components related to bluecfd and butterfly several times and reinstalling them again. The file path of when downloading BlueCFD has not been adjusted nor has all of its components for downloads.
Do advice. Thank you

2 Likes

Hi maxchia, I also have the same error. I wonder if you already have it solved?
Thanks

Hi, sadly I have not :frowning:
Still awaiting a reply.

Not many people have the same issue. Do you think it’s the versions of the software we’re using? I have Butterfly 0.0.05, blueCFD-Core 2020-1, with Rhino 6, 6.34.21034.07001.

I’m so frustrated that I’m stuck at the beginning of learning/using Butterfly. It’s good to know a way to work around it.

ahh…Just solved the problem. I just re installed another lower version of blueCFD (2017-2).

1 Like

Ohh i’ll give it a try too. Thanks

Hi XuHao. I’m facing the same problem.
Does your butterfly is working ok since you fixed the problem?

I’m trying to run butterfly 0.0.4 on rhino 7 and with blueCFD-Core-2017-2

Thanks!!!

blueCFD-Core-2017-2 is the right version. Butterfly 0.0.4 is a littel old, please update to Version 0.0.5.

1 Like

I did it! thanks minggangyin! and it worked fine!

thanks a lot!

1 Like

@minggangyin @RafaelCartana I am trying to run butterfly 0.0.5, rhino 8 wit blueCFD-Core-2024-1.

I get the error:

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

Do you two @minggangyin and @RafaelCartana or other people can solve this problem?

Thank you.

Butterfly Version 0.0.05 only support blueCFD-core-2017-1 version.

1 Like

@minggangyin Thank you. I was able to get it work with the 2017 version. I did not know that was the solution. Thanks for the fast response.

This question is something different about openfoam version update. Butterfly source code is suit for openfoam V5, not for other version. I have developed a new CFD plugin which support blueCFD 2020 version( the core is openfoam V8).
Here is the link

@minggangyin Great job with the C# and parallel processing plugin! I want to get more comfortable with the three topics. By chance, do you know what parameter in Grasshopper represents Time in the terminal?

This time for steady simulation means iteration number,not for physics time. For unsteady simulation it means the real physics time. You can ask ChatGPT or Google Gemini for details about OpenFOAM.