Discussion Forum

Saving data at prescribed time points

Topics: no topics

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   4 Replies   Last post: March 12, 2010 12:13pm UTC
Rami Tzafriri

Rami Tzafriri

March 11, 2010 5:32pm UTC

Saving data at prescribed time points

Hello,

I am planning to run a time-dependent simulation using the multi-physics module and was wondering if there is a way to save the data file only during the last time step of the simulation.

When I ran the simulation for 100 seconds after choosing free time step option, comsol saved the solution at so many different time points starting from 0 to 100 sec. I now have a comsol file that has solution data saved at atleast 10-20 time points within each second which resulted in a huge data file (~ 7 GB). If I increase the mesh size, then comsol is not even progressing until the end because the file exceeded the storage limit size in the /tmp directory.

I only want to save the solution let's say during the last time step only (i.e. from 99 sec - 100 sec) but want the solution to progress from 0 sec - 100 sec.

How can I define this setting?

Thanks.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Danial Tz

Danial Tz

March 11, 2010 6:05pm UTC in response to Rami Tzafriri

Re: Saving data at prescribed time points

To do so:

(1) select "specified times" (see http://grab.by/2ZuP ). This way it will only save the data points specified in (2)

(2) you can have two stepping period to save even less steps, and concentrate on the last steps. see http://grab.by/2Zv0

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Rami Tzafriri

Rami Tzafriri

March 11, 2010 11:37pm UTC in response to Danial Tz

Re: Saving data at prescribed time points

Does this mean that the data will be saved at the end of each second until the total time reaches from 0 to 99 sec and then the data starts saving at increments of 0.001 seconds from 99 to 100 sec?

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Danial Tz

Danial Tz

March 12, 2010 9:25am UTC in response to Rami Tzafriri

Re: Saving data at prescribed time points

I would imagine so.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Rami Tzafriri

Rami Tzafriri

March 12, 2010 12:13pm UTC in response to Danial Tz

Re: Saving data at prescribed time points

Thank you very much. I really appreciate it.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines