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

Fluent Scheme script to write results after iterations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2023, 13:02
Default Fluent Scheme script to write results after iterations
  #1
New Member
 
Giancarlo
Join Date: Aug 2022
Posts: 1
Rep Power: 0
Djunkie is on a distinguished road
Hello, thanks in advance to who'll help me solve this problem.

I'm doing a simulation about a diesel spray using the DPM model and my setup is mostly identical to the one you can find in Fluent Tutorial Guide.

I'm interested in writing in a text file the diameter and the axial velocity of the droplets that are contained in a certain volume of the domain (later I'll explain this better), and I want to do this every 20 iterations.

I know I can go to plots, create the desired plot and then select write to save them as text files, but I'd like to automate the entire process because there too many of these operations to be done manually.

My domain is 1/6 of a cylinder (like a slice of pizza prism) and the origin is located in the center of one of its bases, z is the axial coordinate. I want to write the diameter and the axial velocity of all the parcels contained in a volume defined by two planes parallel to the basis (I think this can be done using an if loop based on the axial coordinate) and then repeat this every 20 iterations (I think this can be done using a for loop).

While the code is quite simple I'm not able to write it because I have never used Scheme and I have found literally zero documentation about its applications on Fluent.

In the end I'm asking for help so if someone could be so kind to provide me this script I would appreciate it a lot. Otherwise if someone could provide me documentations to learn how to do it by myself I would appreciate it even more.

Best regards,
Giancarlo
Djunkie is offline   Reply With Quote

Reply

Tags
dpm, fluent, journal, scheme


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
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10
Help sought on axial compressor simulation jyotir OpenFOAM Running, Solving & CFD 0 November 17, 2021 11:49
Segmentation fault when using reactingFOAM for Fluids Tommy Floessner OpenFOAM Running, Solving & CFD 4 April 22, 2018 13:30
Free surface issues with interDyMFoam for hydroturbine oumnion OpenFOAM Running, Solving & CFD 0 October 6, 2017 15:05
pressure in incompressible solvers e.g. simpleFoam chrizzl OpenFOAM Running, Solving & CFD 13 March 28, 2017 06:49


All times are GMT -4. The time now is 12:10.