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

OpenFOAM - Control and Editing of Lagrangian Output Variables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2016, 12:42
Default OpenFOAM - Control and Editing of Lagrangian Output Variables
  #1
New Member
 
Gina M.
Join Date: Jul 2016
Posts: 2
Rep Power: 0
gmag is on a distinguished road
Hi everyone,

I am relatively new to OpenFOAM so I hope you'll have some patience with me! I am using OpenFOAM v3.0.0.

I am interested in adding additional Lagrangian output variables for post-processing in Paraview. After some searching, I think I have concluded that these output variables can be specified in SprayParcelIO.C. The source of my confusion is that while I see some standard parcel output variables (d0, injector, etc), I do not see quantities like temperature or droplet size...

Question #1: Where is the appropriate location to edit/control Lagrangian output variables? If it is SprayParcelIO.C, where is the parcel diameter (d) outputted?

Question #2: If SprayParcelIO.C is the correct file to edit, do I need to add the name of my custom output variable in each section where I see other parcel variable names (like "user_", "d0_",etc) or only certain sections?

Question #3: After editing the appropriate file, how should I compile the code to include these edits?

Thanks in advance for your help!
gmag is offline   Reply With Quote

Old   June 25, 2019, 13:29
Default
  #2
hzw
New Member
 
Join Date: May 2014
Posts: 5
Rep Power: 12
hzw is on a distinguished road
Quote:
Originally Posted by gmag View Post
Hi everyone,

I am relatively new to OpenFOAM so I hope you'll have some patience with me! I am using OpenFOAM v3.0.0.

I am interested in adding additional Lagrangian output variables for post-processing in Paraview. After some searching, I think I have concluded that these output variables can be specified in SprayParcelIO.C. The source of my confusion is that while I see some standard parcel output variables (d0, injector, etc), I do not see quantities like temperature or droplet size...

Question #1: Where is the appropriate location to edit/control Lagrangian output variables? If it is SprayParcelIO.C, where is the parcel diameter (d) outputted?

Question #2: If SprayParcelIO.C is the correct file to edit, do I need to add the name of my custom output variable in each section where I see other parcel variable names (like "user_", "d0_",etc) or only certain sections?

Question #3: After editing the appropriate file, how should I compile the code to include these edits?

Thanks in advance for your help!
Dear, have you found any solution to your questions? I am also interested.
hzw is offline   Reply With Quote

Reply

Tags
openfoam, post-processing., sprayfoam


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



All times are GMT -4. The time now is 16:07.