Git Product home page Git Product logo

Comments (4)

mostaphaRoudsari avatar mostaphaRoudsari commented on July 21, 2024

💯 for value tracker! will be very cool!

from butterfly.

TheodoreGalanos avatar TheodoreGalanos commented on July 21, 2024

@mostaphaRoudsari Did you have a chance to look into the pyFoamPlotRunner.py utility? I was wondering, in case we can't already use it directly in windows, if we could use the rational of its implementation in BF.

Or if it's not compatible with the docker version somehow we can maybe write our parsing script to plot residuals? I think that's what pyFoam does, gets the residuals from the terminal (always printed at the same place) and charts them with gnuplot or smth. This could be cool!

If we can implement this, then we can potentially create a large amount of value trackers for a variety of situations. To give a small example, imagine an internal simulation where the wind velocity on a Z-section is important. The user then inputs the surface in Gh and we use a simple function object to calculate the average wind velocity on that surface at each timestep. We can then put a value tracker of that on the screen! To make things even cooler, we can link these kind of trackers to our stopping criteria. In the above case it can be smth like this:

IF u_track WITHIN 0.01 FOR 500 iterations THEN stop running

This is just one of the cool options! I can sit down and write all the tracking function objects OF offers and we can display and use them in the same way!

Let me know what you think!

Kind regards,
Theodore.

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 21, 2024

Getting somewhere with this one:

live_plot

and here is a video: https://youtu.be/R3IMHvq9W_c

from butterfly.

mostaphaRoudsari avatar mostaphaRoudsari commented on July 21, 2024

Also, I had a closer look to pyFOAM. Unfortunately, we won't be able to use it directly from IronPython but we should make sure that users can initiate their own pyFOAM scripts from inside Grasshopper.

from butterfly.

Related Issues (20)

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.