doc:user:tutorials:tuto1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:user:tutorials:tuto1 [2015/02/12 17:18] – [Boundary Conditions] ziane | doc:user:tutorials:tuto1 [2016/07/11 16:42] – [Temporal Integration] boemer | ||
---|---|---|---|
Line 49: | Line 49: | ||
The first line imports the Python/C++ interface of Metafor (called '' | The first line imports the Python/C++ interface of Metafor (called '' | ||
- | The '' | + | The '' |
metafor = Metafor() | metafor = Metafor() | ||
domain = metafor.getDomain() | domain = metafor.getDomain() | ||
- | The main object of the module | + | The main object of the module is now created as an instance of the '' |
The analysis will then handle data from this domain to, for example, integrate temporally over its evolution equations. | The analysis will then handle data from this domain to, for example, integrate temporally over its evolution equations. | ||
Line 134: | Line 134: | ||
* Bigger objects which require more arguments, like curves, are defined using a temporary object, which is filled and copied. For example, a curve is created by first defining a line (see below). | * Bigger objects which require more arguments, like curves, are defined using a temporary object, which is filled and copied. For example, a curve is created by first defining a line (see below). | ||
- | In this example, '' | + | In this example, '' |
Line 229: | Line 229: | ||
The meshers ([[doc: | The meshers ([[doc: | ||
- | As for the geometry, it is recommended to visually check whether the piece was meshed properly by opening a '' | + | As for the geometry, it is recommended to visually check whether the geometry |
Line 354: | Line 354: | ||
- | Setting fixed ends or displacements is done is the same way as the definition of points in the geometry, with the single '' | + | Setting fixed ends or displacements is done in the same way as the definition of points in the geometry, with the single '' |
==== Contact ==== | ==== Contact ==== | ||
Line 388: | Line 388: | ||
The deformable entity is specified with the command '' | The deformable entity is specified with the command '' | ||
- | It should be noted that the contact interaction number must be different | + | It should be noted that the contact interaction number must be different |
==== Temporal Integration ==== | ==== Temporal Integration ==== | ||
The description of this model is now over. What is left to consider is the way the '' | The description of this model is now over. What is left to consider is the way the '' | ||
- | Many options are available, however the simplest one is chosen here, which is a quasi-static integration (where the inertia is neglected). What remains to define | + | Many options are available, however the simplest one is chosen here, which is a quasi-static integration (where the inertia is neglected). What remains to be defined |
Line 419: | Line 419: | ||
valuesmanager = metafor.getValuesManager() | valuesmanager = metafor.getValuesManager() | ||
valuesmanager.add(1, | valuesmanager.add(1, | ||
- | valuesmanager.add(2, | + | valuesmanager.add(2, |
The first line fetches the '' | The first line fetches the '' |
doc/user/tutorials/tuto1.txt · Last modified: 2016/07/11 16:45 by boemer