1 Basic information
1.1 Introduction
This manual discusses how to use the pre-post processor GID
in combination with Tochnog.
GID is copyrighted by CIMNE (the International Center for Numerical Methods
in Engineering in Barcelona, Spain).
See the links at our homepage for the GID program.
The GID program is not covered by the GNU public license.
However, you don't pay anything if you only use a limited amount of
nodes and elements.
Usage of GID with an unlimited amount of nodes and elements
costs only a nominal amount.
1.2 Legal Issues
The GNU GENERAL PUBLIC LICENSE applies for Tochnog-GID (so not for GID itself).
It specifies COPYING conditions and a NO WARRANTY statement.
It is included in the Tochnog users manual,
and furthermore as a separate COPYING file in each distribution.
Realize that both my own written code and contributed code by others
is owned (via copyright) by Dennis Roddeman.
I do this with the explicit intention to make the code freely
available under the Gnu Public License.
It is setup this way because of logistics issues:
legal decisions or modifications to the code would
become completely unworkable if there were mixed copyrights.
However, I want to credit and give thanks to those people that
make the effort of creating code by maintaining a 'thanks to ...' section in the homepage.
You can also add 'Programmed by ...' comments in the code that you contribute.
If this is unacceptable for you, then don't contribute code.
1.3 Distribution files and installation
Suppose that giddir is the directory where you installed GID.
Make sure that the giddir is writable for you.
Make in giddir in the problemtypes directory
a new directory tochnog.gid.
Copy all files from the tochnog/gid/tochnog.gid directory
to the giddir/problemtypes/tochnog.gid directory.
For unix, take care that the tochnog.bat and tochnog.bas
files are executable (do a chmod +x if required).
1.4 Generate mesh from within GID
- Choose in GID data then Project type.
Choose tochnog.
- Generate a mesh in GID.
Use GID generation and generate to get a mesh.
Use GID generation and mesh view to see the mesh.
- Use Save as... in the File menu to save to a problemname.gid
directory (choose problemname something to match your problem, e.g. beam or so).
- Use the GID calculate menu to start the calculation.
The nodes and elements will be written to a
problemname.gid/problemname.dat file.
So please note that only nodes and elements will be written in preparation
for a tochnog input file.
Other data will not be written, and the gid calculate wil not start a real calculation.
You should take the nodes and elements, finish the tochnog input file with an editor
and then run tochnog in the usual way.
1.5 Plot results with GID
If you run the Tochnog calculation with the input file problemname.dat then
you can plot with the postprocessor of GID .
In gid version 5:
-
After a 2D calculation read the file problemname.flavia.dat.
- After a 3D calculation read the file problemname.flavia.msh.
In gid version 6:
-
After a 2D calculation read the file problemname.flavia.msh.
- After a 3D calculation read the file problemname.flavia.msh.
Be sure that not both of problemname.flavia.dat and problemname.flavia.msh
exist; GID gets a bit confused by that.