Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fill out the sections titled “Files with _ss.out extension:” and “Files with _tr.out extension:” #22

Open
wittregr opened this issue May 12, 2020 · 3 comments
Assignees

Comments

@wittregr
Copy link
Contributor

Can you please fill out the sections titled “Files with _ss.out extension:” and “Files with _tr.out extension:” with the appropriate information? While doing this, can you please add an explanation in the documentation on why the first volume change for the numerical PFR is different from all other volume changes? Also, can you please add an explanation in the documentation on why the final volume is not equal to the total reactor volume? There are partially written sections on these for you to complete.

@MaxRCohen
Copy link

Hi @mbkumar, thank you for addressing this. I have a brief follow up.

You added "The first change in volume is different from all the others because half of volume is used (to represent center of CSTR)" to the documentation. To calculate the outputs of a CSTR, you would want to use the whole volume though, not a half volume, correct? We typically assume the concentration within a CSTR is equal to the concentration of the outlet of the CSTR, so using a half volume does not make immediate sense to me. I do not think it's wrong, but it seems like just breaking up the 1st CSTR into a smaller one. Is the goal to create equally spaced residence time discretization points at the halfway points rather than the CSTR outlets? Also, could you please answer the second question asked of "can you please add an explanation in the documentation on why the final volume is not equal to the total reactor volume"?

@skasiraj
Copy link
Contributor

skasiraj commented Nov 1, 2021

@mbkumar Is there any particular reason you chose this convention? Current implementation is based on the code lines 516-519 in the zerodReactor.cpp file.

double ind_val;
if (rctr_type == PFR_0D) {
ind_val = (i+0.5)*rctr_vol;
}
else {
ind_val = times.back();
}

We could simply choose to use the offset equal to the CSTR/node/slice volume (instead of 0.5) and then we can make it consistent with CHEMKIN I believe.

@mbkumar
Copy link
Contributor

mbkumar commented Nov 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants