Model Samples

From CD++
Revision as of 14:39, 11 January 2008 by 134.117.53.107 (Talk | contribs)

Jump to: navigation, search
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!)