-
-
September 14, 2018 at 10:18 pm
keishlaortiz
SubscriberHello,
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:
/file/read-case-data sce1_v8.cas
/solve/initialize/hyb-initialization
/file/auto-save/data-frequency 1
/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
exit
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 am
Rob
Ansys EmployeeWhat happens if you manually type in the command, ie type
/report/dpm-sample
v8
list of surfaces
etc
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 pm
keishlaortiz
SubscriberHi.
Thanks for the reply, however, that's how I got the TUI command (by troubleshooting them in ANSYS Fluent console) to write the journal file and still didn't work. However, I changed something in my model that will not require to get the results in the .dpm files.
-
December 3, 2019 at 11:56 pm
Geckoo
SubscriberI would also like to do dpm-sampling in batch mode. I do not receive an error message using
/solve/initialize/initialize-flow
/report/dpm-sample/inj130bar () outlet int_fluid () plane-x76 plane-x46 () yes no
/solve/iterate 199
However, I receive lots of plane-x76.dpm.n files. How do I get one merged report file?
-
December 4, 2019 at 9:41 am
Rob
Ansys EmployeeIf 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 pm
Geckoo
SubscriberMany of the files are empty and a few contain some thousand lines of data in the form
-4.60E-02
5.41E-03
7.99E-03
-2.08E+02
1.12E-01
-2.82E+00
3.65E-06
2.99E+02
1.82E-12
2.55E-14
7.12E+01
2.80E-04
2.80E-04
inj130bar:181)
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.

Ansys Blog
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
-
2508
-
2064
-
1277
-
1088
-
456
© 2023 Copyright ANSYS, Inc. All rights reserved.