CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

flowRateProfile

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes
  • 1 Post By musabai
  • 2 Post By amin_jalalian
  • 6 Post By Dami
  • 1 Post By rahulksoni

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2015, 14:03
Default flowRateProfile
  #1
New Member
 
Join Date: Feb 2015
Posts: 8
Rep Power: 11
musabai is on a distinguished road
I am using coalChemistryFoam.
1,In the patchInjection, there is a keyword "flowRateProfile", what doest it mean?
2, If massTotal is 0.001625, SOI=0, duration=0.5, so massFlowRate=massTotal/duration=0.00325, is it right?

Anyone can help me?Thank you.
sourav90 likes this.
musabai is offline   Reply With Quote

Old   May 10, 2016, 22:39
Default
  #2
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by musabai View Post
I am using coalChemistryFoam.
1,In the patchInjection, there is a keyword "flowRateProfile", what doest it mean?
2, If massTotal is 0.001625, SOI=0, duration=0.5, so massFlowRate=massTotal/duration=0.00325, is it right?

Anyone can help me?Thank you.
Hey have you solved ur problems?
I have the same question, what does flowRateProfile mean?
chpjz0391 is offline   Reply With Quote

Old   May 11, 2016, 11:43
Default
  #3
New Member
 
Join Date: Feb 2015
Posts: 8
Rep Power: 11
musabai is on a distinguished road
Quote:
Originally Posted by chpjz0391 View Post
Hey have you solved ur problems?
I have the same question, what does flowRateProfile mean?
I think it's just mass flow rate. Hope this is helpful.
musabai is offline   Reply With Quote

Old   May 11, 2016, 16:37
Default
  #4
New Member
 
Join Date: May 2015
Posts: 4
Rep Power: 10
fluidos is on a distinguished road
I'm also working on a Lagrangian dispersion problem.

As far as I understand "FlowRateProfile" specifies the source mass flow rate as a function of time. See for example tutorial ./sprayFoam/aachenBomb/constant/sprayCloudProperites.

You could also specify a "sizeDistribution" for the individual particles.

Does anyone know of a good documentation source for the Lagrangian Cloud Properties file? I.e. an explanation of what options are and units of parameters?

Thanks,

Anders
fluidos is offline   Reply With Quote

Old   May 12, 2016, 21:20
Default
  #5
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by musabai View Post
I think it's just mass flow rate. Hope this is helpful.
Thanks for your reply. Here I have some other questions,
1.after the simulation, do you know how to count the particles number in a specified area? do you have any hints?
2. do you simulate a steady state or transient state? In tutorial simpleReactingParcelFoam, patch is another inlet which inlet air with a certain velocity. can we just inject particles without airflow? If we can, how should we set the BD.

Sorry for my poor English. Hope you can understand.
chpjz0391 is offline   Reply With Quote

Old   May 12, 2016, 21:24
Default
  #6
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by fluidos View Post
I'm also working on a Lagrangian dispersion problem.

As far as I understand "FlowRateProfile" specifies the source mass flow rate as a function of time. See for example tutorial ./sprayFoam/aachenBomb/constant/sprayCloudProperites.

You could also specify a "sizeDistribution" for the individual particles.

Does anyone know of a good documentation source for the Lagrangian Cloud Properties file? I.e. an explanation of what options are and units of parameters?

Thanks,

Anders
Hi Anders, could you specify your request? what kind of lagrangian cloud properties file do you want? steady-state or transient or different injector?

By the way, do you know how to count the number of particles after simulation?
chpjz0391 is offline   Reply With Quote

Old   May 13, 2016, 13:14
Default
  #7
New Member
 
Join Date: May 2015
Posts: 4
Rep Power: 10
fluidos is on a distinguished road
I'd like to do massless Lagrangian particles with stochastic dispersion for a steady state, simpleFoam problem (e.g. a RANS problem).

In principle if I have already computed the velocity field this should be a post processing computation. Do you know of any tutorials on how to do that?

Unfortunately I do not know of a good way to count particles. One suggestion is that you could export the position of each particle for the timestep of interest and write a Python or Matlab script to search and count in the 3D subdomain.

Regards,

Anders
fluidos is offline   Reply With Quote

Old   August 15, 2016, 11:35
Default coal combustion with openfoam
  #8
Member
 
amin jalalian
Join Date: Mar 2014
Posts: 34
Rep Power: 12
amin_jalalian is on a distinguished road
Quote:
Originally Posted by musabai View Post
I think it's just mass flow rate. Hope this is helpful.
Hi musabai and other Dear foamers,

I want to simulate coal combustion in steady State but i couldn't find steady solver for it thus I solves it with coalChemistryFoam
which is transient until it reaches to steady state . Does anybody have better recommend?

Ok,
I modified coalCloud1Properties to this:
Code:
 type                       patchInjection;
            massTotal                 0.09167;
            parcelBasisType       mass;
            SOI                   0;
            patchName              in_1;
            duration              20; 
            U0                  (26 0 0);
            massFlowRate        0.004583;//kg/s
            parcelsPerSecond     1e5;
            flowRateProfile constant 1;
I know massFlowRate=0.00458 thus for 20 seconds (optional) I adjusted massTotal=0.09167 for massTotal/20=massFlowRate 0.004583.
Is this work right?

Is "flowRateProfile constant 1" right? I think it means to uniform profile for particle inject with 'massFlowRate= 0.00458'. Am I right?

I set 'parcelsPerSecond = 1e5' approximately. I don't know what must I put exactly. Is it a normal input for it?

I excuse because of my poor english writing.

Best Regards.
Nomis and sourav90 like this.
amin_jalalian is offline   Reply With Quote

Old   September 15, 2016, 05:41
Default
  #9
Member
 
amin jalalian
Join Date: Mar 2014
Posts: 34
Rep Power: 12
amin_jalalian is on a distinguished road
Quote:
Originally Posted by musabai View Post
I think it's just mass flow rate. Hope this is helpful.

injectionModels has an option "massFlowRate" thus flowRateProfile must be something else.
amin_jalalian is offline   Reply With Quote

Old   April 3, 2018, 05:21
Default
  #10
Member
 
vishal
Join Date: Mar 2013
Posts: 73
Rep Power: 13
vishal_s is on a distinguished road
Hi...any one figured out what "flowRateProfile" stands for?

I am having a doubt whether it stands for mass flow rate as a function of time but then we do mention massFlowRate in injection model, then why to mention it again?
vishal_s is offline   Reply With Quote

Old   June 5, 2018, 07:41
Default
  #11
New Member
 
Dami Og
Join Date: May 2018
Posts: 2
Rep Power: 0
Dami is on a distinguished road
FlowRateProfile is a means of varying injected mass flow rate with time by creating a time profile. If you go with the "constant" FlowRateProfile, only one flow rate value will be used throughout the injection period. Alternatively, you can vary the flow rate by making a table with different flow rates at different times during the injection period.
Dami is offline   Reply With Quote

Old   November 10, 2020, 12:05
Default
  #12
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Dear Foamers,

I am trying to simulate a pure pressure driven flow through a nozzle using speayFoam in OpenFoam1812. I would like to obtain the mass flow rate through the nozzle. Here is the relevant info from sprayCloudProperties file:
Code:
    injectionModels
    {
        model1
        {
            type            coneNozzleInjection;
            SOI             0;
            massTotal       1e-5;
            parcelBasisType mass;
            injectionMethod disc;
            flowType        pressureDrivenVelocity;
            Pinj	    constant 1e6;
            outerDiameter   2e-4;
            innerDiameter   0;
            duration        50e-3;
            position        (0 0.5 0);
            direction       (0 -1 0);
            parcelsPerSecond 20000000;
            flowRateProfile constant 1;
The problem is that (to my knowledge) both "massTotal" and "duration" should be specified even for the pressure driven flow. Consequently, wouldn't the mass flow rate be imposed to the domain as mass flow = "massTotal" / "duration"?

I really appreciate your thoughts on this.

Regards,
MJ

Last edited by mm66; November 11, 2020 at 09:15.
mm66 is offline   Reply With Quote

Old   November 16, 2020, 15:21
Default
  #13
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Quote:
Originally Posted by mm66 View Post
Dear Foamers,

I am trying to simulate a pure pressure driven flow through a nozzle using speayFoam in OpenFoam1812. I would like to obtain the mass flow rate through the nozzle. Here is the relevant info from sprayCloudProperties file:
Code:
    injectionModels
    {
        model1
        {
            type            coneNozzleInjection;
            SOI             0;
            massTotal       1e-5;
            parcelBasisType mass;
            injectionMethod disc;
            flowType        pressureDrivenVelocity;
            Pinj	    constant 1e6;
            outerDiameter   2e-4;
            innerDiameter   0;
            duration        50e-3;
            position        (0 0.5 0);
            direction       (0 -1 0);
            parcelsPerSecond 20000000;
            flowRateProfile constant 1;
The problem is that (to my knowledge) both "massTotal" and "duration" should be specified even for the pressure driven flow. Consequently, wouldn't the mass flow rate be imposed to the domain as mass flow = "massTotal" / "duration"?

I really appreciate your thoughts on this.

Regards,
MJ
Please help. Any idea/input would be appreciated, thanks
mm66 is offline   Reply With Quote

Old   November 25, 2020, 09:36
Question
  #14
Member
 
Join Date: Mar 2019
Posts: 81
Rep Power: 7
mm66 is on a distinguished road
Quote:
Originally Posted by mm66 View Post
Dear Foamers,

I am trying to simulate a pure pressure driven flow through a nozzle using speayFoam in OpenFoam1812. I would like to obtain the mass flow rate through the nozzle. Here is the relevant info from sprayCloudProperties file:
Code:
    injectionModels
    {
        model1
        {
            type            coneNozzleInjection;
            SOI             0;
            massTotal       1e-5;
            parcelBasisType mass;
            injectionMethod disc;
            flowType        pressureDrivenVelocity;
            Pinj	    constant 1e6;
            outerDiameter   2e-4;
            innerDiameter   0;
            duration        50e-3;
            position        (0 0.5 0);
            direction       (0 -1 0);
            parcelsPerSecond 20000000;
            flowRateProfile constant 1;
The problem is that (to my knowledge) both "massTotal" and "duration" should be specified even for the pressure driven flow. Consequently, wouldn't the mass flow rate be imposed to the domain as mass flow = "massTotal" / "duration"?

I really appreciate your thoughts on this.

Regards,
MJ
So I ran two simulations with exactly the same settings except for the nozzle diameter to see if the mass flow rate would be different under pressure driven flow. And (weirdly?) the results were almost identical... So how can I obtain the mass flow as a result of pressure driven throttle through different nozzle sizes...? Any ideas?
mm66 is offline   Reply With Quote

Old   March 9, 2023, 12:55
Default
  #15
Member
 
rahulksoni's Avatar
 
Rahul Kumar Soni
Join Date: Oct 2013
Location: Bhubaneswar, India
Posts: 68
Rep Power: 12
rahulksoni is on a distinguished road
Send a message via Skype™ to rahulksoni
Quote:
Originally Posted by chpjz0391 View Post


Thanks for your reply. Here I have some other questions,
1.after the simulation, do you know how to count the particles number in a specified area? do you have any hints?
2. do you simulate a steady state or transient state? In tutorial simpleReactingParcelFoam, patch is another inlet which inlet air with a certain velocity. can we just inject particles without airflow? If we can, how should we set the BD.

Sorry for my poor English. Hope you can understand.

I am using patchInjection in denseParticleFoam.

My part of the code is:

Code:
injectionModels 
    {
        model1
        {
            type                     patchInjection;
            massTotal             190; 
            SOI                      0;   
            parcelBasisType    mass; 
            patchName           inlet;
            duration               10;
            parcelsPerSecond  100644;              
            U0                       (0 0 -1.0); 
            flowRateProfile constant 1;    
            sizeDistribution
            {
                type                 RosinRammler
                RosinRammlerDistribution
                {
                     minValue     5e-6;       // 5 micron
                     maxValue    1000e-6;  // 1000 micron
                     n                2.0;          // Tuning parameter of Rosin-Rammler distribution 
                     d                500e-6;     // The size at which 63% mass of particle passes
                }
            }
        }
    }
First question: I have two outlets. How do I know the distribution of how many or how much parcel is going to each outlet.

Second question: If I know the mass to feed (massTotal) and time of feed (duration) then I know the mass feed rate. If I know the mass to be fed in one second and Rosin-Rammler particle size distribution then one can calculate the mass based distribution, e.g. m1 mass of 5 to 100 micron particles, m2 mass of 100 to 200 micron particles, and so on. Knowing the mass and particle dia of each size class, one can calculate the number of particles/parcels in each size class. Sum of them is going to be total number of parcels. How this is different from the defined parcelspersecond.



I can see the following output in log file of denseParticleFoam:
Code:
Solving 3-D cloud cloud

Cloud: cloud injector: model1
    Added 10 new parcels

GAMG:  Solving for cloud:alpha, Initial residual = 5.02715e-07, Final residual = 5.02715e-07, No Iterations 0
Cloud: cloud
    Current number of parcels       = 46928
    Current mass in system          = 8.86257
    Linear momentum                 = (0.0156862 -0.0522058 -4.25903)
   |Linear momentum|                = 4.25938
    Linear kinetic energy           = 1.36956
    model1:
        number of parcels added     = 46933
        mass introduced             = 8.8635
    Parcel fate (number, mass)      : patch walls
      - escape                      = 0, 0
      - stick                       = 0, 0
    Parcel fate (number, mass)      : patch walls_rack
      - escape                      = 0, 0
      - stick                       = 0, 0
    Parcel fate (number, mass)      : patch inlet
      - escape                      = 0, 0
      - stick                       = 0, 0
    Parcel fate (number, mass)      : patch outlet_of
      - escape                      = 5, 0.000932727
      - stick                       = 0, 0
    Parcel fate (number, mass)      : patch outlet_uf
      - escape                      = 0, 0
      - stick                       = 0, 0
    Min cell volume fraction        = 0
    Max cell volume fraction        = 0.582124
    Min dense number of parcels     = 1.81128
With the above output, I can say that the parcel injection rate is as per defined earlier, i.e. 19 kg/s (massTotal = 190, duration = 10). Also, the number of parcel injection rate also seems to be correct, around 100644 parcels per second. Further, The output shows the cumulative number and cumulative mass of parcels escaped from the two outlets (outlet_of, outlet_uf). This is the information, I would like to get collected in a separate file which can be used later for plotting. Furthermore, though the above information provides cumulative number of parcels escaped from the patch, it does now show the size distribution of parcels. Suppose, you are having a gravity based separator, then it is obvious to investigate which size is moving downwards and which is moving upwards. Those two products shall be collected at different outlets (at top and bottom). I want that the details of such collection is written is a file.
Desimuser1 likes this.

Last edited by rahulksoni; March 10, 2023 at 03:52.
rahulksoni is offline   Reply With Quote

Old   May 18, 2023, 07:18
Default
  #16
New Member
 
Turhan
Join Date: Sep 2022
Posts: 16
Rep Power: 3
Turhan is on a distinguished road
Hey Rahulksoni,

I have the exact same problem as you and haven't found a way to solve it.
However, I noticed that your log file shows the parcel fate for multiple patches. Whenever I run DPMFoam or MPPICFoam I get the Parcel fate for only the system as a whole, how were you able to get the info for individual patches?
Turhan is offline   Reply With Quote

Reply


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
sprayEngineFoam (dieselEngine) devayabir OpenFOAM Running, Solving & CFD 17 November 19, 2020 14:19
flowRateProfile unit in sprayCloudProperties wolfindark OpenFOAM Running, Solving & CFD 2 July 4, 2014 05:13


All times are GMT -4. The time now is 04:30.