Post processing of particle relaxation time

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
lehongduc
Posts: 23
Joined: Thu Aug 20, 2015 3:05 pm

Post processing of particle relaxation time

Post by lehongduc »

Hello,

I'm using CSv4.0. I used subroutine "uslatp" to modify the drag coefficient and then the particle relaxation time "taup". I would like to visualize "taup" in post-processing on Eulerian mesh as a volume statistical variables. Is it possible? For me, I should set "nvlsts = 1" in uslag1.f90 but I don't know how to "call" the "taup" for post-processing and which source file I should use. Do you have any suggestion about this problem?

Thank you in advance,
Best regard,
LE Hong Duc
lehongduc
Posts: 23
Joined: Thu Aug 20, 2015 3:05 pm

Re: Post processing of particle relaxation time

Post by lehongduc »

Hello,

I founded the answers myself: I used uslag1.f90 to add statistical variable in post processing, then call the subroutine "uslatp" in subroutine "uslast" in cs_user_particle_tracking.f90 to calculate the cumulation of my statiscal variable . Finally, I used uslaen.f90 to calculate the final statistical post processing (by divise the cumulation calculated in "uslast" by the cumulation of particle weight).
Maybe the answers of my question could be interested.

Best regard,
LE Hong Duc
Post Reply