Comments (9)
Hi Alexander,
Thanks for getting in touch and contributing!
I am creating a reference to your pull request #61 and to the current solution 79086c1 for future reference.
I use 3-temperature model for thermal non-equilibrium.
That's impressive. What is the 3rd temperature? Rotational or electron temperature?
Regards,
Vincent
from hystrath.
Hello Vincent,
thank you for your answer.
The three temperatures are: translational-rotational, vibrational, electron-electronic temperature where the electronic-excitation energy and that of the free electrons are considered as one energy pool (Chul Park suggestion). I have modelled electric discharges in high-speed flows.
My suggestion with the additional dictionary entry is of course not optimal. I have therefore already prepared another solution to this issue by modifying the source code. There, everything happens automatically, no matter what the reaction looks like and what order it has. But you have to enter everything in the chemical dictionaries in the traditional way in cgs units.
As I understand, in your solution you have adapted the coefficients to the mks units?
Furthermore, I have made some corrections in the diffusion models (collisionDataO), which I will commit soon. I will also extend the ambipolar diffusion a bit more.
You have done a great job here and it definitely should be continued.
Regards
Alexander
from hystrath.
Hi Alexander,
As I understand, in your solution you have adapted the coefficients to the mks units?
Yes**, I added ln(1000) to the A1 coefficient for each reaction that needed it: exp(ln(1000) + A1 + ...) = 1000*exp(A1 + ...)
My concern about your solution, though it may be more elegant, is that it would require another edit to the chemical dictionaries and would thus increase the odd of somebody using the new code with the old chemdict. It happened already last year.
** almost, OpenFOAM uses kmol instead of mol. The units are given at the top.
// Units
// A: m^3 kmol^-1 s^-1
// Ta: K
Furthermore, I have made some corrections in the diffusion models (collisionDataO), which I will commit soon. I will also extend the ambipolar diffusion a bit more.
That's great, thanks. Concerning your first point, you could have a look at the current version of this class, to be found in the dev branch dev-isro-1 (9b0c5f0, by @vinayukp and myself), to make sure there is no overlap (I can help you with that if needed).
https://github.com/vincentcasseau/hyStrath/blob/dev-isro-1/src/thermophysicalModels/strath/strathSpecie/transport/speciesDiffusion/diffusionModels/collisionDataO/collisionDataO.C
This branch will soon be merged to consolidate the master branch.
Thanks for your support and your willingness to contribute :)
Regards,
Vincent
from hystrath.
Hi Vincent,
I'll have another look at all this.
I just realised that my github knowledge is modest. I did another pull request a few hours ago without considering this post of yours.
I will look at all this again.
Regards
Alex
from hystrath.
Hi Alex,
Feel free to contact me by email to coordinate CFD pull requests prior to branch merging.
Thanks,
Vincent
from hystrath.
Hi Vincent,
I have looked at 9b0c5f0 (dev-isro-1). You have already done the bug fixes I have suggested in my last pull request and even much more. I have closed my latest pull request because of this. The main problem was the forgotten exponential function in the curve fit.
As you suggested, next time I will contact you via email first before opening a new pull request. Where can I find your email address on the site?
I also have seen that in the hy2Foam in the YEqn.H you have already fixed the problem with the diffusion term for electrons. That would have been my next concern (my next pull request probably). It's really great that you are still working so actively on this nice project. But when people like me download hyStrath (for OF1706) then they don't get all the improvements and think hyStrath is full of bugs, which is not true (see dev-isro-1). And they stop working with hyStrath. When do you plan to implement the improvements in the regular version and what about the adaptation to a newer OF version? I know, we all have not so much time :-).
What I haven't seen yet is the ambipolar diffusion. Are you planning to implement something in that direction? For example, something like in the paper of Ramshaw and Chang: "Computational Fluid Dynamics Modeling of Multicomponent Thermal Plasmas" from 1991? These would be just a few additional lines in the multiSpeciesTransportModel. But then in the YEqn.H of hy2Foam for each species something like fvc::div(Flux) must be implemented in stead of the implicit laplace operator.
I will definitely update my version using the dev-isro-1.
Thank you.
Kind regards
Alex
from hystrath.
Hi Alex,
It is in People and Contact, at the very bottom. It is somewhat hidden so I don't get spammed too much.
I created a separate branch because the modifications introduced are not backward compatible.
Please do not update your version to dev-isro-1, it is not meant to be used (this is the reason why it wasn't mentioned). I could merge it now, create the new Release tag, and provide the command lines to help you migrate. The How-tos are also updated. The only thing missing is the reacting test case to replace the Mach 20 cylinder.
There is no plan for new developments (other than debugging and reviewing pull requests) nor an update to a more recent version of OF in the foreseeable future at my end. As you can see on the Solvers pages, it's been volunteering work for a couple of years. I know that I don't have the time anymore during the year and I don't want to make false promises.
Regards,
Vincent
from hystrath.
Hello Vincent,
OK, got it. The dev-isro-1 is probably at the moment like a big construction site.
You mentioned:
I could merge it now, create the new Release tag, and provide the command lines to help you migrate.
Only if it is not to much work for you! Otherwise, I could try to replace the classes I want to use with new ones from dev-isro-1?
The only thing missing is the reacting test case to replace the Mach 20 cylinder.
This is not a problem.
On the other hand, if you're going to merge dev-isro-1 with master soon, then I can wait. Do you already know when you want to do it?
Am I actually the one who should close this issue? I don't know the rules yet :-)
Regards
Alex
from hystrath.
Hi Alex,
This is done in f120fb5 and a new tag has been created.
I put the set-up of the new fireII cases at the last minute, the results will follow.
Please let me know if something is not working (by opening a dedicated issue).
Regards,
Vincent
from hystrath.
Related Issues (20)
- Issue during dsmcFoam+ initialization HOT 1
- The turbulent diffusion coefficients in hy2Foam
- Vortex flow in dsmcFoam+
- Inviscid flow simulation problem HOT 3
- writing out KnGLL and its components in sampleDict
- Is it possible to add partial deletion for singular species in dsmcDeletionPatch? HOT 5
- Error in velocity line distribution
- the wallVelocity in the boundary of dsmcDiffuseSpecularWallRotationPatch
- How to show particle flux is constant in the simulation results?
- Unexpected property distributions in Hy2Foam with non-slip wall condition
- hyStrath.git branch OF-v2112 not present HOT 1
- Possible Mistake in Tutorial File
- OpenFoam v1706 compilation issues with gcc 11.2.0/openMPI 4.1.2 HOT 1
- Unable to instal hy2foam HOT 3
- Is it possible to add a new type of boundary condition in hy2Foam? HOT 1
- Can we add gradient temperature in DiffuseWallHeatFluxPatchProperties boubdary condition?
- Is particle flux in dsmcFoam+ consant? HOT 2
- Regarding dsmcVelocityDistributionZone
- How to define startPoint and endPoint in zonesDict?
- Anything equivalent to swirlFlowRateInletVelocity in dsmcFoam+?
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 hystrath.