You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you very much for developping this powerful GeoTaichi!!
I find the codes well structured and I want to write a 2-grid MPM code using GeoTaichi. So I began from defining 2 MPM in one file. If everything goes well, I can then define how the fields in 2 MPM interacts with each other (known as 2-grid MPM).
When I try to run 2 MPM in one file, I observed one weird behavior. In the code I shared, I define 2 MPM and no interaction between them is defined. It is about the dam-breaking of same kind of Newtonian fluid initially occupying 2 symmetric rectangle region. It is expected that their behavior is also symmetric.
As written in the code I shared, if the order of the last 2 lines is
mpm2.run()
mpm1.run()
then everything goes well, the dam-break behavior being symmetric.
However, when the order is changed like this:
mpm1.run()
mpm2.run()
the behavior is no longer symmetric, which is unexpected and undesired.
I know the way I use GeoTaichi is not the common way or the normal way. The problem I occured would almost never be occurred for those who use GeoTaichi in a normal way. But I just really want to find out what is causing this so that I could find a way to fix it or avoid it. (When I tried further coupling the 2 MPM, this problem is always happening and cannot be solved by simply change the ordes)
Are there some infomations shared by the two instances of MPM() ?
(When I tried further coupling the 2 MPM, this problem is always happening and cannot be solved by simply change the order. The way I tried to further coupling is like expanding the run() into:
First of all, thank you very much for developping this powerful GeoTaichi!!
I find the codes well structured and I want to write a 2-grid MPM code using GeoTaichi. So I began from defining 2 MPM in one file. If everything goes well, I can then define how the fields in 2 MPM interacts with each other (known as 2-grid MPM).
When I try to run 2 MPM in one file, I observed one weird behavior. In the code I shared, I define 2 MPM and no interaction between them is defined. It is about the dam-breaking of same kind of Newtonian fluid initially occupying 2 symmetric rectangle region. It is expected that their behavior is also symmetric.
As written in the code I shared, if the order of the last 2 lines is
mpm2.run()
mpm1.run()
then everything goes well, the dam-break behavior being symmetric.
However, when the order is changed like this:
mpm1.run()
mpm2.run()
the behavior is no longer symmetric, which is unexpected and undesired.
I know the way I use GeoTaichi is not the common way or the normal way. The problem I occured would almost never be occurred for those who use GeoTaichi in a normal way. But I just really want to find out what is causing this so that I could find a way to fix it or avoid it. (When I tried further coupling the 2 MPM, this problem is always happening and cannot be solved by simply change the ordes)
Are there some infomations shared by the two instances of MPM() ?
(When I tried further coupling the 2 MPM, this problem is always happening and cannot be solved by simply change the order. The way I tried to further coupling is like expanding the run() into:
...
while current_time<time:
)
(The background where I am applying this kind of coupling is simulating sand released in water.)
The text was updated successfully, but these errors were encountered: