|
[Sponsors] |
Simulation of single particle impact on the substrate |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2017, 08:56 |
Simulation of single particle impact on the substrate
|
#1 |
New Member
Karthik
Join Date: Apr 2017
Posts: 29
Rep Power: 9 |
Hello Friends,
I am currently doing simulation of single particle impact on the substrate. I would like to do more particles say 100 nos, but for that i need to create and patch 100 region, which i don't want to do it. I would like to know how can i patch 100 region, instead of creating a 100 region. For ex: I would like to enter in numbers say 100, rather than creating a 100 region. Please help me with this problem. |
|
April 25, 2017, 09:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Karthik and welcome to the forum!
I've moved your 2 posts to a new thread and deleted the repeated post. If I understand you correctly, you are trying to inject 100 particles through an inlet patch? If this is what you are trying to do, see the tutorial case "lagrangian/MPPICFoam/injectionChannel", specifically in the file "constant/kinematicCloudProperties", you will find this block (I'm looking at the tutorial in OpenFOAM 4.x, same as in 4.1): Code:
model1 { type patchInjection; parcelBasisType fixed; patchName lowerInlet; U0 (18.7939 6.8404 0); nParticle 1; parcelsPerSecond 1390885; sizeDistribution { type normal; normalDistribution { expectation 650e-6; variance 25e-6; minValue 500e-6; maxValue 800e-6; } } flowRateProfile constant 1; massTotal 0; SOI 0; duration 60; } Best regards, Bruno
__________________
|
|
April 25, 2017, 17:15 |
|
#3 |
New Member
Karthik
Join Date: Apr 2017
Posts: 29
Rep Power: 9 |
Hallo Bruno,
Thank you very much for your reply. But i want to interprete the coding file in ansys fluent 17.2. For example i have attached the viscosity coding file using UDF (User defined functions) manual /************************************************** ******************* UDF for specifying a temperature-dependent viscosity property ************************************************** ********************/ #include "udf.h" DEFINE_PROPERTY(viscosity, cell, thread) { real mu; real temp = C_T(cell, thread); if (temp < 2973) mu = 1e+3; else mu = 1.91e-3; return mu; } Like this can you send me UDF file to do 100 patches. For ex: i want to write a code for particle that comes for each sec. (one sec = one particle) and perform till 60 secs. I am working on the Atmospheric plasma spraying (APS) topic. In general when you spray numerous molten liquid particles comes out from spray and hits on the substrate and gets solidified instantly. I am doing this on Ansys fluent 17.2. It would be great if you send me coding file using UDF. Thanks again for your reply. |
|
April 25, 2017, 19:39 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Wait... what? Then why did you ask about this on the OpenFOAM forums?
The correct place to ask about this is in the Fluent UDF sub-forum here: https://www.cfd-online.com/Forums/fluent-udf/ Anyway, I've moved this thread to that sub-forum now, hopefully someone there will answer to your question. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DDPM or DEM Simulation for big diameter particle | roopesh99 | Fluent Multiphase | 6 | July 15, 2016 05:06 |
variable density in single fluid simulation not running with total energy | viking | CFX | 2 | September 18, 2012 21:19 |
creating and following a single particle | orland | FLUENT | 3 | April 4, 2011 17:41 |
Simulation of a single passage and volute | Suzzn | CFX | 1 | January 5, 2010 08:05 |
Plotting particle wall impact angle (Lagrangian pt | Bart Prast | CFX | 0 | January 26, 2009 05:23 |