Hi All,
Attached are STLs and input script (remove the .txt). I want to know how to run this script so that ins1 runs 20000 time steps then ins2 gets in and runs for 30000 time steps. In short, ins1 will run 50000 time steps and ins2 runs for only the last 30000 time steps.
Thank you for your help.
Attachment | Size |
---|---|
![]() | 824 bytes |
![]() | 890 bytes |
![]() | 885 bytes |
![]() | 845 bytes |
![]() | 839 bytes |
![]() | 3.15 KB |
Daniel Queteschiner | Wed, 02/03/2016 - 09:10
2 run commands
Use 2 run commands and put the second insertion fix after the first run command.
fix ins1 all insert/stream seed 5330 distributiontemplate pdd1 maxattempt 100 nparticles 2500 particlerate 2500 &
overlapcheck yes vel constant 0.0 -1.0 0.0 insertion_face ins_mesh1 extrude_length 0.08
run 20000
fix ins2 all insert/stream seed 5330 distributiontemplate pdd2 maxattempt 100 nparticles 2500 particlerate 2500 &
overlapcheck yes vel constant 0.0 -1.0 0.0 insertion_face ins_mesh2 extrude_length 0.08
run 30000
Theo_Score | Wed, 02/03/2016 - 12:10
HOW TO HAVE MULTIPLE PARTICLE INSERTIONS
I have updated my initial post for clarity.
Daniel Queteschiner | Thu, 02/04/2016 - 15:51
So what's the issue?
So what's the issue?
My answer still stands.
Theo_Score | Fri, 02/05/2016 - 16:15
Insertion fix style
Thank you Daniel, it worked after I changed the particle insertion fix style from mesh/surface to mesh/surface/planar.