hyStrath icon indicating copy to clipboard operation
hyStrath copied to clipboard

Is it possible to add partial deletion for singular species in dsmcDeletionPatch?

Open PrikMushi opened this issue 1 year ago • 5 comments

I am working on a project where I want the dsmcDeletionPatch to delete particles, but at the same time reflect some particles backwards. Is it possible to add some probability here, where some particles hitting the deletion patch do not get detelted but get reflected?

I have only one gas species in the study.

PrikMushi avatar Apr 06 '23 00:04 PrikMushi

Take a look at dsmcAbsorbingWallPatch and associated mixed boundaries, e.g. dsmcAbsorbingDiffuseWallPatch.

timteichmann avatar Apr 06 '23 06:04 timteichmann

Thank you.

From my understanding, absorbing doesn't equate to deletion from the domain? I would still like to implement something sort of deletion patch plus some particles being reflected back.

PrikMushi avatar Apr 06 '23 06:04 PrikMushi

From my understanding, absorbing doesn't equate to deletion from the domain?

Yes, it does. For more details please have a look at the source code.

timteichmann avatar Apr 06 '23 07:04 timteichmann

Thank you again.

I have never used the Absorption patch. Is the syntax for absorption probability as such? For 50% absorption of Argon.

absorptionProbabilities = 50_[Ar];

PrikMushi avatar Apr 06 '23 07:04 PrikMushi

How to use this boundary condition? I just need to use dsmcAbsorbingDiffuseWallPatch.

du-zhihua avatar May 05 '23 02:05 du-zhihua