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

particle number concentration in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2016, 18:13
Default
  #41
New Member
 
Gina M.
Join Date: Jul 2016
Posts: 2
Rep Power: 0
gmag is on a distinguished road
Quote:
Originally Posted by wentao View Post

In the main code, I assigned kinematicCloud.rhoEff() to pncon as follows.
--------------------------------------------------------------------------------------------------
pncon = kinematicCloud.rhoEff();

runTime.write();
---------------------------------------------------------------------------------------------------
It is compiled successfully.
I am interested in applying Wentao's solution to my problem, but I have a question:
Is the best place to insert this code in the main part of the application code? Or is there a more general solution?

Thanks for your help!
gmag is offline   Reply With Quote

Old   October 12, 2016, 16:38
Default
  #42
New Member
 
Alberta
Join Date: Aug 2016
Posts: 3
Rep Power: 9
Ela89 is on a distinguished road
Hi everyone,

I'm also trying to find the number of particles that impact a surface (particles that rebound). Does anyone know of a way to do this?

Thanks!
Ela89 is offline   Reply With Quote

Old   October 12, 2016, 21:17
Default
  #43
Member
 
Ping Chang
Join Date: Feb 2016
Location: Perth
Posts: 93
Rep Power: 10
chpjz0391 is on a distinguished road
Quote:
Originally Posted by Ela89 View Post
Hi everyone,

I'm also trying to find the number of particles that impact a surface (particles that rebound). Does anyone know of a way to do this?

Thanks!
Hi Ela,
You can achieve this goal by paraview. In the paraview, you can select all the particles which on the surface of your model.

Kind regards.
Ping
chpjz0391 is offline   Reply With Quote

Old   April 12, 2017, 18:39
Default
  #44
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by chpjz0391 View Post
Hi Ela,
You can achieve this goal by paraview. In the paraview, you can select all the particles which on the surface of your model.

Kind regards.
Ping
Hi Ping,

Thank you for your hints here. Could you be a littile more specifically how this can be done? I am working with the solidParticle class.
cfdopenfoam is offline   Reply With Quote

Old   April 12, 2017, 19:30
Default
  #45
Member
 
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11
cfdopenfoam is on a distinguished road
Quote:
Originally Posted by Ela89 View Post
Hi everyone,

I'm also trying to find the number of particles that impact a surface (particles that rebound). Does anyone know of a way to do this?

Thanks!
Hi Alberta,

Did you solve your problem? Could you pls post your solution here? I am facing the same situation.

Thanks.
cfdopenfoam is offline   Reply With Quote

Old   October 23, 2019, 22:31
Default
  #46
New Member
 
Hailong
Join Date: Sep 2019
Posts: 8
Rep Power: 6
nilvxingren is on a distinguished road
Quote:
Originally Posted by wentao View Post
Hallo, Marta

With your help, everything seems clear. But I still want to confirm whether what I have done is right or not!

Take that piece of code you referred to as an example. Function rhoEff() is declared in KinematicCloud.H but defined in KinematicCloudl.H. At the same time KinematicCloud.H is inserted into basicKinematicCloud.H which is applied in my main code as follows.
-----------------------------------------------------------------------------------------------------------------------------------------------------
#include "fvCFD.H"
#include "basicPsiThermo.H"
#include "turbulenceModel.H"
#include "basicKinematicCloud.H"
-----------------------------------------------------------------------------------------------------------------------------------------------------
Therefore, rhoEff() can be regarded as a member function in basicKinematicCloud.H. And then I create an object for basicKinematicCloud class, named kinematicCloud.

In the creatField.H, I also build a volScalarField variable named pncon.
---------------------------------------------------------------------------------------------
Info << "Reading field pncon\n" << endl;
volScalarField pncon
(
IOobject
(
"pncon",
runTime.timeName(),
mesh,
IOobject::READ_IF_PRESENT,
IOobject::AUTO_WRITE
),
mesh
);
----------------------------------------------------------------------------------------

In the main code, I assigned kinematicCloud.rhoEff() to pncon as follows.
--------------------------------------------------------------------------------------------------
pncon = kinematicCloud.rhoEff();

runTime.write();
---------------------------------------------------------------------------------------------------
It is compiled successfully.
Hi wentao, I try this this method ,but get an error "cannot find file file: /mnt/hgfs/1ShareFolder/coalcutterLES/0/pncon at line 0." when I run my case. Is it necessary to create an initial pncon file under the 0 file? thankyou
nilvxingren is offline   Reply With Quote

Old   June 17, 2020, 09:15
Default
  #47
Member
 
Ferdinand Pfender
Join Date: May 2013
Location: Berlin, Germany
Posts: 40
Rep Power: 12
FerdiFuchs is on a distinguished road
you could modify the voidfraction from cloudfunctionsobject. thats what i did and it works pretty good. Thats how i calculate particles/m³ per cell.

regards,
FerdiFuchs
FerdiFuchs is offline   Reply With Quote

Old   March 20, 2022, 23:43
Default reactingparcelfoam droplet heat interaction with the walls
  #48
New Member
 
RAJ GAURAV
Join Date: Mar 2022
Location: NIT MANIPUR
Posts: 4
Rep Power: 4
RAJ_GAURAV is on a distinguished road
Quote:
Originally Posted by Alaska1964 View Post
Dear Mayank,
Did you find answer for your problem? I have the same problem.
I am simulating droplets in a L shape channel. I am using the following conditions:
patchInteractionModel localInteraction;

localInteractionCoeffs
{
patches
(
WALL
{
type rebound;
e 1;
mu 0.9;
}
);
}

In my log file it is reported that:

Parcel fate (number, mass) : patch WALL
- escape = 0, 0
- stick = 0, 0


I want to count the number of droplets deposited on the wall. Ho can Count it ? Shall I add a specific command in kinematicCloudProperties to show the number of droplets deposited?
Cheers,

hii everyone

i am using reactingparcelfoam and injecting mist with path injection but it is not interating with the plate which i want to cool down. can anyone suggest some methods to enble the heat transfer of droplets with the walls.
RAJ_GAURAV 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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 13:06
Problem with decomposePar tool vinz OpenFOAM Pre-Processing 18 January 26, 2011 02:17
Particle Tracking Batis CFX 2 October 6, 2010 15:20
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
particle courant number Michiel Siemens 1 August 10, 2003 05:50


All times are GMT -4. The time now is 19:58.