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

Asking for help about Taichi-LBM3D #7

Open
Flyyyyyyyy22 opened this issue Mar 21, 2023 · 12 comments
Open

Asking for help about Taichi-LBM3D #7

Flyyyyyyyy22 opened this issue Mar 21, 2023 · 12 comments

Comments

@Flyyyyyyyy22
Copy link

Dear Dr.Yang,
I am a LBM learner about multiphase flow in porous media. Your work is so excellent, and we can spend more time in the physicis problem itself.
When I run the 'lbm_solver_3d_2phase.py' in the folder '2phase', something strange happens. The invading phase is appeared at the outlet after 10000 steps, but the invading phase doesnot breakthrough at that moment. Is this caused by the small body force when using periodic boudary condition?

image

@yjhp1016
Copy link
Owner

yjhp1016 commented Mar 21, 2023 via email

@Flyyyyyyyy22
Copy link
Author

Wow, thanks for your reply! It really works! The strange phenomenon seems like counter-current imbibition due to poor driving force along the injecting direction. This forced recoloring strategy is very useful, like the modified periodic condition proposed by Liu.

@renxiaosa00
Copy link

亲爱的杨博士, 我是一名多孔介质多相流LBM学习者。你的工作非常出色,我们可以花更多的时间来研究物理问题本身。 当我运行文件夹“2phase”中的“lbm_solver_3d_2phase.py”时,发生了一些奇怪的事情。10000步后,在出口处出现侵入相,但此时侵入相并未突破。这是由于使用周期性边界条件时体力较小造成的吗?

图像

您好,当运行文件夹“2phase”中的“lbm_solver_3d_2phase. py”后,参数都是默认的吗?结果的展示是在paraview里面看的,但是只有8个不同形态,请问参数这些都是默认的吗还是有什么别的参数设置或者是我查看的方式有问题啊?我这边没有形成这样的流动形态。谢谢您!

@yjhp1016
Copy link
Owner

yjhp1016 commented Oct 7, 2023 via email

@yjhp1016
Copy link
Owner

yjhp1016 commented Mar 21, 2024 via email

@Flyyyyyyyy22
Copy link
Author

杨老师,您好。我最近在做一些LBM计算稳态相渗的工作,阅读了您的博士论文,有些困惑想要请教您。

按照您提出的方法,首先开展排驱和渗吸模拟,获得一定饱和度下的初始相分布,再施加体积力和周期边界,待稳定后根据两相达西计算相渗。(博士论文P116:“After the permeability of both phases converged, the relative permeability for a desired saturation was obtained.”)

我的疑问是如何判断稳定?比如非湿相nw处于低饱和度时,nw不能连续横跨多孔介质两端,以液滴方式流动,那么就会经历卡断、界面破碎与重合,势必会对流场造成影响。我觉得最理想的情况是流场会根据nw流动状态呈现出周期性波动。那么这种情况如何判断稳态条件,如何计算稳定后的Q?

谢谢杨老师,期待您的回复! @yjhp1016

@yjhp1016
Copy link
Owner

yjhp1016 commented Jun 26, 2024 via email

@Flyyyyyyyy22
Copy link
Author

判断稳定这个事确实有一定的主观性,在我处理的样本里面,均质性比较好的砂岩,基本上跑一段时间你如果画出湿润相和非湿润相的速度随时间变化曲线就能看出来基本变化很小了,就是稳定了,但是也有些尺度跨度很大的碳酸盐,跑了很久还是能看到速度曲线一直波动很大,如果能看出来事周期性变化,那也可以认为事稳定了,如果不是,可能就还得继续让流动继续一段时间,或者可视化下油水分布,看看是不是分布合理,人工判断下。这个和样本的复杂度是高度相关的

On Wed, 26 Jun 2024 at 15:19, Ffffffffffly @.> wrote: 杨老师,您好。我最近在做一些LBM计算稳态相渗的工作,阅读了您的博士论文,有些困惑想要请教您。 按照您提出的方法,首先开展排驱和渗吸模拟,获得一定饱和度下的初始相分布,再施加体积力和周期边界,待稳定后根据两相达西计算相渗。(博士论文P116:“After the permeability of both phases converged, the relative permeability for a desired saturation was obtained.”) 我的疑问是如何判断稳定?比如非湿相nw处于低饱和度时,nw不能连续横跨多孔介质两端,以液滴方式流动,那么就会经历卡断、界面破碎与重合,势必会对流场造成影响。我觉得最理想的情况是流场会根据nw流动状态呈现出周期性波动。那么这种情况如何判断稳态条件,如何计算稳定后的Q? 谢谢杨老师,期待您的回复! @yjhp1016 https://github.com/yjhp1016 — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY . You are receiving this because you were mentioned.Message ID: @.>

谢谢您的解答!还有一个问题,既然LBM计算稳态相渗十分耗时,为什么不直接模拟实验室非稳态相渗测试呢(随驱替饱和度变化计算)?是JBN方法忽略毛细力的假设不适合孔尺度流动吗?我只看到过一篇边驱边计算的文章“Direct simulations of two-phase flow on micro-CT images of porous media and upscaling of pore-scale forces”,是通过能量计算出达西力再用两相达西方程算RP,也不是通过JBN

@yjhp1016
Copy link
Owner

yjhp1016 commented Jun 26, 2024 via email

@gxw-ll
Copy link

gxw-ll commented Jul 3, 2024

JBN 是实际生成种经常使用的方法,好处就是省时省力,但是我们认为稳态更准确更能反应由于是油气运移初期的正确分布等等。确定就是测量非常费时费力。可根据需要选择

On Wed, 26 Jun 2024 at 15:49, Ffffffffffly @.> wrote: 判断稳定这个事确实有一定的主观性,在我处理的样本里面,均质性比较好的砂岩,基本上跑一段时间你如果画出湿润相和非湿润相的速度随时间变化曲线就能看出来基本变化很小了,就是稳定了,但是也有些尺度跨度很大的碳酸盐,跑了很久还是能看到速度曲线一直波动很大,如果能看出来事周期性变化,那也可以认为事稳定了,如果不是,可能就还得继续让流动继续一段时间,或者可视化下油水分布,看看是不是分布合理,人工判断下。这个和样本的复杂度是高度相关的 … <#m_7876738697947640361_> On Wed, 26 Jun 2024 at 15:19, Ffffffffffly @.> wrote: 杨老师,您好。我最近在做一些LBM计算稳态相渗的工作,阅读了您的博士论文,有些困惑想要请教您。 按照您提出的方法,首先开展排驱和渗吸模拟,获得一定饱和度下的初始相分布,再施加体积力和周期边界,待稳定后根据两相达西计算相渗。(博士论文P116:“After the permeability of both phases converged, the relative permeability for a desired saturation was obtained.”) 我的疑问是如何判断稳定?比如非湿相nw处于低饱和度时,nw不能连续横跨多孔介质两端,以液滴方式流动,那么就会经历卡断、界面破碎与重合,势必会对流场造成影响。我觉得最理想的情况是流场会根据nw流动状态呈现出周期性波动。那么这种情况如何判断稳态条件,如何计算稳定后的Q? 谢谢杨老师,期待您的回复! @yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 — Reply to this email directly, view it on GitHub <#7 (comment) <#7 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY . You are receiving this because you were mentioned.Message ID: @.> 谢谢您的解答!还有一个问题,既然LBM计算稳态相渗十分耗时,为什么不直接模拟实验室非稳态相渗测试呢(随驱替饱和度变化计算)?是JBN方法忽略毛细力的假设不适合孔尺度流动吗?我只看到过一篇边驱边计算的文章“Direct simulations of two-phase flow on micro-CT images of porous media and upscaling of pore-scale forces”,是通过能量计算出达西力再用两相达西方程算RP,也不是通过JBN — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQGXB6IOIXR4OG5FTVDZJLIIZAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHEYDIMRUHE . You are receiving this because you were mentioned.Message ID: @.**>

老师,您好,我主要从事含水合物沉积物气-水两相流动方面研究,很感谢您开发了这么优秀的程序,看了您的文章“A Single-Phase and Multiphase Lattice Boltzmann Solver on Cross-Platform Multicore CPU/GPUs”之后,想学习更多内容,请问在哪去查找您的博士论文,我想系统学习一下您开发这套程序的过程

@yjhp1016
Copy link
Owner

yjhp1016 commented Jul 3, 2024 via email

@gxw-ll
Copy link

gxw-ll commented Jul 3, 2024

https://core.ac.uk/download/pdf/76988721.pdf

On Wed, 3 Jul 2024 at 13:58, Sam Ultraman @.> wrote: JBN 是实际生成种经常使用的方法,好处就是省时省力,但是我们认为稳态更准确更能反应由于是油气运移初期的正确分布等等。确定就是测量非常费时费力。可根据需要选择 … <#m_-2608658186854581103_> On Wed, 26 Jun 2024 at 15:49, Ffffffffffly @.> wrote: 判断稳定这个事确实有一定的主观性,在我处理的样本里面,均质性比较好的砂岩,基本上跑一段时间你如果画出湿润相和非湿润相的速度随时间变化曲线就能看出来基本变化很小了,就是稳定了,但是也有些尺度跨度很大的碳酸盐,跑了很久还是能看到速度曲线一直波动很大,如果能看出来事周期性变化,那也可以认为事稳定了,如果不是,可能就还得继续让流动继续一段时间,或者可视化下油水分布,看看是不是分布合理,人工判断下。这个和样本的复杂度是高度相关的 … <#m_7876738697947640361_> On Wed, 26 Jun 2024 at 15:19, Ffffffffffly @.> wrote: 杨老师,您好。我最近在做一些LBM计算稳态相渗的工作,阅读了您的博士论文,有些困惑想要请教您。 按照您提出的方法,首先开展排驱和渗吸模拟,获得一定饱和度下的初始相分布,再施加体积力和周期边界,待稳定后根据两相达西计算相渗。(博士论文P116:“After the permeability of both phases converged, the relative permeability for a desired saturation was obtained.”) 我的疑问是如何判断稳定?比如非湿相nw处于低饱和度时,nw不能连续横跨多孔介质两端,以液滴方式流动,那么就会经历卡断、界面破碎与重合,势必会对流场造成影响。我觉得最理想的情况是流场会根据nw流动状态呈现出周期性波动。那么这种情况如何判断稳态条件,如何计算稳定后的Q? 谢谢杨老师,期待您的回复! @yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 https://github.com/yjhp1016 — Reply to this email directly, view it on GitHub <#7 <#7> (comment) <#7 (comment) <#7 (comment)>>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY https://github.com/notifications/unsubscribe-auth/AJEDKQAO6CFOSCSY6YHJBE3ZJLEXHAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHAZTKOJXGY . You are receiving this because you were mentioned.Message ID: @.> 谢谢您的解答!还有一个问题,既然LBM计算稳态相渗十分耗时,为什么不直接模拟实验室非稳态相渗测试呢(随驱替饱和度变化计算)?是JBN方法忽略毛细力的假设不适合孔尺度流动吗?我只看到过一篇边驱边计算的文章“Direct simulations of two-phase flow on micro-CT images of porous media and upscaling of pore-scale forces”,是通过能量计算出达西力再用两相达西方程算RP,也不是通过JBN — Reply to this email directly, view it on GitHub <#7 (comment) <#7 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQGXB6IOIXR4OG5FTVDZJLIIZAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHEYDIMRUHE https://github.com/notifications/unsubscribe-auth/AJEDKQGXB6IOIXR4OG5FTVDZJLIIZAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRHEYDIMRUHE . You are receiving this because you were mentioned.Message ID: @.> 老师,您好,我主要从事含水合物沉积物气-水两相流动方面研究,很感谢您开发了这么优秀的程序,看了您的文章“A Single-Phase and Multiphase Lattice Boltzmann Solver on Cross-Platform Multicore CPU/GPUs”之后,想学习更多内容,请问在哪去查找您的博士论文,我想系统学习一下您开发这套程序的过程 — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEDKQFSHYS32VMA6IFAKBLZKPYRFAVCNFSM6AAAAAAWB6R5N6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBWGAYTSOJQG4 . You are receiving this because you were mentioned.Message ID: @.**>

谢谢老师!

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

4 participants