\gdef\putwordsee{see}
\input gid_base.tex
\input psfig.sty
\pssilent %\psnoisy
\hoffset=1.52cm
\input texinfo @c -*-texinfo-*-

@tex

\def\verysmallbook{
  \global\chapheadingskip = 15pt plus 4pt minus 2pt
  \global\secheadingskip = 12pt plus 3pt minus 2pt
  \global\subsecheadingskip = 9pt plus 2pt minus 2pt
  %
  \global\lispnarrowing = 0.3in
  \setleading{12pt}
  \advance\topskip by -1cm
  \global\parskip 2pt plus 1pt
  \global\hsize = 5.5in
  \global\vsize=6in
  \global\tolerance=700
  \global\hfuzz=1pt
  \global\contentsrightmargin=0pt
  \global\deftypemargin=0pt
  \global\defbodyindent=.5cm
  %
  \global\pagewidth=\hsize
  \global\pageheight=\vsize
  %
  \global\let\smalllisp=\smalllispx
  \global\let\smallexample=\smalllispx
  \global\def\Esmallexample{\Esmalllisp}
  \global\hoffset=1.75cm
}

\verysmallbook

@end tex


@c To update all in emacs use: C-u C-c C-u m
@c to get a gid.info file without running makeinfo try: C-c C-e C-b


@c %**start of header
@setfilename ptype.info
@settitle About GiD customization: creating a Problem Type
@paragraphindent 3
@iftex
@c @smallbook
@c @afourpaper
@c @finalout   ---to avoid black squares in hboxes (long lines)---
@finalout
@end iftex
@c %**end of header ptype.texinfo

@setchapternewpage odd

@set photo



@ifinfo
Copyright 1997-2000 CIMNE
@end ifinfo

@titlepage
@title About GiD customization: Creating a Problem Type
@c The following two commands start the copyright page.
@page
@vskip 0pt plus 1filll

Copyright @copyright{} 1997-2000 CIMNE

@url{http://www.gidhome.com}

@end titlepage

@iftex
@headings off
@end iftex
@menu
* GiD customization features::  
* About Problem Types::         
* How to learn the GiD Problem Type configuration::  
@end menu
@node Top, GiD customization features, (dir), (dir)
@comment node-name, next, previous, up



ABOUT GiD CUSTOMIZATION: CREATING A PROBLEM TYPE



The GiD interface can be customized so that the user may easily include their own in-house application modules within it and tailor the menuīs and data input to the specific needs of their area of interest such as structural engineering, fluid dynamics or industrial forming processes.

GiD customization is accomplished through the creation of a @b{Problem type}. A problem type is a collection of text formatted files; with these files GiD can prepare data to be analyzed.




@menu
* GiD customization features::  
* About Problem Types::         
* How to learn the GiD Problem Type configuration::  

@detailmenu
 --- The Detailed Node Listing ---



* GiD customization features::  
* About Problem Types::       
* How to learn the GiD Problem Type configuration::  





@end detailmenu
@end menu







@node GiD customization features, About Problem Types, Top, Top
@chapter GiD customization features




GiD offers the following customization features: 

@itemize @bullet
@item Complete menuīs can be customised and created to suit the specific needs of the userīs simulation software. 
@item Simple interfaces can be developed between the data definition and the simulation software. 
@item Simple interfaces based on scalar, vector and matrix quantities can be developed for the results visualisation. 
@item Menus for the results visualisation can be customised and created according to the needs of the application or analysis.
@end itemize 

The customization in GiD is done by creating a @b{Problem Type}. 



@node About Problem Types, How to learn the GiD Problem Type configuration, GiD customization features, Top
@chapter About Problem Types


When GiD is to be used for a particular type of analysis, it is necessary to predefine all the information required from the user and to define
the way the final information is given to the solver module. The communication between GiD and the solver module is done with text files. 

We call @b{Problem Type} to this this collection of files used to configure GiD for a particular type of analysis.


@ifset photo
@tex
\inifigura
\centerline{\hbox{
\psfig{figure=images/customization.ps,width=13.78cm,height=8.96cm,angle=0}
}}
\unpie{}
{
}
\finfigura
@end tex

@ifset html
@ifhtml
<P><BR></P>
<center>
<img src="images/customization.gif"> 

</center>
<p>
@end ifhtml
@end ifset

@end ifset

@example
@end example

The files that configure a @b{Problem Type} are:

@itemize @bullet

@item @b{directory name}: @code{problem_type_name.gid} 

@example
@end example

@item @b{directory location}: @code{c:\a\b\c\GiD_directory\problemtypes}

@example
@end example 
@b{NOTE:} In versions previous to 6.0 the @code{problemtypes} directory does not exist, so your problem type must reside in the @code{GiD_directory}. In versions later to 6.0 it's recommended to put your problem type inside the @code{problemtypes} directory.

@example
@end example


@item  @b{Configuration files}
@itemize @minus
@item @code{problem_type_name.@b{cnd}  Conditions definitions}
@item @code{problem_type_name.@b{mat}  Materials properties }
@item @code{problem_type_name.@b{prb}  Problem and intervals data} 
@item @code{problem_type_name.@b{uni}  Units Systems}   
@item @code{problem_type_name.@b{sim}  Conditions symbols }
@item @code{                   ***.@b{geo}  Symbols geometrical definitions}
@item @code{                   ***.@b{geo}  Symbols geometrical definitions} ...
@end itemize

@example
@end example

@item @b{Template files}
@itemize @minus
@item @code{problem_type_name.@b{bas}  Information for the data input file}
@item @code{                  ***.@b{bas}  Information for additional files}
@item @code{                  ***.@b{bas}  Information for additional files} ... 

@end itemize

@example
@end example

@item @b{Command execution files}
@itemize @minus
@item @code{problem_type_name.@b{bat}  Operating system shell that executes the analysis process}
@end itemize


@example
@end example

@item @b{TCL extension files}
@itemize @minus
@item @code{problem_type_name.@b{tcl}  Extensions to GiD written in the TCL-TK programming language}

@example
@end example

@end itemize 
@b{NOTE:} The TCL extension files might be used to add expandability and total control to your problem type. With the TCL/TK language it is possible to add new windows, menus or new functionalities to the program. 

@example
@end example



@end itemize 

@node How to learn the GiD Problem Type configuration,  , About Problem Types, Top
@chapter How to learn the GiD Problem Type configuration


To learn how to configure GiD for a particular type of analysis, you can:
@itemize @bullet

@example
@end example 

@item follow the @b{Problem Type Tutorial}; this tutorial is included with the GiD package you've bought. You can also download the tutorial from the GiD web page. @url{http://www.gidhome.com/support}
@example
@end example


@item read the online help in GiD (or the printed Reference Manual). 

@example
@end example

@item study and modify the Problem Type's included in GiD by default. 
These Problem Types are:

@example
@end example


@itemize @minus


@item @b{cmas2d:} This is the problem type created in the tutorial, which finds the distance of each element relative to the center of masses of a two-dimensional surface. It uses the following files: @code{.cnd}, @code{.mat}, @code{.prb}, @code{.bas} and @code{.bat}. There is a help file inside
directory @b{cmas2d.gid} called @b{cmas2d.html}


@item @b{rambshell:} This is a problem type which performs the structural analysis of either beams or shells or a combination of both using the Finite Element Method. This problem type uses the latest features offered by GiD version 6. It uses the following files: @code{.cnd}, @code{.mat}, @code{.prb}, @code{.bas}, @code{.tcl}, @code{.geo}, @code{.sim}, @code{.unix.bat} and @code{.win.bat}. The @code{.exe} file for Windows systems is also included in a limited version. It can also be executed for Linux with libc6 (glibc). For the full version without limitations check @url{http://www.gidhome.com/ram-series}. 

@item @b{Dxfout:} This is a very simple Problem Type which exports a @code{project_name.dat} file in the @code{dxf} file format. It only has the @code{.bas}, @code{.prb} and @code{.mat} files.

@item @b{problem_type_solid1:} This is the interface of what it could be a structure-calculating module. It contains the @code{.cnd}, @code{.mat}, @code{.prb}, @code{.sim}, @code{.bas} and @code{.bat} files.

@item @b{problem_type_solid2:} Same as @b{problem_type_solid1} with a different interface.

@item @b{problem_type_thermo_mec:} This is the interface of what it could be a thermo-mechanical module. It has programation in TCL-TK language. It uses the following files: @code{.cnd}, @code{.mat}, @code{.prb}, @code{.sim}, @code{.bas} @code{.bat} and @code{.tcl}.




@end itemize
@end itemize

@iftex
@headings off
@end iftex
@contents
@bye

