|
[Sponsors] |
June 30, 2014, 18:08 |
Lagrangian simulation
|
#1 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Guys, had a quick question about swak4Foam. Got it installed and working very well for specifying inlet velocity profiles, etc.
Is there any way I can use the swak4Foam utilities to specify an initial particle velocity profile (U0 in the Lagrangian cloud properties file) similar to how I use it to specify my gas phase velocity boundary condition? Ideally, I would like to set the initial particle velocity to a value that is a function of the gas velocity at that boundary and particle diameter. If anybody has any ideas other than swak4Foam, let me know as well. Thanks! -Clint |
|
July 2, 2014, 19:25 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
This is currently a bit painful as ALL relevant fields have to be created that way.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 3, 2014, 09:30 |
|
#3 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
Thank you for the response! I will look into the funkySetLagrangianField. Is that compatible with the native OpenFOAM cloud functions for Lagrangian simulations? I thought I recall reading that you can add Lagrangian particles to any simulation using swak4foam.
Either way, I found a work around for my problem. The main thing I wanted was the particles to be injected through a patch at the patch gas velocity (which I specify as a parabolic profile). But that is tough to do normally since you don't know where a given particle will be injected each time. There is another injection model called patchFlowRateInjection though, which does just that. The only downside is you have to specify the injection rate in terms of a "concentration" (concentration profile of particle volume to carrier volume, non-dimensional) and "parcelConcentration" (parcels to introduce per volume flow rate, n/m3). I just kind of played with the values until I got a reasonable number of particles to inject. It would be tough to actually calculate exact injection rates since I am also using a size distribution and I don't know what size particle will be injected each time. |
|
July 3, 2014, 17:11 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 3, 2014, 17:25 |
|
#5 |
Member
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 15 |
No problem! Like I said, using that other injection model I was able to accomplish what I wanted, to inject particles at the gas velocity for each injection location.
|
|
July 21, 2014, 04:47 |
|
#6 |
Senior Member
|
Hi Foamers,
I am really interested to understand in deepen the patchInjection. My goal is to model an injector that gives a fixed flow rate of particles through a patch. In my case it is 0.02 percentage of the total fluid volume at the inlet. The dispersed phase as fixed diameter distribution. I am using icoUncoupledKInematikParcelFoam in OpenFoam 2.3.0. - I did not understand what exactly is "parcelPerSecond". How can I calculate it and which is the relation with the number of particles? - What is particleBasisType? - What is the duration parameter? How can I set it ? - What is the flowRateProfile and what does it mean in my simulation? The simulation should reach a "steady state" and the flow rate of the dispearsed phase injected should constant. I appreciate any help Thanks in advance Marco |
|
July 22, 2014, 18:20 |
|
#7 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
July 23, 2014, 02:19 |
|
#8 |
Senior Member
|
I do not think that the question does not fit the thread and I do not think that it is "spamming".
Nevertheless, I trust to an "Assistant Moderator" opinion and I will remove the post. Regards Marco |
|
July 23, 2014, 17:29 |
|
#9 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
And the topic of this thread WAS very specific. Even if someone would answer your question here somebody later looking for keywords related to you question would say when looking at the search results "No. This thread is about swak&lagrangian not about the general lagrangian models. Won't look at it". It would be like putting a sheet of paper with your favourite Chilli-con-carne recipe into a vegetarian cookbook: you'll never find it there 3 years later because you're not going to look for it there.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Control simulation to apply different fields with chtMultiRegionFoam | jmdf | OpenFOAM Running, Solving & CFD | 0 | February 29, 2016 08:05 |
restarting paused transient simulation using reactingFoam | JMDag2004 | OpenFOAM Running, Solving & CFD | 1 | August 10, 2015 11:15 |
Particle Size in Lagrangian multiphase simulation | jhlee9622 | STAR-CCM+ | 2 | July 20, 2015 23:15 |
about Lagrangian Multiphase Simulation | jhlee9622 | STAR-CCM+ | 0 | March 18, 2015 02:38 |
How to force coalescence in Lagrangian simulation | Vinny | Siemens | 0 | December 19, 2007 06:34 |