Skip to content

Wrong number density calculation in axisymmetric DSMC case #32

@MaXXe4th

Description

@MaXXe4th

Hello everyone,

Case files: piclas_issue.zip

Output number density

Image

I am simulating the exhaust plume of an electrical thruster in a vacuum chamber using PICLas. For this I want to first simulate a neutral Ar stream in DSMC which will be my background gas in future PIC simulations.

I use an axisymmetric domain (x_max 0.4 cm, y_max 0.4 cm) and used tutorial 7.6 as my template.

The domain has a residual pressure of 0.2 Pa which translates to about 5E19 $m^{-3}$ number density which I want to keep steady inside the domain during the simulation.

The left side (x=0) consists of wall boundary conditions and a small inlet area (the thruster). Bottom is symmetric_axis and front and back are symmetric_dim. Right now I have ungrouped the top and right boundaries, in order to experiment with the conditions. Essentially I want them both to be open condition, but keep the pressure stable at 0.2 Pa. (Adaptive boundaries)

The issue

Whatever I try, the number density at the top boundary condition decreases, while the right works perfectly fine. As I use the same conditions for the right outlet, my guess is that the big surface area of the top boundary (which is effectively an cylindric plane at radius 0.4) is causing this.

What I've tried

  • If I set the top boundary as wall, everything works fine. However I would expect open conditions with steady pressure to also work. As this is closer to my application I would like to keep open boundaries.
  • I tried a Surface Flux with fixed PartDensity 4.83E19 and 0.0 VeloIC at the top boundary
  • I experimenterd with different radial weighting. In the current state I have multiple 100 particles in the topmost cells
  • I set SurfFluxSides to different values but didn't see any difference in the behavior. Right now I have it at 200.

For the Adaptive pressure boundary I use

Part-Species1-Surfaceflux2-Adaptive = TRUE
Part-Species1-Surfaceflux2-Adaptive-Type = 1
Part-Species1-Surfaceflux2-Adaptive-Pressure = 0.2

and

AdaptiveBC-TruncateRunningAverage = T ! DEFAULT: F
AdaptiveBC-SamplingIteration = 100

I would be grateful for any insight into what the problem is. If you need further information, please let me know. ([email protected])

Best regards

Max

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions