Commit graph

360 commits

Author SHA1 Message Date
ca9948139b Dynamic schedule for collision loop to balance the uneven number of
collisions in each cell.

No success with balancing particle loops (push and weighting).
2020-10-20 17:50:57 +02:00
e44eed8af8 Base commit befor trying to use dynamic scheduling to boost parallel
performance.
2020-10-18 17:00:15 +02:00
e14c3ef65b Fixed bug with number of collisions not computing correctly because
INT/REAL conversions.

Number of collisions now take into account the different weight of
particles inside a cell without impacting performance.
2020-10-18 10:26:58 +02:00
bf6caad56a Final adjustments, format of verbose corrected and minor modifications
to the input case cylFlow.
2020-10-18 00:21:13 +02:00
fd42e0f3f9 Huge improvement in reset (by increasing a little bit push time) using
OMP locks to assign particles to cells in the pushing step.

Trying to combine push+reset and  collision+scatter did not work.
2020-10-17 18:46:10 +02:00
1686da7694 Trying to use OpenMP locks to improve code performance in parallel
regions.
2020-10-17 15:23:34 +02:00
ffb03e634b Minor improvements in performance and code clarity.
Still no solution for the reset subroutine. It is really time
consumming.
2020-10-13 18:16:18 +02:00
60f38a2d95 Commit befor trying to convert particle array to linked list to improve
performance.
2020-10-10 21:25:49 +02:00
05f5adcfe1 First commit of branch performance:
Bugs fixed:
- Solved an issue with particles being injected with infinite velocity
  resulting in Inf velocity in some cells of the output files.
- Particles are now equally distributed in cylindrical geometry along
  the radial direction.

New features:
- Particles now have their own weight that is recalculated when the
  particle moves to a new cell. This avoid the reduction of density at
  r = 0.

Cases:
- Added a case of Argon flow around a cylinder to measure performance
  and future improvements.
2020-10-10 14:47:22 +02:00
bd7e8b040b First commit of code.
New functionality:
- DSMC module:
  - 2D cyl geometry
    - GMSH file format
    - Elastic cross-section for Argon-Argon collisions.
    - Basic boundary conditions: reflection, absorption and axis
      symmetry.

Bugs fixed:

Other comments:
- Still searching for name.
2020-10-09 08:45:07 +02:00