Giter VIP home page Giter VIP logo

Comments (7)

jviquerat avatar jviquerat commented on May 23, 2024

Hi, could you elaborate on your issue ?
Please provide an example of what you're trying to do and what error message you get

from lbm.

EDITH666 avatar EDITH666 commented on May 23, 2024

I have 2 questions
1)If I want to add a property of deflection angle in the Obstacle class, for example, if I want the initialized square object to have a deflection angle of 60 degrees, how should I modify the program?In my previous attempt, I tried to add a property of type 'angle' in the Obstacle class and made the necessary changes in the subsequent program, but the drawn shape did not deflect。

from lbm.

EDITH666 avatar EDITH666 commented on May 23, 2024

2)How can I remove the type restriction on the Obstacle class? For example, if I want to simulate irregular shapes, can I simply remove the type parameter

from lbm.

jviquerat avatar jviquerat commented on May 23, 2024

@EDITH666 you should check and modify the src/utils/shapes.py file to implement your modifications

from lbm.

EDITH666 avatar EDITH666 commented on May 23, 2024

thanks for your answer!

from lbm.

EDITH666 avatar EDITH666 commented on May 23, 2024

Excuse me to ask another question, I changed the maximum simulation time during simulation but the generated picture did not change What is the reason for this (is it to modify the t variable in the lattice file)

from lbm.

jviquerat avatar jviquerat commented on May 23, 2024

It all depends on the case you are considering, if you are run a low-reynolds case it is likely that the flow pattern converges to a static solution

from lbm.

Related Issues (8)

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.