Difference between revisions of "Model Samples"
Line 62: | Line 62: | ||
<b><i>NAME.H</i></b>: The C++ header file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!) | <b><i>NAME.H</i></b>: The C++ header file of the NAME model. This file is needed to recompile the simulator properly (Download an example here!) | ||
</p> | </p> | ||
− | |||
− | |||
− | |||
− |
Revision as of 17:11, 30 November 2007
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.<a href="samples/2dheatconduction.zip">Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"> |
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.Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"> |
3D-HEAT DIFFUSION |
A heat diffusion model (as the one described above) but using three-dimensions.<a href="samples/3d_heatDiffusion.zip">Download model and sample</a> |
3D-FREE FORM | This application studies free-form modeling the deformation of objects in 3D space.<a href="samples/3dFreeForm.zip">Download model and sample</a> <img border="0" src="eyes_ready.jpg" width="40" height="24"> |
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!)