How to export pressure for a simulation
gengshaoyang opened this issue · 3 comments
gengshaoyang commented
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?
yjhp1016 commented
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
<#21>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEDKQHESWBBSPN7CPWED6DYA7CCFAVCNFSM6AAAAAA6NXZCICVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE2TSMZQHA2TCOI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
gengshaoyang commented
Does EOS refer to equations such as p=ρRT for ideal gases?
yjhp1016 commented
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
<#21 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJEDKQDOSHJABM2QP3CCKFDYBBQNTAVCNFSM6AAAAAA6NXZCICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZYGMYDQNZYGM>
.
You are receiving this because you commented.Message ID:
***@***.***>