September 14, 2018 at 10:18 pmkeishlaortizSubscriber
I'm simulating the cardiovascular system on ANSYS, where my goal is to inject nanoparticles at certain locations in the cardiovascular system to see if it reaches the target area(s). I want to get the amount of nanoparticles trapped or escaped in certain boundaries. So far, I could get that information from the .dpm files generated for each inlet, outlet and arteries wall from Report/Discrete-Phase/Sample from the GUI since I can select the desired boundaries and injections. However, I would like to run multiple simulations from the command prompt using journal files but when I ran the command from journal: "/report/dpm-sample injection_name () "boundary1" "boundary2" ... "boundaryn" () () no yes" it's giving me an error indicating that the injection name is not a valid command. My question is what's the correct command to get the dpm-sample reports choosing the desired injections and boundaries?
My journal file looks like this:
/report/dpm-sample v8 () "wall-artery" "inlet1" "outlet1" "outlet2" "outlet3" "outlet4" "outlet5" "outlet6" "outlet7" "outlet8" "outlet9" "outlet10" "outlet11" "outlet12" "outlet13" "outlet14" "outlet15" "outlet16" "outlet17" "outlet18" "outlet19" "outlet20" "outlet21" "outlet22" "outlet23" () () no yes
v8 is the injection name, so far the previous commands work perfectly, the error is with the repot dpm sample command. Any help would be really appreciated. Thanks.
September 17, 2018 at 9:42 amRobAnsys Employee
What happens if you manually type in the command, ie type
list of surfaces
Trouble shooting TUI commands is best done this way, and on the model you're running as the commands can change slightly depending on models.
As an aside your journal will read the case, initialise, report DPM tracks and then close: it's not going to do anything else.
October 22, 2018 at 6:14 pmkeishlaortizSubscriber
December 3, 2019 at 11:56 pmGeckooSubscriber
I would also like to do dpm-sampling in batch mode. I do not receive an error message using
/report/dpm-sample/inj130bar () outlet int_fluid () plane-x76 plane-x46 () yes no
However, I receive lots of plane-x76.dpm.n files. How do I get one merged report file?
December 4, 2019 at 9:41 amRobAnsys Employee
If it works you should get one file, a .dpm.n extension suggests that something didn't quite work. What's in the file?
December 6, 2019 at 11:05 pmGeckooSubscriber
Many of the files are empty and a few contain some thousand lines of data in the form
That is the typical form I guess. I merged all the files in the windows cmd using
FOR %f IN (plane-x46*) DO type %f >> ..merge.txt & echo. >> ..merge.txt
- 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.
- 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.