time series data

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

time series data

James
Featool multiphysics is really a good CFD software. While I can know the change of a variable with time from a plot in the GUI mode, may I extract the time series data in the .m code for further processing?
I tried using  c_data = { 'x', 'y', 'z','c','t'}; but it seems I can only extract the data at the end time point.
Reply | Threaded
Open this post in threaded view
|

Re: time series data

Precise Simulation
Administrator
You should be able to use the evalexpr function in m-file scripts and on the Matlab command line to evaluate expressions in any point and time:

https://www.featool.com/doc/evalexpr_8m.html
Reply | Threaded
Open this post in threaded view
|

Re: time series data

James
Thank you for your reply. During simulations, can we enforce variables to be greater than or equal to zero (e.g. for variable such as concentration). Although we can do it in the post-processing steps, it should have been done during simulations with time and space. Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: time series data

Precise Simulation
Administrator
James wrote
Thank you for your reply. During simulations, can we enforce variables to be greater than or equal to zero (e.g. for variable such as concentration). Although we can do it in the post-processing steps, it should have been done during simulations with time and space. Thank you.
In the future, please start a new post for unrelated questions/issues.

As for your question, yes, if you try the equations and boundary conditions should accept the same syntax as for postprocessing expressions. However, the solver might not like it as your equation now is quite non-linear and potentially very unstable/oscillating.