Giter Site home page Giter Site logo

Comments (32)

Omidmr avatar Omidmr commented on July 25, 2024 1

Hi @mostaphaRoudsari ,
Many thanks for fix & update the newer version of butterfly.
Butterfly is now Run fine in windows 10 and compatible with latest version of Openfoam!

tnx

Thanks again,
-Omid

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@chokhachian thank you for trying butterfly. Can you send a screenshot of the container. As far as I can see in your screen capture there is no open batch file. It should look like the screenshot below.

image

from butterfly.

chokhachian avatar chokhachian commented on July 25, 2024

@mostaphaRoudsari Dear Mostapha, Thanks for the reply
I get some errors in the first steps of running OpenFoam!
1

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@chokhachian that's something that you need to get fixed before trying butterfly. Have you checked online resources to fix the issue. In your case it looks like the powershell didn't get installed correctly.

from butterfly.

chokhachian avatar chokhachian commented on July 25, 2024

@mostaphaRoudsari seems on windows10 it works with latest version of openFOAM

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@chokhachian I see. then we probably need to test the butterfly against the latest version of butterfly. I'm traveling for a couple of weeks but that will be on top of the list once I'm back. Thank you for testing.

from butterfly.

chokhachian avatar chokhachian commented on July 25, 2024

@mostaphaRoudsari I already installed of_plus_1606 version and working with no errors, also tried to modify the runmanager.py file but couldn`t get through it, it needs your magic hands

from butterfly.

TheodoreGalanos avatar TheodoreGalanos commented on July 25, 2024

@chokhachian Thanks for testing! Glad to see you made it work with the new version, it's something we will test the coming weeks as well.

Please keep coming with any issues you might have with the practical side as well. We developed the defaults in Butterfly for the previous version of OF windows, although I don't suppose there will be major changes. Thanks!

from butterfly.

TheodoreGalanos avatar TheodoreGalanos commented on July 25, 2024

@mostaphaRoudsari
I seem to have difficulty linking to v1606 as well. OF is running but butterfly cannot see it. Probably a matter of updating the run component?

of_v1606_butterfly

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@chokhachian @TheodoreGalanos finally installed the latest version. Now the package is using a newer Docker technology which is actually a great news. Eventually it makes everything easier for us. I need more time to implement changes for the new version but I put it on top of the list. We will make sure to have this ready before the first public release.

from butterfly.

SaraAghaC avatar SaraAghaC commented on July 25, 2024

Hi mostapha
Thanks a lot for your new plugin
I have a same problem like a first comment and can't understand weather or not it has solved ?

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

Butterfly should now work with the latest version of OpenFOAM. To update your installation use butterfly component and set update_ to True.

image

Once it is done close both Grasshopper and Rhino and open a new Rhino and Grasshopper. Butterfly component should be updated to version 0.0.02 and should work fine with latest version of OpenFOAM. Just open one of the old sample files and try to run the analysis.

image

Let me know if you have any issues.

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@Omidmr nice! thanks for testing and letting me know.

from butterfly.

timera avatar timera commented on July 25, 2024

Hi! I am having the same issue, I have downloaded the most up-to-date openFOAM, and butterfly build. The only difference for me is that I am running Windows 7. Could you help me with this situation?
capture

from butterfly.

malshayeb avatar malshayeb commented on July 25, 2024

Hi,

I've tried Butterfly with windows 7 and I got an error. I have the latest version of OF.
2

Also, I test it with windows 10 and did not run too.
1

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@timera a couple of users have reported a similar issue on Windows 7. The issue is that butterfly can't run the batch file that gets the id of the container and so it assumes you don't have the container running. I need to add some alternate methods to address this. At the same time, I assume if we can't get the issue fixed with running batch files, you won't be able to run the analysis anyways.

@malshayeb, in your case as far as I can see the installation of OpenFOAM has failed in both cases. You can see the error messages in cmd. Can you try to uninstall and re-install OpenFOAM and try again?

from butterfly.

timera avatar timera commented on July 25, 2024

@mostaphaRoudsari , thanks for addressing the issue, let me know when it has been resovled

thanks,
Tim

from butterfly.

malshayeb avatar malshayeb commented on July 25, 2024

Thank you Mostapha,

Yes, I reinstalled OF on Windows 10 and It worked fine but then I got an issue. Any suggestions? Thanks,

1

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@malshayeb can you try this suggestion? It has worked on Windows 10 for other users.

from butterfly.

TheodoreGalanos avatar TheodoreGalanos commented on July 25, 2024

Is this issue closed by now? Or do we at least know the reasons behind it right?

If it's not yet closed, I was wondering if it is worth trying to connect BF with OpenFoam 4.0 and see how it reacts.

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@TheodoreGalanos it's an issue with Windows. What I will do next is to use docker python API to run the commands instead of using batch files and subprocess. That might help.

from butterfly.

houmanparhizkar4848 avatar houmanparhizkar4848 commented on July 25, 2024

@mostaphaRoudsari Dear Mostapha
thank you so much for writing these kind of G.h plugins ..
I have got a trouble within the checkmesh(1.1) .. and I dont know whether I have installed OpenFoam properly or not ..
this is my error screenshot
untitled
Best Regards
H.P

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@houmanparhizkar4848 does blockMesh and snappyHexMesh run fine on your machine? If that is the case, it's a different issue from this one.

from butterfly.

houmanparhizkar4848 avatar houmanparhizkar4848 commented on July 25, 2024

@mostaphaRoudsari guess they are working fine ...
but I dont know why does nothing happen to Openfoam starter while grasshopper components are activated ..
I dont know how to fix it :)
untitled

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

All, I re-wrote runmanager class and get rid of batch files. Can you update to version 0.0.03 and the new example files and let me know if it has solved the problem?

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

Here are the directions to install version 0.0.03. The old installer won't work!

from butterfly.

amirianfar-k avatar amirianfar-k commented on July 25, 2024

The same problem.
I tried BlueCFD too: www.bluecape.com.pt/blueCFD-Core
but it doesn't have web service

there are many red errors
what is login root & password for OpenFoam?

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 25, 2024

@amirmakan Butterfly is not designed to work with blueCFD. You can find the correct links here.

I'm closing this issue as the recent changes seems to have solved the problem for standard OpenFOAM installation.

from butterfly.

 avatar commented on July 25, 2024

Hello, thanks Mostapha and team for such a great tool.

I am getting an issue that @malshayeb also seemed to get (see image below). I did a little checking, and I'm thinking it might be a problem with Docker not allowing uppercase letters in the workingdir path. This seems ridiculous though; has anyone else had this issue? Thanks!

capture

from butterfly.

andrear4568 avatar andrear4568 commented on July 25, 2024

Hello @vansicek I have the same issue, have you solved it?

from butterfly.

thinklikeanarchitect avatar thinklikeanarchitect commented on July 25, 2024

I advise you to make a clean istall. Follow the instructions in the attached link and let us know if it works.

https://github.com/ladybug-analysis-tools/butterfly/wiki/Windows-10-Installation-Notes

from butterfly.

thinklikeanarchitect avatar thinklikeanarchitect commented on July 25, 2024

I advise you to make a clean install. Follow the instructions in the attached link and let us know if it works.

https://github.com/ladybug-analysis-tools/butterfly/wiki/Windows-10-Installation-Notes

from butterfly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.