synthetik-technologies / blastfoam

A CFD solver for multi-component compressible flow with application to high-explosive detonation, explosive safety and air blast
Other
221 stars 97 forks source link

Installation #40

Closed shaunforth closed 3 years ago

shaunforth commented 3 years ago

Hi, this is Shaun Forth at Cranfield University and I'm trying to install blastfoam under Windows 10 following the instructions at [https://www.youtube.com/watch?v=vfd610LadSU].

  1. Installing Ubuntu 18.04 LTS for Windows Here the permissions were not set appropriately on my PC. In particular, I had to set Developer Mode to permit installation. I used the instructions at [https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_install/how-to-enable-the-windows-subsystem-for-linux/16e8f2e8-4a6a-4325-a89a-fd28c7841775]. Trust this was OK?

  2. OpenFoam v7 - Here the instructions appear insufficient to set up the signing key for the https transfer. I found [https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/debian] and used wget -q -O - https://dl.openfoam.com/add-debian-repo.sh | sudo bash Was this OK?

  3. OpenFoam v7 Now on trying
    sudo add-apt-repository http://dl.openfoam.org/ubuntu I got the following

    Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
    Hit:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
    Get:4 http://dl.openfoam.org/ubuntu bionic InRelease [6354 B]
    Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
    Hit:6 https://sourceforge.net/projects/openfoam/files/repos/deb bionic InRelease
    Err:4 http://dl.openfoam.org/ubuntu bionic InRelease
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6C0DAC728B29D817
    Reading package lists... Done
    W: GPG error: http://dl.openfoam.org/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6C0DAC728B29D817
    E: The repository 'http://dl.openfoam.org/ubuntu bionic InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    Now I'm stuck! How can I get ubuntu to sign their http://dl.openfoam.org/ubuntu bionic InRelease ?

jheylmun commented 3 years ago

Hi Shaun, The main thing I see is that we use the openfoam.org version of openfoam. Their instruction for downloading can be found here. I looks like you are adding the signing key for the .com version by trying to add the .org repo. Hopefully using the correct signing key helps! Let me know if you are still having issues though.

Thanks, Jeff

shaunforth commented 3 years ago

Hi Jeff, Yes, that has enabled me to get openfoam installed. Now for blastfoam. Regards Shaun

From: Jeff Heylmun @.> Sent: 27 May 2021 21:12 To: synthetik-technologies/blastfoam @.> Cc: Shaun Forth @.>; Author @.> Subject: Re: [synthetik-technologies/blastfoam] Installation (#40)

Hi Shaun, The main thing I see is that we use the openfoam.org version of openfoam. Their instruction for downloading can be found herehttps://urldefense.proofpoint.com/v2/url?u=https-3A__openfoam.org_download_7-2Dubuntu_&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=n2AuK7JmvDGvrxBUmBYlYjg8_QZe2AjQqQYWE5zbvcs&m=ZttZJTzjV1DUgkQ4rx32LckJhVyWifu4jH92BV9TQ5M&s=bLsPkTUDAuMjY41liVgSULcM4U9BlSe5MarGZFvWI6s&e=. I looks like you are adding the signing key for the .com version by trying to add the .org repo. Hopefully using the correct signing key helps! Let me know if you are still having issues though.

Thanks, Jeff

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_synthetik-2Dtechnologies_blastfoam_issues_40-23issuecomment-2D849909560&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=n2AuK7JmvDGvrxBUmBYlYjg8_QZe2AjQqQYWE5zbvcs&m=ZttZJTzjV1DUgkQ4rx32LckJhVyWifu4jH92BV9TQ5M&s=PplGW_NlqlEUnkmw-rkXQZ7NoV6KhABcRAFQroEm4sE&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AUHJDD57ZMMJ2JBN7LL22V3TP2RP3ANCNFSM45RRBMGQ&d=DwMCaQ&c=KveGjKEXiH4bMFgGs-LRbCbewnnyGW6-rJ0JK7ViA_E&r=n2AuK7JmvDGvrxBUmBYlYjg8_QZe2AjQqQYWE5zbvcs&m=ZttZJTzjV1DUgkQ4rx32LckJhVyWifu4jH92BV9TQ5M&s=c-dOA-As1rVqUYBc_40F1pGdw3IfE5eItZO6tRQu1Io&e=.