ESI openfoam 安装问题



  • 我试着安装openfoam在win10系统上,用的下面这个链接提供的安装文件。
    https://www.openfoam.com/download/release-history.php
    之前安装过,上半年还还好用的。但有一次系统更新后,Virtualbox就打不开了。
    我重新安装时,过程中就显示以下信息,无论如何也不能安装成功。有哪位大神可以指点迷津吗?多谢!

    
    Set-ExecutionPolicy : Windows PowerShell updated your execution policy successfully, but the setting is overridden by
    a policy defined at a more specific scope.  Due to the override, your shell will retain its current effective
    execution policy of Bypass. Type "Get-ExecutionPolicy -List" to view your execution policy settings. For more
    information please see "Get-Help Set-ExecutionPolicy".
    At C:\Program Files (x86)\ESI\OpenFOAM\1706\Windows\Scripts\of_install_image.ps1:2 char:1
    + Set-ExecutionPolicy Unrestricted -Scope CurrentUser
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : PermissionDenied: (:) [Set-ExecutionPolicy], SecurityException
        + FullyQualifiedErrorId : ExecutionPolicyOverride,Microsoft.PowerShell.Commands.SetExecutionPolicyCommand
    Num Args: 2
    of_v1706_centos73.tar
    C:\Program Files\Docker Toolbox\;C:\Program Files\Git\bin
    Creating CA: C:\Users\gwu\.docker\machine\certs\ca.pem
    Creating client certificate: C:\Users\gwu\.docker\machine\certs\cert.pem
    Running pre-create checks...
    (default) Default Boot2Docker ISO is out-of-date, downloading the latest release...
    (default) Latest release for github.com/boot2docker/boot2docker is v17.11.0-ce
    (default) Downloading C:\Users\gwu\.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v17.11.0-ce/boot2docker.iso...
    (default) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
    Creating machine...
    (default) Copying C:\Users\gwu\.docker\machine\cache\boot2docker.iso to C:\Users\gwu\.docker\machine\machines\default\boot2docker.iso...
    (default) Creating VirtualBox VM...
    (default) Creating SSH key...
    (default) Starting the VM...
    (default) Check network to re-create if needed...
    (default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
    (default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #6"
    (default) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
    Error creating machine: Error in driver during machine creation: Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed:
    VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\gwu\.docker\machine\machines\default\default\Logs\VBoxHardening.log'
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
    
    Error checking TLS connection: Host is not running
    Starting "default"...
    (default) Check network to re-create if needed...
    Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed:
    VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1).  More details may be available in 'C:\Users\gwu\.docker\machine\machines\default\default\Logs\VBoxHardening.log'
    VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
     ************************************************************************.
    Welcome to the OpenFOAM  Windows Version (v1706)
    Please do not close the windows. This step will install OpenFOAM image
    and will take time depending on your system memory
    It could take 10-15 minutes if system has 4 GB of RAM
     ***************************************************************************.
     of_v1706_centos73.tar
     image loading . Please Wait.......
    error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.29/images/load?quiet=0: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
          Done loading the image. Waiting for final check.. ..
      Please wait.... Almost done.. This step will take approximately 1-2 minutes to complete
    

  • 网格教授 OpenFOAM教授 管理员

    并没有尝试过这个安装包。我推荐你采用bash自己装。http://dyfluid.com/install.html 在windows10中安装OpenFOAM