Commit f061ae2
Updates to E-L Solver (Models/documentation/bugs)
1.
Fixes volume fraction and source term smearing. Previously, these two were combined in a convoluted way. Volume fraction field needs to be computed/communicated at the start of the timestep, source term contributions need to be computed/communicated after computing the fluid force on the particle. These are now split in a clean way.
2.
The filling in the buffer cells has the update that uses sum and replace algorithm (implemented by Ben W.). This was further modified to take in an array as input with the indexes of the variables in q_particles/q_beta that should be updated by the algorithm. This was done so that the volume fraction update could be split from the source term contribution update.
3.
The collision force parameters are now defined in the inputs in the particle physical properties. Includes:
particle_pp%ksp_col, particle_pp%nu_col, particle_pp%E_col, particle_pp%cor_col. Need to be set if collisions is turned on.
The collision forces are not communicated anymore. Instead, each local particle is looped through and checked for overlap with neighbors. Then, only the collision force on this local particle of interest is added to this local particle. This avoids communication of forces.
4.
The sutherland viscosity for air is hardcoded into the force subroutine if "viscous" is turned off. This is a temporary bandaid. Use lag_params%mu_ref = 1.716E-5
5.
Implements quasi-steady drag fluctuations force (logical input : lag_params%qs_fluct_force)
The subroutine is within the kernels file. This uses the random number generator in src/common/m_model.fpp. src/common/m_model.fpp was modified to make the random number generator subroutine public.
6.
The documentation for the qs_drag_model was corrected. New documentation is added for the collision force inputs, quasi-steady fluctuation force, and fluid (air) reference viscosity).1 parent 882dc0a commit f061ae2
14 files changed
Lines changed: 1107 additions & 776 deletions
File tree
- docs/documentation
- src
- common
- post_process
- pre_process
- simulation
- toolchain/mfc/params
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | | - | |
| 934 | + | |
935 | 935 | | |
936 | 936 | | |
937 | 937 | | |
| 938 | + | |
938 | 939 | | |
939 | 940 | | |
940 | 941 | | |
941 | 942 | | |
942 | 943 | | |
| 944 | + | |
943 | 945 | | |
944 | 946 | | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
945 | 951 | | |
946 | 952 | | |
947 | 953 | | |
948 | 954 | | |
949 | 955 | | |
950 | 956 | | |
951 | 957 | | |
952 | | - | |
| 958 | + | |
953 | 959 | | |
954 | 960 | | |
955 | 961 | | |
956 | 962 | | |
957 | 963 | | |
| 964 | + | |
| 965 | + | |
958 | 966 | | |
959 | 967 | | |
960 | 968 | | |
| |||
0 commit comments