CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   how to initialize kinematicCloudPositions (https://www.cfd-online.com/Forums/openfoam-solving/150643-how-initialize-kinematiccloudpositions.html)

sharonyue March 26, 2015 12:40

how to initialize kinematicCloudPositions
 
Hi guys,

In tutorials of DPMFoam and MPPICFoam. this file "kinematicCloudPositions" is provided by OpenFOAM. But how can I initialize it by my own? if I wanna change another geometry.

https://github.com/OpenFOAM/OpenFOAM...CloudPositions

Thanks.

Amethyst006 November 23, 2015 15:52

So sad nobody answered...
 
Hi sharonyue,

I'm also checking out the MPPICFoam.
To initialize particle positions, I wrote a small c++ code myself to randomly generate positions within the domain.

I have a question related to this though,...
The positions generated are for parcels. Each parcel contains N particles. Do we need to check for overlap of parcels when initializing? If yes, how?

Thanks.
Ame

sharonyue November 24, 2015 00:00

Quote:

Originally Posted by Amethyst006 (Post 574653)
Hi sharonyue,

I'm also checking out the MPPICFoam.
To initialize particle positions, I wrote a small c++ code myself to randomly generate positions within the domain.

I have a question related to this though,...
The positions generated are for parcels. Each parcel contains N particles. Do we need to check for overlap of parcels when initializing? If yes, how?

Thanks.
Ame

Hi Shiting,

That has been a while since I played with this solver. I remember MPPICFoam includes the parcel's volume in the solver. But I dont know if you need to consider the paricles volume when initializing. :)

BTW, could u please share some knowledge about the initialization?

Best,


All times are GMT -4. The time now is 08:25.