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.
Time Dependent Solution
Posted 30 janv. 2010, 11:07 UTC−5 1 Reply
Please login with a confirmed email address before reporting spam
Hi Everyone,
I have one question regarding the time dependent solution. I want to export the time dependent problem into the Simulink and interface the "time" with simulink time. I am doing by writing a M-file in MATLAB with FEMLAB.
I want to divide the time in different interval of say: t=[0:1:10].
I want to simulate first from time t=0 to 1 & save the result to make the initial condition for the next simulation.
Then solve from t=1 to 2, with the initial condition of solution at t=1. And repeat the steps likewise.
I am looking for a good reference for solving the problem like this. Are there any example available which would help to understand the process ? I am doing this by scripting, not in COMSOL GUI because I have to interface this to Simulink by writing the Matlab function.
Please help me !!!
Thank you.
~Nirmal
I have one question regarding the time dependent solution. I want to export the time dependent problem into the Simulink and interface the "time" with simulink time. I am doing by writing a M-file in MATLAB with FEMLAB.
I want to divide the time in different interval of say: t=[0:1:10].
I want to simulate first from time t=0 to 1 & save the result to make the initial condition for the next simulation.
Then solve from t=1 to 2, with the initial condition of solution at t=1. And repeat the steps likewise.
I am looking for a good reference for solving the problem like this. Are there any example available which would help to understand the process ? I am doing this by scripting, not in COMSOL GUI because I have to interface this to Simulink by writing the Matlab function.
Please help me !!!
Thank you.
~Nirmal
1 Reply Last Post 31 janv. 2010, 08:34 UTC−5