Difference between revisions of "Model Samples"

From CD++
Jump to: navigation, search
Line 1: Line 1:
<table border="1" width="100%">
+
<table border="1" width="100%">
  <tr>
+
<tr>
 
     <td width="18%"><b>Name</b></td>
 
     <td width="18%"><b>Name</b></td>
 
     <td width="61%"><b>Description</b></td>
 
     <td width="61%"><b>Description</b></td>
 
   </tr>
 
   </tr>
  
  <tr>
+
  <tr>
 
     <td width="18%">2D-HEAT CONDUCTION</td>
 
     <td width="18%">2D-HEAT CONDUCTION</td>
     <td width="61%">This is an example of steady state 2-D heat transfer in a long bar of rectangular cross section. One side of the bar is insulated, the other exposed to a fluid at 25ºc.<br>
+
     <td width="61%">This is an example of steady state 2-D heat transfer in a long bar of rectangular cross section. One side of the bar is insulated, the other exposed to a fluid at 25ºc.</td>
      <a href="samples/2dheatconduction.zip">
+
      Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"></td>
+
 
   </tr>
 
   </tr>
  
 
   <tr>
 
   <tr>
 
     <td width="18%">2D-HEAT DIFFUSION</td>
 
     <td width="18%">2D-HEAT DIFFUSION</td>
     <td width="61%">Heat diffusion model in a surface. A cell can be connected to heat generator, a cold generator or none. A cell's temperature is measured as the average of its neighborhood.
+
     <td width="61%">Heat diffusion model in a surface. A cell can be connected to heat generator, a cold generator or none. A cell's temperature is measured as the average of its neighborhood. It's possible to see the cell's temperature in each step.
      It's possible to see the cell's temperature in each step.<br>
+
    </td>
      <a href="samples/2dheat_diffusion.zip">
+
      Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"></td>
+
 
   </tr>
 
   </tr>
  
Line 23: Line 19:
 
     <td width="18%">3D-HEAT DIFFUSION<br>
 
     <td width="18%">3D-HEAT DIFFUSION<br>
 
     </td>
 
     </td>
     <td width="61%">A heat diffusion model (as the one described above) but using three-dimensions.<br>
+
     <td width="61%">A heat diffusion model (as the one described above) but using three-dimensions.
      <a href="samples/3d_heatDiffusion.zip">
+
       Download model and sample</td>
       Download model and sample</a></td>
+
  
 
   </tr>
 
   </tr>
Line 31: Line 26:
 
   <tr>
 
   <tr>
 
     <td width="18%">3D-FREE FORM</td>
 
     <td width="18%">3D-FREE FORM</td>
     <td width="61%">This application studies free-form modeling the deformation of objects in 3D space.<br>
+
     <td width="61%">This application studies free-form modeling the deformation of objects in 3D space.
      <a href="samples/3dFreeForm.zip">
+
    </td>
      Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"></td>
+
  
 
   </tr>
 
   </tr>
 
     <tr>
 
     <tr>
 
     <td width="18%">Driven Diffusion</td>
 
     <td width="18%">Driven Diffusion</td>
     <td width="61%">Testing File<br>
+
     <td width="61%">Testing File
       [[http://134.117.53.107/mediawiki/models/DrivenDiffusion.ZIP Download]]
+
       [http://134.117.53.107/mediawiki/models/DrivenDiffusion.ZIP Download]</td>
      Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"></td>
+
 
+
  </tr>
+
  
 
</table>
 
</table>

Revision as of 14:39, 11 January 2008

Name Description
2D-HEAT CONDUCTION This is an example of steady state 2-D heat transfer in a long bar of rectangular cross section. One side of the bar is insulated, the other exposed to a fluid at 25ºc.
2D-HEAT DIFFUSION Heat diffusion model in a surface. A cell can be connected to heat generator, a cold generator or none. A cell's temperature is measured as the average of its neighborhood. It's possible to see the cell's temperature in each step.
3D-HEAT DIFFUSION
A heat diffusion model (as the one described above) but using three-dimensions. Download model and sample
3D-FREE FORM This application studies free-form modeling the deformation of objects in 3D space.
Driven Diffusion Testing File Download

 

There is a more detailed description of each model in the file README.TXT located in every subdirectory.

More information:

All of the above samples include:

FileName.MA: The model description file
FileName.EV (optional): external events file
FileName.LOG (optional): A log file generated by the simulator
FileName.DRW (optional): A file generated by the DRAWLOG tool, where the results can be seen in a matrix (only available with some cellular models)
FileName.VAL (optional): A file with initial values for the model
FileName.BAT: A script used to run the simulation with the correct parameters (Windows platforms only, but it can be simply modified to be used under other platforms). Generates a LOG file
FileNameDRW.BAT (optional): A script used to generate the .drw file

The DEVS models are written in C++, and includes :
NAME.CPP: The C++ source code file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!)
NAME.H: The C++ header file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!)