GithubHelp home page GithubHelp logo

Comments (4)

agdestein avatar agdestein commented on July 23, 2024

Hi!
This package currently only works with Julia version 1.7 and above.
The (; a, b) = x syntax (short for a = x.a, b = x.b) was introduced in Julia version 1.7.
You may consider upgrading to the latest stable version of Julia, see https://julialang.org/downloads/.

from incompressiblenavierstokes.jl.

Hemadityamalla avatar Hemadityamalla commented on July 23, 2024

Hi,
Thanks for the reply! I've upgraded Julia to 1.8.3 and I was able to overcome the above error. However, I have a new error when I execute the following command on my commandline (I am trying to run the example simulations),
julia-1.8.3 LidDrivenCavity2D.jl,
I get the following error:
Initial momentum residual = 0.05090339915871585 Iteration 1: momentum residual = 0.001034056530787347 Iteration 2: momentum residual = 0.0007818325375434987 Iteration 3: momentum residual = 0.000433200204905297 Iteration 4: momentum residual = 0.00023474593881534677 Iteration 5: momentum residual = 6.171949594050612e-5 Iteration 6: momentum residual = 7.567541449404942e-6 Iteration 7: momentum residual = 7.188702377374781e-9 Iteration 8: momentum residual = 1.0731243367881338e-14 ERROR: LoadError: UndefVarError: StateObserver not defined .

It seems that the function StateObserver is not being exported/loaded.
When manually loading the IncompressibleNavierStokes library (using IncompressibleNavierStokes) in the julia shell, I couldnt find the StateObserver variable/function.

Could you help me out with what is happening?

from incompressiblenavierstokes.jl.

agdestein avatar agdestein commented on July 23, 2024

That function is not yet included in the latest release (v0.2), I can tag a release later so it becomes available.

In the meantime, you can try the example from the stable docs, see
https://agdestein.github.io/IncompressibleNavierStokes.jl/stable/generated/LidDrivenCavity2D/.
There it should be without the StateObserver interface. The script file is available here:
https://github.com/agdestein/IncompressibleNavierStokes.jl/blob/v0.2.0/examples/LidDrivenCavity2D.jl.

from incompressiblenavierstokes.jl.

Hemadityamalla avatar Hemadityamalla commented on July 23, 2024

Hi,
Thanks for the information! I was able to get it working now.

Cheers!

from incompressiblenavierstokes.jl.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.