now I can use the command " track record=on echo=on ... " record the data of x,y,z,and time of each particle tracked to scalar field (RSF file) in the type of Part_number of particle_x or y or z or time, such as part_1_x. then I have to use the function "advanced input/output" under the "file" menu in GUI of Tascflow to write the data I need (from part_1_x, ... to part_100_time) into 400 files respectivlly :--( then I use ftp transfer these files to my computer to calculate the blood damage.
maybe you have found that all these work are repeatly. I mean in the procedure of output the data I need, what I do is: step1, click "advanced input/output" under the "file" menu in GUI; step2: in the window of advanced input/ouput, select RSF in type, write in operation, give a file name in file, such as part1x.dat, up to the data I write, region don't need to give or change, write the scalar name in Data fields, such as part_1_x, then click OK button, then one file named part1x.dat incluing the data of part_1_x was stored. after this, I go back to step1 to output part_1_y into part1y.dat. what I change are only the scalar data name and file name.
so I think there maybe some method such as macro or sth like .bat file in dos or a little program in unix can operate the RSF data directly and do the repeatly job for me, but I am not familiar with the command line type of Tascflow and Unix command, so could you give me some idea about these.
thanks in advance!
Re: advanced output
If you go to the Macro Manager under the Tools menu in the GUI. You can then type in a set of repeated commands you want to use. I used the macro below to read in transient data from the rso and then write the data to a rsf file for each iteration of my solution. See chapter 8 in the user manual for the specifics on using macros
$1 = is the argument statement when executing the macro aa = the number of iterations in my solution ii = a count that is performed to end the while loop once all of the iterations have been read and written.
-- Macro write_transient_to_rsf define parameter activeregion=center_line define parameter aa=$1 define parameter ii=1
while ($ii < $aa)
read rso iteration=$ii
write rsf rsf_fields="j t_solid" to /homedirectory/filename$ii.dat
echo Run $ii of $aa is complete
|All times are GMT -4. The time now is 18:26.|