CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Creating a case for uncoupledKinematicParcelFoam (OpenFOAM 1.6) (https://www.cfd-online.com/Forums/openfoam/70406-creating-case-uncoupledkinematicparcelfoam-openfoam-1-6-a.html)

andrewryan November 23, 2009 13:58

Creating a case for uncoupledKinematicParcelFoam (OpenFOAM 1.6)
 
Dear Foamers

I'm trying to understand how the uncoupledKinematicParcelFoam solver works. Unfortunately I could not find a tutorial case for it. Therefore I'm trying to create my own case.

From the description:
Code:

Transient solver for the passive transport of a single kinematic particle could.

Uses a pre- calculated velocity field to evolve the cloud.

So far I figured out that it's looking for the initial positions in 0/lagrangian/kinematicCloud/positions .

The file has the format:

Code:

n
(
( x y z) cellID
..
)

Where n is the number of particles and each row contains the position of the individual particle and the cellID in which it is. (Is this correct?)

This is exactly the problem: How can I figure out in which cell the particle is, given the position. I saw that in some other tutorial (for example the evaporationTest) cases this file is written in all timestep directories (except 0) by the solver.

Whats the way to generate the initial position file? (for now I just want to have a few particles somewhere in my simple mesh)

How can I figure out the id of a cell in paraview? When using foamToVTK I could select to colorize the wireframe by cellIDs [1], this however only works when the mesh is really small. Also the cell IDs did not show up the parallel openfoam reader. Is there another way to see the cell id (for example by clicking on a cell)?

[1] http://emerging-patterns.com/tmp/CellIDs.png

maksen March 7, 2010 05:29

uncoupledKinematicParcelFoam
 
Hi Andrew,

did you succeed with the uncoupledKinematicParcelFoam? I was looking for a tutorial but found your post...

could you make your case work?

cheers
markus

andrewryan March 7, 2010 05:35

No so far I just used icoLagrangianFoam..

maksen March 8, 2010 03:36

alright..
i played with the rhoPisoTwinParcelFoam yesterday which does particle tracking, however i haven't found out how to visualize them properly ...

cheers
markus

andrewryan March 8, 2010 03:46

> however i haven't found out how to visualize them properly ...

http://openfoamwiki.net/index.php/Ma...gian_particles

foamToVTK seems to be the only option here..

maksen March 8, 2010 05:42

yes, i agree... i "glyphed" the p-tracks yesterday and it seemed to work...

how are your experiences with icoLagrangianFoam. found a tutorial on the net which says that its "only a demo"....

later
markus

andrewryan March 8, 2010 13:08

Well I only looked at it to see how LPT works..

This here could be interesting for you: http://www.tfd.chalmers.se/~hani/kur...angianFoam.pdf

maksen March 8, 2010 13:52

thats the tutorial i found as well...thanks

cheers
markus

randolph July 19, 2017 12:09

Quote:

Originally Posted by andrewryan (Post 248860)
No so far I just used icoLagrangianFoam..

isn't icoLagrangianFoam quite limited? why not use icoUncoupledKinematicParcelFoam?


All times are GMT -4. The time now is 21:43.