|
[Sponsors] |
Combination of flow, radiation and particle tracking |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 1, 2015, 08:40 |
Combination of flow, radiation and particle tracking
|
#1 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hi everyone,
I am learning OpenFoam now for arround three weeks. For my project from university I want to set up a simulation where UV-light is present and where I have some particles in the flow. In the end I would like to know how much UV-light a particle received. The simulation is steady-state (Thanks god ) so I am using until now simpleFoam as a solver. To track the particles I looked at this overview and think for my case the solidParticle or Lagrangian. The radiation models are a little bit more difficult, as I do not have a combustion or something like that. On this page there is an overview about the different models as well for radiation... The trouble I have until now is: 1. Can I combine these three topics in one case? 2. Does anyone of you have some experience with this kind of thing? Is it better to use solidParicle or direct the Lagrangian? 3. Can I use one of the radiation models to model the UV-light? P1 e.g? I hope my questions are not too dumb... Thanks a lot! Best regards Gerrit |
|
September 2, 2015, 10:55 |
|
#2 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Ok so far...
As long as no one answers I will write here, what I found until now. So others can maybe follow my thoughts if they have a similar problem. Or maybe someone has a better answer for me I started up collecting more information about particle tracking and ended up figuring out, that it seems only possible to track particles using transient solver. I don't want that (will probably take too many resources). Now I found here a discussion about something similar. In short: there the idea is, to use a transient solver but choose time and timestep in a way it can be considered as a single step. Hopefully I repeated that correct now.... |
|
September 7, 2015, 05:18 |
Update
|
#3 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hi everyone,
I still did not manage to implement radiation and particle tracking - but I did not spent too much time on it. I have a question about the solver in general. As my first step was to just have a model with flow (no particles or radiation), I used simpleFoam as a solver. My fluid is water, and my model runs quite nice. But I am not sure if, my model "accepted" that I want to use water. transportProperties Code:
nu nu [ 0 2 -1 0 0 0 0 ] 1.422e-03; rho rho [ 1 -3 0 0 0 0 0 ] 1000; Thanks! |
|
September 24, 2015, 09:25 |
|
#4 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hi,
concerning the last post: That was non-sense as simpleFoam is defined as incompressible by the viscosity(density included)... My original plan to find a solver, that can handle everything does not seem to work. There is no solver out of the box for this case(at least I could not find one)... I received a lot help until now (thanks by the way ) The "new" plan, is to split the tasks: 1. Solve the flow field with simpleFoam 2. Solve the particle tracks with something else (transient as it seems until now), based on the flow field from 1. 3. Radiation modeling About point 2: My original plan to combine solidParticle and simpleFoam received a lot support, but I gave up as my programming skills are not that good until now... I choose MPPIC Foam, as I do not have a reaction occurring. In a laminar case the solver runs wihtout problems the same for the tutorial case with LES (/opt/openfoam240/tutorials/lagrangian/MPPICFoam/cyclone). But as soon as I want to run a case with k-epsilon model I get errors. Maybe the question is stupid, but has anyone already used this kind of solver with RANS models? Or does someone has an alternative idea? Thank you very much Best regards Gerrit |
|
January 26, 2016, 07:06 |
Last update
|
#5 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hello,
my project is closed and done (at least for me). How I did it in the end: 1. I solved the flow fields with simpleFoam and used the flow fields for a Lagrangian simulation based only on drag forces. 2. The radiation (light in this case) is modelled in Matlab and gives intensity fields The particle tracks and the intensity fields of the light are combined as well in Matlab. Best |
|
January 28, 2016, 03:48 |
|
#6 |
New Member
Shashi De Silva
Join Date: Jul 2013
Location: Colombo, Sri Lanka
Posts: 4
Rep Power: 13 |
Hi,
I am working on a cyclone simulation with the MPPICFoam solver. It is finely working fine with LES(smagorinsky) and laminar flow models. Furthermore I want to run it with RAS (k epsilon) model. Still i could not succeed as it it gives errors at the beginning. Is it require to change fvsheams and fvsolver files when changing LES to RAS ? I am stuck here . I would highly appropriate any help. Last edited by ShashiDeSilva; January 28, 2016 at 03:55. Reason: adding |
|
January 28, 2016, 03:52 |
|
#7 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hi ShashiDeSilva,
at first: Please open your own thread. For others it is very confusing to get information, when two not connected topics are in one thread. About your question: You are not giving a lot of information --> Nobody can help you! Important to know would be: Is the mesh ok? Does it makes sense to use k-epsilon with your mesh? Best Gerrit |
|
January 29, 2016, 02:17 |
|
#8 |
New Member
Shashi De Silva
Join Date: Jul 2013
Location: Colombo, Sri Lanka
Posts: 4
Rep Power: 13 |
Dear Gerrit
Thank you for your reply. actually I just post here because you also try MPPIC solver with k-epsilon. Yesterday I found the reason. I have replaced some 0 values to very small value ( 1e-6) in the epsilon boundary condition file. Now it is working. If possible, I will remove this thread as you suggested. Best Regard Shashi |
|
January 29, 2016, 05:08 |
|
#9 |
Member
Join Date: Jul 2015
Location: Aalborg
Posts: 83
Rep Power: 11 |
Hi Shash,
Great that it works! I did not use MPPIC in the end. Nevermind.Leave your messages here ;-) Best Gerrit |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 06:21 |
Particle tracking in and after MRF | andreas0209@hotmail.com | OpenFOAM Running, Solving & CFD | 1 | July 6, 2015 09:36 |
forced to sticking of soot particle | kmgraju | CFX | 0 | November 27, 2012 10:08 |
Check particle impaction with User Fortran | Julian K. | CFX | 3 | January 12, 2012 10:46 |
RADIATION AND PARTICLE TRACKING | MARCO SIMONE | CFX | 2 | March 28, 2007 05:44 |