# Difference between revisions of "FlameModelling"

### From SYSOS

Line 5: | Line 5: | ||

[[Image:Figure1.JPG]] | [[Image:Figure1.JPG]] | ||

− | Three files can be used to simulate the | + | Three files can be used to simulate the response of this system. |

+ | * [http://www.eng.ox.ac.uk/~labap/flame/simsimplegeometry.m simsimplegeometry.m] contains all parameters and executes the simulation. | ||

+ | * [http://www.eng.ox.ac.uk/~labap/flame/sfunsimplegeometry.m sfunsimplegeometry.m] contains the s-function (for more details on how to write S-functions in MALTAB see MATLAB's user guide). There is a line in this code for switching between time-varying and fixed delays. | ||

+ | * [http://www.eng.ox.ac.uk/~labap/flame/mdlsimplegeometry.m mdlsimplegeometry.m] is the SIMULINK file. | ||

+ | |||

+ | For analyzing the results, and to find the mean over time, [http://www.eng.ox.ac.uk/~labap/flame/meanovtime.m meanovtime.m] is used. | ||

+ | |||

+ | Using these files, the response for omega = 160rad/s for the cases of fixed and time-varying delays is: | ||

[[Image:Omega150fixeddelay.jpg|frame|left|Fixed delay, omega = 160 rad/s.]][[Image:Omega150tvdelay.jpg|frame|right|Time-Varying delay, omega = 160 rad/s.]] | [[Image:Omega150fixeddelay.jpg|frame|left|Fixed delay, omega = 160 rad/s.]][[Image:Omega150tvdelay.jpg|frame|right|Time-Varying delay, omega = 160 rad/s.]] | ||

==More Complicated Geometry== | ==More Complicated Geometry== | ||

+ | |||

+ | Consider now the more complicated geometry shown below. | ||

+ | |||

[[Image:Figure2.JPG]] | [[Image:Figure2.JPG]] | ||

+ | |||

+ | For this case, we have the following MATLAB files. |

## Revision as of 12:32, 26 August 2008

## Simple Geometry

Consider the geometry shown in the figure below.

Three files can be used to simulate the response of this system.

- simsimplegeometry.m contains all parameters and executes the simulation.
- sfunsimplegeometry.m contains the s-function (for more details on how to write S-functions in MALTAB see MATLAB's user guide). There is a line in this code for switching between time-varying and fixed delays.
- mdlsimplegeometry.m is the SIMULINK file.

For analyzing the results, and to find the mean over time, meanovtime.m is used.

Using these files, the response for omega = 160rad/s for the cases of fixed and time-varying delays is:

## More Complicated Geometry

Consider now the more complicated geometry shown below.

For this case, we have the following MATLAB files.