CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Use a Matlab script at each time step (https://www.cfd-online.com/Forums/fluent/162608-use-matlab-script-each-time-step.html)

jpina November 14, 2015 06:31

Use a Matlab script at each time step
 
Hello everybody,

I carry out a transient simulation and I have to carry out some calculations at each time step.

I am interested in using Matlab for carrying out this calculations. My other option would be to develop all the Matlab script in a UDF, what would be difficult since I don't have all the Matlab predefined algorithms (polyfit, fit, etc.).

How could I do it? I just want to give to Matlab the current 'time value' and obtain three polynomial coefficients, which I use for defining the velocity of the inlet boundary.

I will appreciate your help.


All times are GMT -4. The time now is 12:38.