-
Notifications
You must be signed in to change notification settings - Fork 37
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
Inquiries about example of air flow around car or urban flow simulation #35
Comments
Hi Jinxi, thanks for your interest, due to time constraints (I can only
use my spare time on this open source project), I was not able to maintain
this repo for a while, but I can try my best to answer your question.
Unfortunately I can't find all of these files (the geometry file is quite
big, so I didn't push it into repo). But you can still produce them
yourself. First you need to have a STL file for your geometry. Then find
the file Convert_stl_to_binary.cpp
<https://github.com/yjhp1016/taichi_LBM3D/blob/main/Single_phase/Convert_stl_to_binary.cpp>
in
the repo, this helps you to convert STL geometry file into a dat file with
0 and 1 (representing void and solid respectively) which can be used in
Taichi LBM as geometry input file. Then use one of the single phase example
code: for example example_poiseuille_flow.py
<https://github.com/yjhp1016/taichi_LBM3D/blob/main/Single_phase/example_poiseuille_flow.py>
or example_porous_medium.py
<https://github.com/yjhp1016/taichi_LBM3D/blob/main/Single_phase/example_porous_medium.py>
change
geometry file into the one you generated and modify the boundary conditions
as per your need. It should run.
Have a try and if you have any other questions, you can post here. Thanks
…On Sun, 3 Nov 2024 at 04:53, Jinxi-Li ***@***.***> wrote:
Hi Doctor Yang,
Thanks for your excellent work. I'm new to CFD, and recently we are going
to do some 'flow around a mesh' experiments in our paper. I found you have
some examples in ReadME such as flow over a vehicle and urban air flow.
This is what exactly we are looking for.
May I ask if you can provide any example codes or instructions about how I
can produce this with your codes?
Best,
Jinxi
—
Reply to this email directly, view it on GitHub
<#35>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEDKQGRMOZDLFLX5HLCAMDZ6WT3TAVCNFSM6AAAAABRCL6BIOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTAOJXGA2DQMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, Thanks a lot for your fast response and detailed instructions. I appreciate your time and kindness very much! Best, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Doctor Yang,
Thanks for your excellent work. I'm new to CFD, and recently we are going to do some 'flow around a mesh' experiments in our paper. I found you have some examples in ReadME such as flow over a vehicle and urban air flow. This is what exactly we are looking for.
May I ask if you can provide any example codes or instructions about how I can produce this with your codes?
Best,
Jinxi
The text was updated successfully, but these errors were encountered: