From KratosWiki
Revision as of 16:35, 18 September 2013 by Jcotela (Talk | contribs)
Jump to: navigation, search


Kratos Course 2013

Before we start

Usually, the Python interpreter can be called from command line. To execute the commands in a file, lets say, we can use the instruction


Exceptionally, for this course, we are using a non-standard python installation so, for today, download the following file [1] and copy it to your problem’s folder (for example, inside cylinder.gid)

To run a python script, on a command window, go to the model’s folder and type


First, we will create a new Python file to work on. To do this, we create a copyuse the default script ( to use as a starting point:


Open on a text editor.

A first Python example

Older stuff

Required components How to refine an existing triangular or tetrahedral mesh

Kratos Structure

Personal tools