Hello dear colleagues,
Currently I am working on a model for reversed combustion of biomass using an Equilibrium model based on Gibbs Free Energy for the gas reactions. I have made a connection with Matlab using livelink. Unfortunely sometimes things go wrong for unclear reasons.
When I want to stop the simulation, it often takes hours and hours while it is apparently doing nothing. Why?
How to force COMSOL to stop without losing the solution?
Also, it seems sometimes Matlab gets a vector containing only NaN's and the script I made can't return anything useful then. Instead of just stopping, COMSOL completely disappears entirely, not a trace left. WHY?
In the log it says it can't find the matlab function. This is not true, it just can't handle the crap from COMSOL.
Why is COMSOL and everything with it completely removed from memory? It there a way to prevent this?
Thanks and kind regards,
Ray