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

Write lagrangian Linear Momentum to a file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2023, 08:39
Post Write lagrangian Linear Momentum to a file
  #1
New Member
 
Ege Batmaz
Join Date: Dec 2018
Location: Germany
Posts: 16
Rep Power: 7
egebat7 is on a distinguished road
Hi,


I am facing an issue of writing the "Linear momentum" information of my lagrangian kinematicCloud to a file. There is a lagrangian functionObjective called "cloudInfo", which outputs Lagrangian cloud information to a file, but it only outputs specific information like number of parcels, total mass of parcels, maximum/minimum diameter, etc.


Is there a way to write other cloud information like linear momentum, linear kinetic energy, average particle diameter and so on? I know that kinematicCloud calculates these values in every single timestep and writes them in the log output:

Code:

Cloud: kinematicCloud
    Current number of parcels       = 702
    Current mass in system          = 6.79744622221e-09
    Linear momentum                 = (4.00608761963e-10 -1.470181181e-10 2.75805243444e-12)
   |Linear momentum|                = 4.26742678981e-10
    Linear kinetic energy           = 2.8710015212e-11
    Average particle per parcel     = 1
What I want is to write them in a file in the runtime, just like the "cloudInfo" function.

Best regards,
Ege
egebat7 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
[openSmoke] LaminarSMOKE compilation error mdhfiz OpenFOAM Community Contributions 8 July 2, 2024 10:32
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
[Helyx OS] Helyx-OS (GUI for SnappyHexMesh elvis OpenFOAM Community Contributions 210 January 30, 2017 18:57
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 06:42
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


All times are GMT -4. The time now is 15:57.