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

Blockmeshcomponent error #409

Open nimah32 opened 4 years ago

nimah32 commented 4 years ago

Hi there, I have this issue when I set the boolean toggle True (Blockmesh component) . Can you please help me? I ran the openFoam correctly as well.

  1. Solution exception:

Butterfly failed to run OpenFOAM command! --> FOAM IOWarning : Found [v1012] 'convertToMeters' entry instead of 'scale' in dictionary "/home/ofuser/workingDir/butterfly/outdoor_airflow/system/blockMeshDict"

This keyword is deemed to be 108 months old.
JoshuaB-L commented 4 years ago

Hi Niamh,

Just checking that you have the most recent installation of butterfly 0.0 0.5?

Do you have the most recent version of BlueCFD installed?

Have you made sure that your rhino document is set to metres before opening the butterfly grasshopper script?

Make sure that your windows firewall is not blocking bluecfd.

These are just basic checks.

Best

Joshua

nimah64 commented 4 years ago

Thank you Joshua , finally it worked correctly, but i have another problem. it takes too long to process on my system , even when I introduce just one box as input. can you help me with that? how can i optimize the defenition?

architsama commented 4 years ago

I have check that basic checks,but it still cannot worked correctly.

  1. Solution exception:¾ä±úÎÞЧ¡£ ¾ä±úÎÞЧ¡£ ¾ä±úÎÞЧ¡£ ¾ä±úÎÞЧ¡£ ¾ä±úÎÞЧ¡£ tee: failed to reopen 'stdout' with mode 'wb': Bad file descriptor

--> FOAM FATAL IO ERROR: error in IOstream "Sout" for operation Ostream& operator<<(Ostream&, const char*)

file: Sout at line 16.

From function virtual bool Foam::IOstream::check(const char*) const
in file db/IOstreams/IOstreams/IOstream.C at line 96.

FOAM exiting

JoshuaB-L commented 4 years ago

@architsama, I believe you need to increase the write precision of controlDict from 7 to 8.

Please see the corresponding issue and reply here: #https://github.com/ladybug-tools/butterfly/issues/375#issuecomment-463883885

I hope this helps!

Joshua