Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about obstacle #17

Closed
EDITH666 opened this issue Apr 14, 2023 · 7 comments
Closed

about obstacle #17

EDITH666 opened this issue Apr 14, 2023 · 7 comments

Comments

@EDITH666
Copy link

hi,I‘m a beginner of LBM,i want to ask u a basic question, if i want to change the type of the obstacle how can i define my program, after trying several times,it is still something wrong in shape_type.

@jviquerat
Copy link
Owner

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

@EDITH666
Copy link
Author

EDITH666 commented May 4, 2023

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。

@EDITH666
Copy link
Author

EDITH666 commented May 4, 2023

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

@jviquerat
Copy link
Owner

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

@EDITH666
Copy link
Author

thanks for your answer!

@EDITH666
Copy link
Author

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)

@jviquerat
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants