implementing a nanoparticle #5397
-
Greetings! I am attempting to implement a nanoparticle in a specific spot of my simulation, however i am unsure of how to actually implement one into an imput file. any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hello! If you want to initialize a nanometric sphere in your simulation, you can add a particle species with:
This would add particles in your simulation according to This example could be of help. Otherwise, if what you want is to initialize a single macro particle in a given location, you can use You can find more details about particle initialization here. Let me know if this answers your question! :) |
Beta Was this translation helpful? Give feedback.
-
youre honestly amazing! thank you so much!! may i keep this chat open in case i have further questions?? |
Beta Was this translation helpful? Give feedback.
-
hello! quick question-- would i need a different parameter to declare it as a gold nanoparticle? |
Beta Was this translation helpful? Give feedback.
-
apologies i could not access this thread a while back, however i did try and run it but i keep getting dimension errors. I will attach the input file and a copy of the error below: |
Beta Was this translation helpful? Give feedback.
Hello!
If you want to initialize a nanometric sphere in your simulation, you can add a particle species with:
This would add particles in your simulation according to
density_function
, meaning thatn0
would be the number density of that species inside the sphere,x0,y0,z0
the center andR
the radius of the sphere.This example could be of help.
Otherwise, if what you want is to initialize a single macro particle in a given location, you can use
<species_name>.injection_style = SingleParticle
. In this case, you can check out this other ex…