Breakmodel in OpenFoam
Quote:
I have just seen your bug report posted at 2013-09-08 about the exclusive of atomization model and breakup model in Openfoam, and I realize it haven't been solved. I am wondering have you got any progress on this? Currently, I am struggling trying to imply primary breakup model such as KH breakup with blob method into Openfoam and met a lot of errors during the process. Do you have any suggestoin how this should be done properly? I think this process is also very important for my later plan of applying more advanced breakup model such as KH-ACT into openfoam. Any suggestion will be appreciated! Best Regards, Bo |
Quote:
I reported that bug at a time where the whole lagrangian spray classes had still a lot of sever bugs and things weren't working correctly. After tracking down and fixing the bugs, I think the current implementation in OpenFOAM is working fine and the bug #1000 is superfluous. Note that you need to use the very latest development version (January 2015) of OpenFOAM to get all bug-fixes, especial with respect to the KHRT model, see here: https://github.com/OpenFOAM/OpenFOAM...2783a51e6a9ea9 https://github.com/OpenFOAM/OpenFOAM...6a1c68dd9a0ed0 https://github.com/OpenFOAM/OpenFOAM...bd53e6d7263912 https://github.com/OpenFOAM/OpenFOAM...6700f24ccbb215 https://github.com/OpenFOAM/OpenFOAM...0928b2a54dad7a You can implement you own atomization model very easily and supply it in a user defined library. Please start a new thread and keep this one on topic, it might also be a good idea to familiarize yourself with the guidelines given here: http://www.cfd-online.com/Forums/ope...-get-help.html |
Breakmodel in OpenFoam
Quote:
Regarding to the " very latest development version ", does it mean the latest OpenFoam 2.31 or can I also just modify the code according to the bug report in github with my OpenFoam 2.30? |
Quote:
I would recommend you to just use the latest 2.3.x git-version! You can of course also back-port all the changes from the 2.3.x git repository to your 2.3.0 installation, but I don't see how that would make any sense. For instructions on how to do that, see here: http://www.openfoam.org/download/git.php -Armin |
Dear Armin,
Thanks for the quick reply. I have just installed the newest 2.3.x version. Currently, I want to distinguish the KH and later KHRT breakup process in the ReitzKHRT model, it seems to me there are two possible ways of doing this: 1) add a breakup length limitation into the breakup model, which seems to be straight forward 2) add KH part into the atomization model, a bit more complicate but can make use of the liquidcore concept Which do you think is the better way of doing this? And the same with "blobs method"------- is it better to imply it in the atomization model part or injection model part? Thanks in advance. : ) By the way, I tried to add the breakup variable into calcBreakup function in SprayParcel like following: Code:
...... Code:
Solving 3-D cloud sprayCloud |
Update: I have solved this problem, though I am not very clear of the reason: for the disbreak up, you should use "const scalar" rather than "scalar &" :)
|
Another question: Where is the breakup().update function really being called??
I was pretty sure it was called by the calcBreakup function in the SprayParcel.C, until I added the info lines into the calc function in SprayParcel.C: Code:
if (liquidCore() > 0.5) |
Quote:
It is called at that place. IIRC, the print-outs to Info don't work there. Try writing to cout instead of Info (not sure it it works though). |
Quote:
|
All times are GMT -4. The time now is 09:10. |