Fast Temperature Simulator, C-code interface for Matlab

Fast Temperature Simulator, C-code interface for Matlab

Leeor Alon

To compile the program you will have to go to the directory that the TempSim.cpp file is located in.

You the following to make the temperature simulator work in matlab:
1. Run “mex TempSim.cpp” in the matlab command window. You should get an output “MEX completed successfully.”
2. You are now ready to run the calculator using the following command line in matlab:

[T]=TempSim(C,K,R,Q,W,SAR,Tinitial,[dx, dy, dz],steps,dt,airtemp);

•    C is the 3d distribution of the heat capacity in units of J/kg/°C.
•    K is the 3d distribution of the thermal conductivity in units of W/m/°C.
•    R is the 3d distribution of the tissue density in units of kg / m3
•    Q is the 3d distribution of the metabolic energy generation term in units of W/m3.
•    W is the 3d distribution of the thermal perfusion coefficient in units of mL/100g/minute.
•    SAR is the 3d distribution of the specific absorption rate in units of Watts / kg
•    Tinitial is the 3d distribution of the initial temperature in units of Kelvin.
•    dx, dy, dz are the voxel sizes in the x, y and z directions, respectively, in units of meter.
•    steps is the number of steps in which the temperature simulation would run
•    dt is the time step of each step
•    airtemp is the temperature of air in units of Kelvin.

The fast simulation technique is based on the following reference: “Collins C M LW, Wang J, Gruetter R, Vaughan T V, Ugurbil K, B SM. Temperature and SAR calculations for a human head within volume and surface coils at 64 and 300 MHz. 2004;19(5):650.”


PLEASE NOTE: The software available on this page is provided free of charge and comes without any warranty. CAI²R and the NYU School of Medicine do not take any liability for problems or damage of any kind resulting from the use of the files provided. Operation of the software is solely at the user's own risk. The software developments provided are not medical products and must not be used for making diagnostic decisions.

The software is provided for non-commercial, academic use only. Usage or distribution of the software for commercial purpose is prohibited. All rights belong to the author (Leeor Alon) and the NYU School of Medicine. If you use the software for academic work, please give credit to the author in publications and cite the related publications.

7 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Important: If you don't receive the download link within few minutes, please check the SPAM folder of your e-mail account.



Latest Updates

06/23/2017 - 10:49
06/23/2017 - 10:42

Philanthropic Support

We gratefully acknowledge generous support for radiology research at NYU Langone Medical Center from:
• The Big George Foundation
• Raymond and Beverly Sackler
• Bernard and Irene Schwartz

Go to top