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

Snappy Hex Mesh Win32Exception runtime error - Windows 7, Virtual Box 5.2.8, OpenFOAM v1706 #362

Closed noahmkelly closed 6 years ago

noahmkelly commented 6 years ago

Hey All,

I have searched for this issue, so I do apologize if there is overlap... but I seem to be having an issue with my current install on windows 7. I have the same install listed above on a win 10 machine and so far it works fine. Please see image attached... capture

        {0;0;0}
  1. SnappyHexMeshDict.addLayersControls.minThickness is changed from "0.2" to "0.1".
  2. SnappyHexMeshDict.addLayersControls.castellatedMeshControls.resolveFeatureAngle is changed from "180" to "95".
  3. saving the new snappyHexMeshDict.
  4. Runtime error (Win32Exception): WindowsError
  5. Traceback: line 436, in is_polyMesh_snappyHexMesh, "C:\Users\nkelly\AppData\Roaming\McNeel\Rhinoceros\5.0\scripts\butterfly\case.py" line 99, in script
noahmkelly commented 6 years ago

Here is the info from the blcokmesh

        {0;0;0}
  1. Updating cell size in blockMeshDict.
  2. Updating grading in blockMeshDict.
  3. Saved changes to blockMeshDict to: C:\Users\nkelly\butterfly\outdoor_airflow_hah\system\blockMeshDict
  4. SET DOCKER_TLS_VERIFY=1&SET DOCKER_HOST=tcp://192.168.99.100:2376&SET DOCKER_CERT_PATH=C:\Users\nkelly.docker\machine\machines\default&SET DOCKER_MACHINE_NAME=default&SET COMPOSE_CONVERT_WINDOWS_PATHS=true&docker ps
  5. SET DOCKER_TLS_VERIFY=1&SET DOCKER_HOST=tcp://192.168.99.100:2376&SET DOCKER_CERT_PATH=C:\Users\nkelly.docker\machine\machines\default&SET DOCKER_MACHINE_NAME=default&SET COMPOSE_CONVERT_WINDOWS_PATHS=true&docker ps
  6. container id: f0507a10ff6e
  7. SET DOCKER_TLS_VERIFY=1&SET DOCKER_HOST=tcp://192.168.99.100:2376&SET DOCKER_CERT_PATH=C:\Users\nkelly.docker\machine\machines\default&SET DOCKER_MACHINE_NAME=default&SET COMPOSE_CONVERT_WINDOWS_PATHS=true&docker ps
  8. SET DOCKER_TLS_VERIFY=1&SET DOCKER_HOST=tcp://192.168.99.100:2376&SET DOCKER_CERT_PATH=C:\Users\nkelly.docker\machine\machines\default&SET DOCKER_MACHINE_NAME=default&SET COMPOSE_CONVERT_WINDOWS_PATHS=true&docker ps
  9. Butterfly is running blockMesh. PID: 2291
  10. SET DOCKER_TLS_VERIFY=1&SET DOCKER_HOST=tcp://192.168.99.100:2376&SET DOCKER_CERT_PATH=C:\Users\nkelly.docker\machine\machines\default&SET DOCKER_MACHINE_NAME=default&SET COMPOSE_CONVERT_WINDOWS_PATHS=true&docker ps
  11. /---------------------------------------------------------------------------\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: v1706 | | \ / A nd | Web: www.OpenFOAM.com | | \/ M anipulation | | *---------------------------------------------------------------------------*/ Build : v1706 Arch : "LSB;label=32;scalar=64" Exec : blockMesh Date : Sep 20 2018 Time : 18:15:33 Host : "default" PID : 2291 Case : /home/ofuser/workingDir/butterfly/outdoor_airflow_hah nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations

// * // Create time

Deleting polyMesh directory "/home/ofuser/workingDir/butterfly/outdoor_airflow_hah/constant/polyMesh" Creating block mesh from "/home/ofuser/workingDir/butterfly/outdoor_airflow_hah/system/blockMeshDict" Creating block edges No non-planar block faces defined Creating topology blocks Creating topology patches

Creating block mesh topology

Check topology

Basic statistics
    Number of internal faces : 0
    Number of boundary faces : 6
    Number of defined boundary faces : 6
    Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets Creating merge list .

Creating polyMesh from blockMesh Creating patches Creating cells Creating points with scale 1 Block 0 cell size : i : 21.64049 .. 25.35771 j : 21.64049 .. 88.55238 k : 0.4999999 .. 22.1951

noahmkelly commented 6 years ago
  1. I adjusted the VM system settings for the processor, memory, etc.
  2. updated and restarted win 7
  3. deleted old butterfly grasshopper user files

now it's working.