-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Burner ion flame #546
Burner ion flame #546
Conversation
Codecov Report
@@ Coverage Diff @@
## master #546 +/- ##
=========================================
+ Coverage 64.8% 64.8% +<.01%
=========================================
Files 386 386
Lines 40864 40846 -18
=========================================
- Hits 26481 26470 -11
+ Misses 14383 14376 -7
Continue to review full report at Codecov.
|
I was a bit ambivalent about this to start, because normally the object-oriented approach of using different derived classes to provide different functionality is a better design than a monolithic class with various options. However, in this case, there are two different dimensions in which we want to provide flexibility - one related to the boundary conditions and the continuity equation, and one for the actual governing equations being solved. While we could use some more complicated approaches using templates or multiple inheritance, I think since there are only a few distinct cases that need to be handled for the continuity equation (namely, the axisymmetric and freely-propagating flows), it makes sense to combine that option in the I just pushed an alternative to your first commit here (for putting the functionality of the
I think this should provide a basis for making |
I have one question. According to your proposed commit, IonFlow inherits from FreeFlame. Do you think it will be good to change to StFlow? It is more reasonable to use StFlow and setFreeFlow or setAxisymmetricFlow from my opinion. |
Yes, exactly. I just thought it made sense to break this up into a few distinct commits to help make it clear what's happening. So the commits in the end would be something like this:
|
Superseded by #548 |
This PR is about developing IonFlow/IonFlame class.
Changes proposed in this pull request:
Note: this PR make FreeFlame and AxisymmetricStagnationFlow deprecated. I will add the description later if you think this is a good approach.