CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Text command line for particle current position (https://www.cfd-online.com/Forums/fluent/147715-text-command-line-particle-current-position.html)

mehrzad January 28, 2015 01:30

Text command line for particle current position
 
Hello dear cfd-online.com friends
I am simulating a unsteady case of DPM in fluent and i need to extract the position of particle after each time step. i can save the data file via calculation activity and then extract the current postion of particle for each time step which need a lot effort an it's exhausting when the number of time step is too large. is there any way to create a macro to extract and write to the file the current position to a "his" file via text command line?
i want to save each file with name contain the associate time step.
for example for 0.1 time step
particle-0.1.his
particle-0.2.his
particle-0.3.his
and so on ...
I can access by the graphical display but it overwrite the previous time step file because it can not assign the new name to it.

alibidar12 April 15, 2015 01:58

hi mehrzad i simulate unsteady dpm.
can you help me for start and stop time in dpm.
i have trouble with this.
are you iranian?
thanks a lot.

mehrzad April 15, 2015 05:33

Quote:

Originally Posted by alibidar12 (Post 541778)
hi mehrzad i simulate unsteady dpm.
can you help me for start and stop time in dpm.
i have trouble with this.
are you iranian?
thanks a lot.

what about the start stop time?
the start time indicate the time that particle injected in domain for example
you want to inject particle in 2nd second you set the start time"2" and you want to stop the injection at 3rd second you set the stop time "3" in this period 1s the particle will be inject to the domain on the time step you set before.
yes I'm from Iran.
feel free to contact me through private message any time.


All times are GMT -4. The time now is 14:39.