CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Simulation of single particle impact on the substrate

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2017, 07:56
Default Simulation of single particle impact on the substrate
  #1
New Member
 
Karthik
Join Date: Apr 2017
Posts: 29
Rep Power: 6
kr660170 is on a distinguished road
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.
kr660170 is offline   Reply With Quote

Old   April 25, 2017, 08:49
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,962
Blog Entries: 45
Rep Power: 125
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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;
        }
If you change the parameters "parcelsPerSecond" and "duration" to your desired values, you should be able to control the frequency of how the 100 particles are injected.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 25, 2017, 16:15
Default
  #3
New Member
 
Karthik
Join Date: Apr 2017
Posts: 29
Rep Power: 6
kr660170 is on a distinguished road
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.
kr660170 is offline   Reply With Quote

Old   April 25, 2017, 18:39
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,962
Blog Entries: 45
Rep Power: 125
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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.
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
DDPM or DEM Simulation for big diameter particle roopesh99 Fluent Multiphase 6 July 15, 2016 04:06
variable density in single fluid simulation not running with total energy viking CFX 2 September 18, 2012 20:19
creating and following a single particle orland FLUENT 3 April 4, 2011 16:41
Simulation of a single passage and volute Suzzn CFX 1 January 5, 2010 07:05
Plotting particle wall impact angle (Lagrangian pt Bart Prast CFX 0 January 26, 2009 04:23


All times are GMT -4. The time now is 03:41.