Comments (3)
@gokulbr4 do you have a minimal working example that reproduces the issue that we can run? Sorry for the basic question, but are you sure that your simulation conditions are such that would produce reactions? E.g. temperature, density, etc.
from sparta.
@gokulbr4 I took the input files from the email you sent to the mailing list, could reproduce the issue with no reactions when using the "tce/qk" hybrid style (switching to either "pure" tce or qk leads to reactions taking place).
There is indeed a bug in the react_tce_qk.cpp
file: in line 126, a check is performed if (e_excess > 0.0) return 0;
but it is unphysical (and the correct condition that e_excess >= 0.0
is already being checked for in the base attempt
function).
There also seem to be an inconsistency in the code:
the base function attempt
checks that the total energy of the colliding partners is larger than the threshold energy of the reaction. But the QK and TCE styles themselves check for translational+fraction of rotational energy > threshold energy. So the base check (from attempt
) can't be re-used, one has to check twice. Related to #279
I am also not 100% sure about the implementation of the reaction loop: in the "pure" TCE/QK styles, a random number is sampled once, and the reactions are looped over, each one adding to the reaction probability CDF. In the hybrid style, each reaction is checked against a fresh random number – not fully sure if this is consistent with the basic TCE/QK styles? Not entirely sure how the react command works together with the collide_vss style, so am definitely not the best judge on this.
from sparta.
Thankyou so much for sorting it out and it is working.
from sparta.
Related Issues (20)
- surf_react_adsorb LH1 reaction HOT 2
- Development of improved subsonic boundary condition and mass flow rate boundary condition HOT 9
- Fix emit/surf command fails when using equals-style variable for setting particle number HOT 3
- Configuration to avoid in order to cutcell algorithm to work or bug ?
- move_surf command
- Issue compiling SPARTA on ALCF's Polaris computer with kokkos enabled HOT 5
- Grid cell corner points on boundary marked as unknown HOT 2
- Illegal group command HOT 2
- Outdated documentation pages related to Section 6 of Manual
- Possible typos in adapt_grid manual page HOT 1
- Typo in dump_modify document HOT 1
- Uninitialized variable in stl2surf.py HOT 2
- Questions about using the output of compute isurf/grid etot HOT 3
- write_surf flag + surf2paraview HOT 4
- Temperature calculation error for "vibrate discrete" command HOT 10
- Fokker Plank collision model HOT 1
- Issues with the calculation method for reverse reaction probabilities
- Segfault with `fix in emit/face` - possibly due to zero particles? HOT 2
- Add time to dump file header
- Install Sparta on Windows HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sparta.