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

How to use the icoUncoupledKinematicCloud function object?

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By KTG
  • 3 Post By cemf

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2020, 23:31
Default How to use the icoUncoupledKinematicCloud function object?
  #1
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
Hello all,


I would like to add some particle tracks to a pimpleFoam simulation. Just passive tracers - no mass or volume - to get some pathlines in an LES simulation. This seems like a really basic thing, but I always find empty threads of people trying to figure this out. It seemed like this function object was the answer, but I can't find an example of its usage anywhere! I put this in the control dict:
tracks
{
libs ("liblagrangianFunctionObjects.so");
type icoUncoupledKinematicCloud;

}


and kinematicCloudPositions in constant/ with two points in it inside the T junction tutorial. I get:


request for singlePhaseTransportModel transportProperties from objectRegistry region0 failed
available objects of type singlePhaseTransportModel are
0()


Pretty stuck here. Seems like there should be a kinematicCloudProperties file involved, but I don't know what to include with it. Does anyone have a working case file for this? We should add it to one of the LES tutorials for the next release (if anyone knows how to use it).


Thanks-
SimonStar likes this.
KTG is offline   Reply With Quote

Old   February 11, 2020, 15:58
Default
  #2
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
Maybe I should have said earlier, I would be interested to hear any possible workarounds to getting path lines, short of using the paraview GUI - most simulations are too big for that and I can't write all those time steps.


Thanks
KTG is offline   Reply With Quote

Old   May 11, 2020, 05:34
Default
  #3
Member
 
SimonStar's Avatar
 
Simon
Join Date: Sep 2019
Location: Germany
Posts: 51
Rep Power: 6
SimonStar is on a distinguished road
Hello KTG,


I am trying to do the same thing than you. Its not nice that so many threads according to that topic stay empty.

I've seen that the visualization of the lines are possible with Paraview. Have you tried this? https://www.youtube.com/watch?v=Dk91aLVpwXc

It would be nice from you to hear if you found a solution so far.


Thank you
Simon
SimonStar is offline   Reply With Quote

Old   May 18, 2020, 14:40
Default
  #4
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
Hi Simon,


I am sorry to say I never found a solution! I have tried using paraview, however this is only a solution for small cases. The problem is that you need to save a lot of files, otherwise you pathlines make angular directional changes and sometimes jump through the corners of solid walls. One of the most frustrating things about working with openFOAM is knowing that something has probably already been implemented, and not being able to figure out where/how to use it.



I was thinking about trying to make a new pimpleFoam solver with this particle class:


https://pingpong.chalmers.se/public/...o?item=4899150


I was not successful. I also considered just running MPPICFoam or DPMFoam with zero mass particles, which would be stupid. I also considered running the passive scalar function object, and then running streamlines through that to get low quality streak lines. What I actually ended up doing was not working on that project for two months - between openFoam and my other job responsibilities, there are plenty of excuses not to.



If you make any progress please keep me informed - I have been trying to get pathlines in openfoam since 2016. Its as if it has never been done before....
KTG is offline   Reply With Quote

Old   June 17, 2020, 16:36
Default
  #5
New Member
 
Hamidreza Norouzi
Join Date: Jun 2020
Posts: 1
Rep Power: 0
cemf is on a distinguished road
Hi,

You may find this link useful.
https://www.cemf.ir/residence-time-d...ticle-tracing/
KTG, oumnion and famiuer like this.
cemf is offline   Reply With Quote

Old   December 17, 2020, 20:45
Default
  #6
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
Thank you - this is exactly what I was trying to figure out. Sorry I didn't notice your post until now. I was grepping the tutorial files for that function object and didn't see anything when I posted that.



Have you considered submitting your tutorials to the openFoam Wiki? I didn't see them there. The lagrangian parts of openFoam are, in my opinion, pretty difficult to get started with and there are not many resources out there for us non-experts.
KTG is offline   Reply With Quote

Old   December 18, 2020, 18:19
Default
  #7
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
I did have a question about the tutorial: did you make that figure with the pathlines in paraview? I saw that particle tracks can be done there, but wasn't sure if there was a way to do them with openFoam's function objects so that I could get smooth tracks without having to write a lot of time steps?
KTG 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
foamToTecplot360 thomasduerr OpenFOAM Post-Processing 121 June 11, 2021 10:05
How to create a function object in OpenFoam that runs properly ? mkhm OpenFOAM Programming & Development 1 October 20, 2018 16:16
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36


All times are GMT -4. The time now is 20:38.