Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Why the solution only saves result from the last study step?
Posted Feb 27, 2014, 6:29 p.m. EST Version 4.4 9 Replies
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
how and where did you define your different time steps?
Imagine that you need to investigate a time of 10s.
If you want to reduce dt in the first and last second you can use a range like this:
range(0 , 0.01 , 1) range (1 , 1 , 9) range(9 , 0.01 , 10)
Probably you use a wrong setup which overwrite your previous solutions.
Regards.
--
Marino Miccio
Chemical Engineer
marinomiccio.wix.com/home
Please login with a confirmed email address before reporting spam
Thanks!
Attachments:
Please login with a confirmed email address before reporting spam
I think that the problem is that you insert 2 different time steps.
Try to use only one (STEP 1) with the range set as in the picture and disabling STEP 2.
It should works now.
--
Marino Miccio
Chemical Engineer
marinomiccio.wix.com/home
Attachments:
Please login with a confirmed email address before reporting spam
You are right, it's easier to set it in your way.
If two different time steps are used in my original setup, in Solver configuration an extra Store Solution node should be added.
Please login with a confirmed email address before reporting spam
this is exactly what I was looking for. But I also need to join the data results (time dependent) into one "time serie". Is it possible? Thnaks you Matej.
Please login with a confirmed email address before reporting spam
If you set your time step in Study Settings as suggested by Marino, all the results of different steps will be in one solution. If you have to use two study steps, then you must add a "Store Solution #" step in your solver. In Results-Data Sets menu, you can right click and select Join to combine them together.
Also, now I realize it's not a good practice to control time step at the study step setting, because here it specifies the solutions to be stored. If you choose very small steps, the final file probably will be too large. Now I only specify those steps I want to store, and control time step size through Time Stepping in Solver settings.
Please login with a confirmed email address before reporting spam
I need more time steps because of different boundary cond. or different "values of variables not solved for". Did you try to join two data sets together? It looks to me like spatial join not join in time.
Please login with a confirmed email address before reporting spam
I am trying to simulate the stress in two steps. first from time t0 to t1 and second from t1 to t2. if I use only the first step and deactivate the second one it works but if I add the second step the results are gone including the time steps. and even the results for the second step is 9 order of magnitude higher than the expected ones. I have tried everything including adding a store solution step but still getting the time range for the second time step only and no results from the first one. Do you have any solution for this?
regards,
ali adli
Please login with a confirmed email address before reporting spam
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.