|
[Sponsors] |
How to use MPPICFoam with turbulence effects on particle motion? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2014, 05:16 |
How to use MPPICFoam with turbulence effects on particle motion?
|
#1 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
Hello foamers,
I try to simulate a pipe bend like it is mentioned here http://www.cfd.com.au/cfd_conf12/PDFs/203SOM.pdf with the new MPPICFoam solver. I got really good results for the particle concentration at the bend exit, where the particle collisions are predominant. But downstream far away from the bend the strain is still existing. So therefore I tried to use a dispersion model to scatter the strain through turbulent effects, but only "none" is available: --> FOAM FATAL ERROR: Unknown dispersion model type non Valid dispersion model types are: 1(none) So my question is: How can I get this dispersion model to work or do I make a false conclusion and the programmers dont want the possibilty to use it? Thank you very much. |
|
April 3, 2014, 10:36 |
|
#2 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
I have made a comparison between reactingParcelFoam and MPPICFoam.
One can see two quadratic channels (bulkRe=75000) with injected particles from the left side. On the top reactingParcelFoam was used, on the bottom MPPICFoam. For reactingParcelFoam stochasticDispersion was activated. This leads to a scattering of the particles, where there is no scattering through turbulence effects when using MPPICFoam. |
|
April 6, 2014, 15:40 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Matthias,
This seems to be a problem similar to this one: http://www.openfoam.org/mantisbt/view.php?id=1259 Try adding to the file "system/controlDict" this line: Code:
libs ( "liblagrangianIntermediate.so" ); Best regards, Bruno
__________________
|
|
April 7, 2014, 04:43 |
|
#4 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
Thanks for your help, but unfortunately it does not work and I still get the same error message:
Valid dispersion model types are: 1(none) Additionally I tried to change the path like it is written in the link, but with no success. Kind regards Matthias |
|
April 13, 2014, 16:10 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Matthias,
OK, using "liblagrangianTurbulence.so" is really bad, as there is a conflict in turbulence libraries. I've taken a deeper look into this and here's what I've found out:
My guess is that coding this isn't an easy task (at least not for me ) and validation is also necessary... therefore, they probably will require a support contract for implementing this feature and therefore to fix that bug report. Best regards, Bruno
__________________
|
|
April 15, 2014, 05:22 |
|
#6 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
Thank you for your help and investing so much time in this problem.
I added on http://www.openfoam.org/mantisbt/view.php?id=1259 your hints as a note. Through this templating the OF-Code becomes so complicated and finally unreadable. This leads to the conclusion that only the original programmer can solve this problem. I hope that in future times this part of OF becomes less object-orientated but more understandable. Kind regards Matthias |
|
April 15, 2014, 15:42 |
|
#7 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Matthias,
Well, they've fixed it! It would really have taken me a lot of time to figure that one out... I have some experience with templates in OpenFOAM, but the "Turbulence" template library appeared in OpenFOAM 2.3 (i.e. very recent code to me) and... well, the release notes explain for themselves: http://www.openfoam.org/version2.3.0/multiphase.php - search for the section "Multiphase Turbulence". Quote:
But the thing is that templates aren't all that hard to understand, once we have a better understanding of the code itself and how they all interconnect. Problem is that there are now seeeeveral possible interconnections and OpenFOAM's source code is pretty big and even with some sort of interactive template navigation system, it can get pretty confusing. One example is the "DPMTurbulenceModels" library used for the DPMFoam and MPPICFoam solvers: https://github.com/OpenFOAM/OpenFOAM...ulenceModels.C - in 35 lines of code, we have a single library that is loaded up with a massive world of code for both RANS and LES turbulence models, dedicated to DPM's kind of modelling and with an utterly simplistic look to it. Problem is figuring out where all the bits and pieces came from... But Will's comment on the bug tracker does give a big insight into the original issue here: Quote:
Best regards, Bruno
__________________
|
|||
April 29, 2014, 05:32 |
|
#8 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
Hello Bruno,
thank you for your answer. I knew the importance of templates in OpenFOAM. I just wanted to say that in future time it may arise the problem, that a decreasing amount of the community is able to improve or just understand the code. I will spent more time in improving my knowledge of templates. Do you have a recommendation for literature? Kind regards Matthias |
|
May 1, 2014, 11:24 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Matthias,
From personal experience, I simply went with the basic tutorial on C++ language: http://www.cplusplus.com/doc/tutorial/ For the rest, I went with training directly by looking and testing source code. Which would explain why I couldn't figure out how solve this issue Apparently there is an official book on C++: http://en.wikipedia.org/wiki/The_C%2...mming_Language - but there are a ton of books about C++, so I don't know what to suggest as I've never read them A quick search via Google about OpenFOAM and C++ and I've found this thread: http://www.cfd-online.com/Forums/ope...ogramming.html - it does have a few suggestions about C++ books. Best regards, Bruno |
|
November 4, 2014, 04:37 |
|
#10 |
New Member
Kalyan Peri
Join Date: Aug 2014
Posts: 19
Rep Power: 12 |
Hello,
i am using MPPICFoam solver for simulation and i am also getting same error while using DIspersionModel. Can you tell me how to add dispersion Model for this solver. Thanks. Regards, Kalyan |
|
November 4, 2014, 04:46 |
|
#11 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
Hello Kaylan,
you only have to install the latest OpenFOAM 2.3.x version. Regards Matthias |
|
November 4, 2014, 06:03 |
|
#12 |
New Member
Kalyan Peri
Join Date: Aug 2014
Posts: 19
Rep Power: 12 |
Hello mattias,
Thanks for reply.I am using openFoam version 2.3.0. but still im getting the same error. regards, Kalyan |
|
November 4, 2014, 06:23 |
|
#13 |
New Member
Matthias Neben
Join Date: Oct 2011
Location: Cottbus (Germany)
Posts: 28
Rep Power: 15 |
But it is necessary to install the latest OF2.3.x version
http://www.openfoam.org/download/git.php |
|
November 4, 2014, 06:31 |
|
#14 |
New Member
Kalyan Peri
Join Date: Aug 2014
Posts: 19
Rep Power: 12 |
Hi Matthias,
Thank you. will install the latest version and try simulation.. Regards, Kalyan |
|
December 1, 2014, 03:46 |
Unknown RASModel type kOmegaSST
|
#15 |
New Member
Kalyan Peri
Join Date: Aug 2014
Posts: 19
Rep Power: 12 |
Hello everyone,
I am Using openFoam version 2.3.x. i am trying to simulate a case with MPPICFoam with KOmegaSST Turbulence model. i am getting the below error Unknown RASModel type kOmegaSST Valid RASModel types: 1(kEpsilon) From function RASModel::New(const volScalarField&, const volVectorField&, const surfaceScalarField&, transportModel&, const word&) in file /root/OpenFOAM/OpenFOAM-2.3.x/src/TurbulenceModels/turbulenceModels/lnInclude/RASModel.C at line 160. anyhelp is appreciated. Regards, kalyan |
|
December 8, 2014, 14:50 |
|
#16 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings kalyan,
I took a quick look into this and I'm sorry to say that this implementation you're looking for doesn't seem to be something easily done. The implementation that was done for the initial report is indicated on the bug report as being a temporary solution: http://www.openfoam.org/mantisbt/view.php?id=1259 - see the last comment by Will. The commit he's referring to is this one: https://github.com/OpenFOAM/OpenFOAM...9dee0b7ac4feb5 You can try and do a similar implementation, after studying how that implementation for "kEpsilon" was performed. Best regards, Bruno
__________________
|
|
February 22, 2015, 16:14 |
|
#17 | |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Quote:
as much as i understand, it recalls volume fraction from solver, but again it use standard kEpsilon model how volume fraction is considered in this structure?
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
||
March 3, 2016, 14:39 |
DPMFoam
|
#18 |
Senior Member
MAZI
Join Date: Oct 2009
Posts: 103
Rep Power: 17 |
hey guys
can you let me know how I can use DPMFoam? is there any PDF file helping? I can't run the Goldschimdt tutorial. My goal is to run particle tracking for a single phase flow in an elbow, one way coupling with OF 3.0.0. thanks |
|
March 13, 2016, 07:20 |
|
#19 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Quote:
Look for "Evaluation of the DPMFoam solver (Denis Semyonov)" in that page. Unfortunately, I'm not aware of anything more detailed than this. Try looking in the links given here: http://openfoamwiki.net/index.php/Handy_links There is an FAQ for this question: How to run the tutorials in OpenFOAM? |
||
June 17, 2016, 04:57 |
|
#20 | |
Member
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10 |
Quote:
Have you solved your problem? After I added collisionModel into reactingParcelFoam, I met the same problem. HTML Code:
Unknown dispersion model type none Valid dispersion model types are: 1(none) Kind Regards, Ping |
||
Tags |
dispersion model, mppicfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF for multicomponent particle vaporization | Mohsin | Fluent UDF and Scheme Programming | 17 | January 27, 2021 03:57 |
Multiphase particle motion queries | siw | Main CFD Forum | 0 | February 14, 2012 11:00 |
Discussion: Reason of Turbulence!! | Wen Long | Main CFD Forum | 3 | May 15, 2009 10:52 |
Why Turbulence models are not universal. | Senthil | Main CFD Forum | 4 | July 5, 2000 05:34 |
turbulence modeling questions | llowen | Main CFD Forum | 3 | September 11, 1998 05:24 |