Open Jinxi-Li opened 2 days ago
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 https://github.com/yjhp1016/taichi_LBM3D/issues/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! I'll follow it and have a try!
Best, Jinxi
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