Some doubts about one-dimensional concentration distribution calculation

21 views
Skip to first unread message

BOWEN AI

unread,
Oct 18, 2024, 4:37:41 AM10/18/24
to Tools from yuxiangwang321
Dear Professor: 
    I used the 1D concentration distribution calculation you proposed in my simulation, but I encountered some confusion. My model is shown in the figure, the upper part is a liquid area, the middle part is a nanopore area, and the lower part is another liquid area.图片1.png
In your article, you calculated the one-dimensional concentration distribution by dividing the area. However, in this model, the volume of the middle hole part and the liquid area is inconsistent, and a volume step phenomenon will occur. In this case, is the one-dimensional concentration distribution you proposed still applicable? I would be very grateful if you could answer my doubts in your busy schedule.微信截图_20241018163640.png

Y. Wang

unread,
Oct 18, 2024, 6:53:46 AM10/18/24
to BOWEN AI, Tools from yuxiangwang321
Hi Bowen,

Thank you for trying the code.

Did you mean you want to calculate density distribution along the pore? If so, the code "almost" can do that in this way: you can define a cubic pillar as the atom selection area like shown in the picture, then calculate the density distribution along the cubic pillar, that could be used to represent the density distribution along the pore. But one thing that may affect the accuracy is the radical distribution in the pore, if the density distribution is nearly homogeneous in the pore, the cubic pillar method is accurate; otherwise it may not be that accurate. You can check the radical distribution by using the code, i.e., do a 2D density distribution on a slice of the pore.

Hope that helps you.
Best,
Yuxiang
2024-10-18_214259.png





--
You received this message because you are subscribed to the Google Groups "Tools from yuxiangwang321" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tools-from-yuxiang...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tools-from-yuxiangwang321/6a71ca19-e5ff-47b7-b4a2-b2278cf98777n%40googlegroups.com.

BOWEN AI

unread,
Oct 19, 2024, 4:03:48 AM10/19/24
to Tools from yuxiangwang321
Thanks, Professor:
     I have also written a program by myself based on your idea. If I only count part of the hole area, the concentration distribution data obtained will fluctuate greatly, so I will try your code. Thank you very much for your reply. I wish you all the best. 
     I also attach the code I wrote myself.

rconcentrationsavememory_thickness.tcl
Reply all
Reply to author
Forward
0 new messages