Extracting data in time-dependent problem

General discussions about how to formulate a script for FlexPDE.

Extracting data in time-dependent problem

Postby Ruben on Tue Oct 31, 2017 9:56 am

Dear moderator,

I use FlexPDE to solve a time-dependent problem and I want to extract some quantity values at each time step.
Using Report I got separated files, each with data from a particular time-step. How can I report a whole history in one file to have a table with the quantity at a corresponding time?

Best regards,
Ruben
Ruben
 
Posts: 11
Joined: Fri Feb 12, 2016 3:38 am

Re: Extracting data in time-dependent problem

Postby moderator on Tue Oct 31, 2017 1:08 pm

You can use a HISTORY plot to get the data at each time step. Use EXPORT or EXPORT FORMAT to save that data to a text file.
See example "Samples | Usage | Import-Export | Export_History.pde".
moderator
 
Posts: 686
Joined: Tue Jan 11, 2011 1:45 pm

Re: Extracting data in time-dependent problem

Postby Ruben on Wed Nov 01, 2017 4:13 am

Thank you a lot, it helps =)

Best,
Ruben
Ruben
 
Posts: 11
Joined: Fri Feb 12, 2016 3:38 am


Return to FlexPDE Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest