taichi_LBM3D
taichi_LBM3D copied to clipboard
How to export pressure for a simulation
Your code is really useful. Thank you very much for your contribution. I encountered a problem while using the program. I noticed that when using the gridToVTK function to output the simulation results, there was a line of commented code: # cellData={"pressure": pressure}, but there seemed to be no pressure parameter defined in all the codes. How can I export pressure for a simulation?
Hi, in LBM we don't calculate pressure directly, we use EOS to estimate pressure from density, so if you have density rho, you can calculate pressure from there :-)
On Tue, 24 Oct 2023 at 14:54, gengshaoyang @.***> wrote:
Your code is really useful. Thank you very much for your contribution. I encountered a problem while using the program. I noticed that when using the gridToVTK function to output the simulation results, there was a line of commented code: # cellData={"pressure": pressure}, but there seemed to be no pressure parameter defined in all the codes. How can I export pressure for a simulation?
— Reply to this email directly, view it on GitHub https://github.com/yjhp1016/taichi_LBM3D/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQHESWBBSPN7CPWED6DYA7CCFAVCNFSM6AAAAAA6NXZCICVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TSMZQHA2TCOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Does EOS refer to equations such as p=ρRT for ideal gases?
Yes 😊
gengshaoyang @.***> 于 2023年10月25日周三 上午2:03写道:
Does EOS refer to equations such as p=ρRT for ideal gases?
— Reply to this email directly, view it on GitHub https://github.com/yjhp1016/taichi_LBM3D/issues/21#issuecomment-1778308783, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQDOSHJABM2QP3CCKFDYBBQNTAVCNFSM6AAAAAA6NXZCICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGMYDQNZYGM . You are receiving this because you commented.Message ID: @.***>