doc:user:tutorials:tuto1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:tutorials:tuto1 [2015/02/13 12:07] – [Boundary Conditions] ziane | doc:user:tutorials:tuto1 [2016/07/11 16:45] (current) – [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 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 412: | Line 412: | ||
| | ||
- | Afterwards, the '' | + | Afterwards, the '' |
==== Curves Extraction | ==== Curves Extraction | ||
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.1423825649.txt.gz · Last modified: 2016/03/30 15:22 (external edit)