|
[Sponsors] |
January 15, 2018, 15:05 |
lagrangian data writing
|
#1 |
Member
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 9 |
Hello, I am working with kinematic clouds and I need the lagrangian data to be written after every time step, and field data at writeControl settings.
Is there any way to do this? |
|
February 16, 2020, 09:10 |
Posible solution direction
|
#2 |
Member
Bas Nieuwboer
Join Date: Mar 2013
Posts: 34
Rep Power: 13 |
Hi cojua8,
I am struggling with the same problem. I don't think it is possible at the moment. At least not out of the box. I found 2 solution direction which both did not work for me: -I started using a cloud function with particle tracks. However, this wrote only 2 particles out of 700 for me. The trackInterval also seems to be a factor times the write time. It does the opposite we would like: it write less timesteps. The cloud function can be added to the kinematicProperties. Code:
cloudFunctions { particleTracks1 { type particleTracks; trackInterval 5; maxSamples 1000000; resetOnWrite yes; } } Code:
kinematicCloud.writePositions(); I hope this gives you and others some directions for solving this problem. |
|
Tags |
lagrangian, timestep, write |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
decomposePar problem: Cell 0contains face labels out of range | vaina74 | OpenFOAM Pre-Processing | 37 | July 20, 2020 06:38 |
Lagrangian Data extract from sprayFoam e.g. with swak4Foam | mokard | OpenFOAM Post-Processing | 2 | January 16, 2018 04:44 |
Run OpenFoam in 2 nodes of a cluster | WhiteW | OpenFOAM Running, Solving & CFD | 16 | December 20, 2016 01:51 |
How to turn off 3D data writing and save 2D slices? | xuegy | OpenFOAM Post-Processing | 1 | October 28, 2016 03:00 |
Writing Case and Data Files Using Journal/Scheme Files | svp | Fluent UDF and Scheme Programming | 0 | April 5, 2011 12:04 |