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

Creating a case for uncoupledKinematicParcelFoam (OpenFOAM 1.6)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By andrewryan

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2009, 12:58
Default Creating a case for uncoupledKinematicParcelFoam (OpenFOAM 1.6)
  #1
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
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
maysmech likes this.
andrewryan is offline   Reply With Quote

Old   March 7, 2010, 04:29
Default uncoupledKinematicParcelFoam
  #2
New Member
 
Markus Trenker
Join Date: Feb 2010
Location: Vienna, Austria
Posts: 11
Rep Power: 16
maksen is on a distinguished road
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
maksen is offline   Reply With Quote

Old   March 7, 2010, 04:35
Default
  #3
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
No so far I just used icoLagrangianFoam..
andrewryan is offline   Reply With Quote

Old   March 8, 2010, 02:36
Default
  #4
New Member
 
Markus Trenker
Join Date: Feb 2010
Location: Vienna, Austria
Posts: 11
Rep Power: 16
maksen is on a distinguished road
alright..
i played with the rhoPisoTwinParcelFoam yesterday which does particle tracking, however i haven't found out how to visualize them properly ...

cheers
markus
maksen is offline   Reply With Quote

Old   March 8, 2010, 02:46
Default
  #5
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
> 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..
andrewryan is offline   Reply With Quote

Old   March 8, 2010, 04:42
Default
  #6
New Member
 
Markus Trenker
Join Date: Feb 2010
Location: Vienna, Austria
Posts: 11
Rep Power: 16
maksen is on a distinguished road
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
maksen is offline   Reply With Quote

Old   March 8, 2010, 12:08
Default
  #7
Member
 
Andrew Ryan
Join Date: Mar 2009
Posts: 47
Rep Power: 17
andrewryan is on a distinguished road
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
andrewryan is offline   Reply With Quote

Old   March 8, 2010, 12:52
Default
  #8
New Member
 
Markus Trenker
Join Date: Feb 2010
Location: Vienna, Austria
Posts: 11
Rep Power: 16
maksen is on a distinguished road
thats the tutorial i found as well...thanks

cheers
markus
maksen is offline   Reply With Quote

Old   July 19, 2017, 11:09
Default
  #9
Senior Member
 
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 10
randolph is on a distinguished road
Quote:
Originally Posted by andrewryan View Post
No so far I just used icoLagrangianFoam..
isn't icoLagrangianFoam quite limited? why not use icoUncoupledKinematicParcelFoam?
randolph is offline   Reply With Quote

Reply

Tags
lagrangian, openfoam 1.6


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
OpenFOAM 1.6 GGI and mergeMeshes hansel OpenFOAM Bugs 4 April 14, 2010 05:16
OpenFoam 1.6 Permissions in Ubuntu 9.04 AlanR OpenFOAM Installation 14 December 28, 2009 19:45
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
FoamX for OpenFOAM 1.6 vitor OpenFOAM 4 October 29, 2009 06:24


All times are GMT -4. The time now is 00:55.