Skip to content

Would Windninja developers upgrade openfoam version to latest one? #537

Closed

Description

@lo-y-wni

Dear all developers,

Just like the title described, current ninjafoam parts seem not compatible with latest openfoam version. Some of functions are no longer used in latest version or recent versions. Is there any plan to use latest openfoam?

Sincerely,
Jason

Activity

  1. latwood commented on Nov 27, 2024

    @latwood
    Collaborator
  2. latwood commented on Nov 27, 2024

    @latwood
    Collaborator

    If you need to have multiple versions of OpenFOAM on your machine, say to swap from WindNinja's version of OpenFOAM (8 soon to be 9) to whatever version you need for your other work, on Ubuntu, you just have to comment out the source /opt/openfoam8/etc/bashrc line from your .bashrc (/home/user_name/.bashrc), and add another line similar to it pointing to your other version of OpenFOAM, something like source /path_to_openfoam_dir/etc/bashrc, and then run source .bashrc to update your environment with the new path. You may need a system restart if it gets confused mixing paths or remembering the old paths alongside the new ones.

    I personally like to have a ## OpenFOAM line followed by a line for each path to each version of OpenFOAM that I use in my .bashrc file, commenting and uncommenting out however I need to, to pick the version that I want to use at a given time. So far the differing dependencies across versions of OpenFOAM hasn't caused me trouble yet, thankfully.

  3. nwagenbrenner commented on Nov 27, 2024

    @nwagenbrenner
    Member

    @lo-y-wni Which OpenFOAM version are you wanting to use? As @latwood mentioned, we currently support several versions (the ones available in the apt package manager for our supported Ubuntu versions) and if possible, the simplest solution would be to install one of those versions alongside the newer version and switch between the two as needed, sourcing the appropriate .bashrc. Let us know if this can work for you.

  4. locked and limited conversation to collaborators on Nov 27, 2024
  5. converted this issue into a discussion #538 on Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions