[Gfs-devel] reading the flow-filed from previous gfs simulation results files at fixed time intervals and use them for tracer dispersion

8 views
Skip to first unread message

Pramod Kumar

unread,
Jul 5, 2017, 7:33:06 AM7/5/17
to gfs-...@lists.sourceforge.net, gfs-...@lists.sourceforge.net
Dear all,

I have some saved gerris results files (e.g. "results_time_N.gfs", where N = 0.5, 1.0, 1.5, 2.0, ......) at a fixed time interval (e.g. 0.5 s) from a previous gfs simulation. In a new simulation, I want to read U, V, W variables from these saved simulation results files at a fixed time interval (e.g. 0.5 s). I want to use these U, V, W values for a tracer dispersion in the same domain so that I do no have to solve again for the flow-filed from gerris. For this I can replace the 'GfsSimulation' with 'GfsAdvection' in a starting result file and can solve for the tracer dispersion only with constant flow with respect to time. But in order to change the flow-filed at a fixed time interval, I need to read these saved gerris results files for U, V, W and replace the previous U, V, W values from the new ones.  Can anyone please suggest me how to read these .gfs results file for flow-field at the fixed time intervals and use them in the gerris script to replace the previous flow?  I think if we could read these result files, we can use them in Init{} to replace the previous U, V, W with new values at each time interval? 

I have searched for answers but couldn't find any. Hope someone can help me.
Thanks in advance :)
Pramod
--
Dr. Pramod Kumar 
Laboratoire de Mecanique et Energetique d'Evry (LMEE),
Universite d'Evry-Val d'Essonne
40 Rue du Pelvoux, Evry Cedex-91020, France
Reply all
Reply to author
Forward
0 new messages