March 11, 2022 at 5:28 amMahdiSubscriber
Is there any way that I can have Ansy Fluent to write the discrete phase sampling (Model specific---->Discrete phase-----> Sample) with certain frequency instead of every time step? For example, by adjusting
Thank you!March 11, 2022 at 9:08 amaitor.amatriainSubscriberAs far as I am concerned, the only option is to create an injection file.
March 11, 2022 at 11:15 amRobAnsys EmployeeCalculation Activities has an option for "flow time" so yes, you can. The only point to consider is that Fluent will estimate which time step is closest to that value: so you may find you're getting data at slightly off the desired value.
March 11, 2022 at 3:50 pmMahdiSubscriberHi Rob Calculation activities does not have any option for sampling DPM though, unless I ask it to send data to Ensight, but i want to have a file that can be read by Matlab for further processing there.
March 11, 2022 at 4:24 pmMarch 11, 2022 at 5:35 pmMahdiSubscriberThanks again Rob for your answer, but this only write the output once, and must be done manually. For a transient calculation, I need to write the position of the particles in certain frequencies like 50 time steps automatically.
March 14, 2022 at 2:17 pmRobAnsys EmployeeYes, or you can risk a GUI journal. We are working on the DPM post processing, and I'll add this into the request. If we've missed the command I'll add to the thread (if I can find it when I hear about it).
March 14, 2022 at 2:39 pmMahdiSubscriberThank you Rob! It will be so great if Ansys Fluent adds such flexibilities. Recording the trajectory of particles in each time steps makes huge files that are not possible to postprocess.
March 14, 2022 at 2:40 pmMahdiSubscriberThank you Aitor for your reply!
March 14, 2022 at 3:25 pmRobAnsys EmployeeWe do have the functionality, it's a conditional TUI command so if you don't the correct options it doesn't show up.
/display/set/particle-tracks report-to file
/display/set/particle-tracks/report-variables particle-x-position particle-y-position particle-z-position particle-diameter particle-x-velocity particle-y-velocity particle-z-velocity ()
list can be adjusted, but I assume you want to know where the particles are & how fast they're going () closes the list
/display/set/particle-tracks report-type step
/display/particle-tracks/particle-tracks particle-resid-timeinjection-0 () , ,
replace injection-0 with whatever your injection is called. The two commas are to accept a couple of defaults
You need the last /display line as the execute command, the other lines are to set up the output. Note, if you then display (via the GUI) you are resetting the output.
Viewing 9 reply threads
Ansys Innovation Space
- You must be logged in to reply to this topic.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.Trending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.