|
[Sponsors] |
October 13, 2013, 12:16 |
SaffmanMeiLiftForce
|
#1 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 15 |
Hi
Can anyone provide an example of SaffmanMeiLiftForce dictionary ? thanks a lot ! |
|
October 13, 2013, 15:51 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Evangelos,
I had no idea there was such a thing as "SaffmanMeiLiftForce" in OpenFOAM... But if you can provide an example case, something simple based on one of OpenFOAM's tutorials, in which this dictionary can be used, then it should be pretty simple to reverse engineer it! Actually, OpenFOAM helps with this in two ways:
Bruno
__________________
|
|
October 13, 2013, 17:00 |
|
#3 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 15 |
Hello Bruno !
I try to calculate the orbit of a particle when injected into a domain without fluid motion.I use icoUncoupledKinematicFoam but i am a little bit confused! All the solvers take into account dragforce and gravity without calculate the lift from the fluid ! In openfoam 2.2.0 particle lift is available So in the kinematicTransportproperties/particleforces under the drag force and gravity i add particle force and the program show me the valid particle forces There are two " lift methods " TomiyamaLift and SaffmanMeiLiftForce http://www.cfd-online.com/Forums/ope...rce-model.html |
|
October 14, 2013, 05:06 |
|
#4 |
Member
Evangelos
Join Date: Sep 2011
Posts: 87
Rep Power: 15 |
I need something like that
http://www.cfd-online.com/Forums/ope...ictionary.html but for saffmanmeiliftforce!!! |
|
October 14, 2013, 17:47 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Evangelos,
Do you mean "icoUncoupledKinematicParcelFoam"? Do you think that the tutorial "lagrangian/icoUncoupledKinematicParcelFoam/hopper" can be used to test this dictionary you are asking about? If so, I can give it a try next weekend. Best regards, Bruno
__________________
|
|
October 5, 2014, 05:20 |
|
#7 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Maysam,
At least I haven't, because Evangelos didn't answer back Therefore my questions and offer still stand: Quote:
Bruno
__________________
|
||
October 5, 2014, 07:58 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, so as I mentioned in one of the posts above, having an example case as a basis and using the "banana" trick, here's what I've done (used OpenFOAM 2.3.x for this example):
------------------- edit: Bug reported here: http://www.openfoam.org/mantisbt/view.php?id=1408 Additional note: Letting the case run first without any particles should initialize the "U.air" field, should no longer require you to modify the source code, since the flow field would all not be zero. ------------------- Best regards, Bruno Last edited by wyldckat; October 5, 2014 at 08:16. Reason: see "edit:" and "Additional note:" |
||
October 5, 2014, 21:25 |
|
#10 |
Senior Member
|
Thank you very much Bruno. I used a lot from your step by step debugging.
Especially Banana and Old-School debugging were fantastic. This problem is for other forces too such as pressure gradient force. However thanks for submit of the bug. |
|
October 18, 2014, 14:38 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
FYI: Bug has been fixed: http://www.openfoam.org/mantisbt/view.php?id=1408
The official fix can be seen here: https://github.com/OpenFOAM/OpenFOAM...1d371bd9be3000 |
|
November 21, 2014, 08:54 |
|
#12 | |
New Member
Michael
Join Date: Dec 2011
Location: Geneva
Posts: 28
Rep Power: 14 |
Quote:
P.S.: I used this with 2.2.x. Last edited by lithos; November 21, 2014 at 10:11. |
||
June 27, 2018, 03:05 |
Brownian motion force not running when using uncoupledKinematicParcelFoam
|
#13 |
Member
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11 |
Hi all,
I think my post best suits here. Basically i am solving a steady state continuity and darcy equation to get steady state pressure and velocity fields, which go into a transient convection diffusion equation to solve time dependent concentration of a species in a computational domain. Now i want to couple my developed eulerain solver with lagrangian one. For that i am using uncoupledKinematicParcelFoam and coupling it with my eulerian solver. The solver is compiled succesfully. But when i am running the case it is giving following error. Code:
Constructing kinematicCloud kinematicCloud --> FOAM Warning : From function entry::getKeyword(keyType&, Istream&) in file db/dictionary/entry/entryIO.C at line 80 Reading /home/ajay/OpenFOAM/ajay-4.1/run/mytutorials/srmparticlenew/constant/kinematicCloudProperties found on line 64 the punctuation token '{' expected either } or EOF Constructing particle forces Selecting particle force sphereDrag Selecting particle force gravity Selecting particle force BrownianMotion --> FOAM FATAL ERROR: Unknown particle force type BrownianMotion, constructor not in hash table Valid particle force types are: 13 ( ErgunWenYuDrag PlessisMasliyahDrag SRF SaffmanMeiLiftForce TomiyamaLift WenYuDrag gravity nonInertialFrame nonSphereDrag paramagnetic pressureGradient sphereDrag virtualMass ) From function static Foam::autoPtr<Foam::ParticleForce<CloudType> > Foam::ParticleForce<CloudType>::New(CloudType&, const Foam::fvMesh&, const Foam::dictionary&, const Foam::word&) [with CloudType = Foam::KinematicCloud<Foam::Cloud<Foam::CollidingPa rcel<Foam::KinematicParcel<Foam::particle> > > >] in file lagrangian/intermediate/lnInclude/ParticleForceNew.C at line 47. FOAM exiting Can anybody please help why the brownian motion force is not running for the case or where i am doing the mistake. I have compiled the Lagrangian library properly. But in that there is no Brownian motion force in that. Brownian motion force is situated in different folder named turbulence. I compiled it as well but not running. Any help will be appreciated. Thanks Ajay |
|
August 22, 2018, 10:30 |
|
#14 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Ajay,
Sorry for the late reply, but I only managed to look into this now. Here is a quick notes answer:
Bruno
__________________
|
|
January 17, 2022, 15:13 |
BrownianMotion dictionary
|
#15 |
New Member
Adil A
Join Date: Oct 2015
Posts: 3
Rep Power: 11 |
To solve the follow error:
Code:
[0] --> FOAM FATAL IO ERROR: (openfoam-2012 patch=210414) [0] Force BrownianMotion must be specified as a dictionary In Code:
constant/reactingCloud1Properties Code:
particleForces { sphereDrag; gravity; BrownianMotion { turbulence false; lambda 1e-4; } } |
|
|
|