Comments (10)
Can confirm I can reproduce with latest master. Changing number of cells and relaxation numbers did not make a difference. Changing to variable relaxation numbers made no difference.
It already happens at time 0, so it's purely a vibrational temperature calculation artifact.
from sparta.
Should be fixed by #468, can you confirm?
I modified line 406 in compute_tvib_grid.cpp, and now the problem with the diatomic gas mixtures can be solved effectively.
from sparta.
Should be fixed by #468, can you confirm?
from sparta.
from sparta.
Dear Prof. Gallis,
Following your advice, I tested the case at higher temperatures of 10000K, 15000K, and 20000K, but the problem persists. The temperature of N2 consistently shows a temperature error of about 500K. Additionally, I've noticed that if O2 is defined as the second species in the 'species' command, the temperature output error shifts from N2 to O2.
from sparta.
Can you please try running on more than 1 grid cell? Try 8 (2 in each direction) and see whether the problem persists.
from sparta.
Also, I do want to point out your relaxation numbers are wrong. While I would personally also prefer that the input be the relation number (Zrot or Zvib), for now, you have the specify the relaxation probability (i.e., 1/Zrot and 1/Zvib). Therefore, your relaxation probabilities in air.species should be 0.5 for rotational, and 1/40 or 1/60 for vibration.
from sparta.
I can reproduce this as well. The temperatures are affected by value of VibTemp (K)
in air.species
. If those are equal then it gives the correct answer.
from sparta.
I think the bug is on this line: https://github.com/sparta/sparta/blob/master/src/compute_tvib_grid.cpp#L406. That is always returning 0 when it should be both 0 and 1.
from sparta.
This same bug shows up with https://github.com/sparta/sparta/blob/master/examples/vibrate/in.vibrate if you run it for long enough.
from sparta.
Related Issues (20)
- 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
- 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
- Segfault with `dump image` in branch `track-surf-collisions` HOT 1
- Enhancement: identify columns in `dump tally` files HOT 1
- Enhancement: number flux boundary condition; emit exactly n particles from a region
- Bug: Fix emit/face ... n Np emitting only from certain grid cells, depending on value of Np HOT 5
- Negative Natt, possibly due to overflow HOT 4
- Seg fault using ps surf_react absorb to a read surfaces file HOT 2
- couple Sparta and Liggghts HOT 4
- Incorrect custom surf values when removing and rereading a surface
- Add option to print info on surface elements not assigned to a collision model
- header file_ style_( ----------) are missing on the code while building sparta as shared library HOT 6
- "Help Needed: Applying Boundary Conditions for Nozzle Geometry in SPARTA" HOT 2
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.