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

Text command line for particle current position

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By mehrzad

Reply
 
LinkBack Thread Tools Display Modes
Old   January 28, 2015, 02:30
Default Text command line for particle current position
  #1
New Member
 
mehrzad
Join Date: Jul 2011
Posts: 23
Rep Power: 7
mehrzad is on a distinguished road
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.

Last edited by mehrzad; January 29, 2015 at 00:21.
mehrzad is offline   Reply With Quote

Old   April 15, 2015, 01:58
Default
  #2
New Member
 
Ali Naghi Ghasemi Bidar
Join Date: Feb 2015
Posts: 6
Rep Power: 3
alibidar12 is on a distinguished road
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.
alibidar12 is offline   Reply With Quote

Old   April 15, 2015, 05:33
Default
  #3
New Member
 
mehrzad
Join Date: Jul 2011
Posts: 23
Rep Power: 7
mehrzad is on a distinguished road
Quote:
Originally Posted by alibidar12 View Post
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.
alibidar12 likes this.
mehrzad is offline   Reply With Quote

Reply

Tags
command, dpm, line, text

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 6 July 14, 2016 15:26
current position of particles mehrzad FLUENT 17 October 16, 2014 08:00
Change current working directory with a text command? macfly FLUENT 1 May 7, 2014 01:39
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
How can I get the particle current position in UDF cfdfans FLUENT 4 April 2, 2001 05:03


All times are GMT -4. The time now is 02:09.