doc:user:geometry:import:tuto2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:geometry:import:tuto2 [2015/01/08 15:17] – boman | doc:user:geometry:import:tuto2 [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| {{: | {{: | ||
| - | Diue to historical reasons, the preprocessor of [[http:// | + | Due to historical reasons, the preprocessor of [[http:// |
| - | <note important> | + | <note important> |
| - | ===== BACON Part ===== | + | ===== BACON '' |
| - | + | ||
| - | ==== Input file description | + | |
| The example simulation consists of a sheared cube (lower and upper faces and fixed and moved one with respect to another). The figure below shows the geometry: | The example simulation consists of a sheared cube (lower and upper faces and fixed and moved one with respect to another). The figure below shows the geometry: | ||
| Line 18: | Line 16: | ||
| The BACON input file named '' | The BACON input file named '' | ||
| - | ==== Geometry ==== | + | __Geometry__ |
| The geometry is created with the following BACON commands (see BACON manual for details): | The geometry is created with the following BACON commands (see BACON manual for details): | ||
| Line 29: | Line 27: | ||
| * '' | * '' | ||
| - | ==== Mesh Generation ==== | + | __Mesh Generation__ |
| * Performed with '' | * Performed with '' | ||
| Line 36: | Line 34: | ||
| * An attribute number must then be defined. | * An attribute number must then be defined. | ||
| - | ==== Choice | + | __Choice |
| * The command '' | * The command '' | ||
| - | ==== Definition | + | __Definition |
| * The command '' | * The command '' | ||
| Line 46: | Line 44: | ||
| * Node selections will be used to define boundary conditions (fixations, contact, ...) in the Metafor model. | * Node selections will be used to define boundary conditions (fixations, contact, ...) in the Metafor model. | ||
| - | ===== What can be imported from BACON? | + | __Manual Creation of the '' |
| + | |||
| + | BACON can be started manually with the command: | ||
| + | |||
| + | samcef ba aleCubeCg n 1 | ||
| + | |||
| + | From the '' | ||
| + | INPUT | ||
| + | .SAUVE DB FORMAT | ||
| + | .STO | ||
| + | |||
| + | __Summary: | ||
| * Points | * Points | ||
| Line 59: | Line 68: | ||
| * "DAO -- Mesh" relations are not read again ('' | * "DAO -- Mesh" relations are not read again ('' | ||
| + | ===== Metafor input file ===== | ||
| - | ===== Creation of the '' | + | __Reading |
| - | + | ||
| - | BACON can be started manually with the command: | + | |
| - | + | ||
| - | samcef ba aleCubeCg n 1 | + | |
| - | + | ||
| - | From the '' | + | |
| - | INPUT | + | |
| - | .SAUVE DB FORMAT | + | |
| - | .STO | + | |
| - | + | ||
| - | ===== Conversion of the data into a Python script ===== | + | |
| In Metafor, the file '' | In Metafor, the file '' | ||
| Line 79: | Line 78: | ||
| bi.execute() | bi.execute() | ||
| | | ||
| - | where '' | + | where '' |
| If all goes well, a file '' | If all goes well, a file '' | ||
| - | ===== Element | + | __Element |
| The BACON attributes are converted to '' | The BACON attributes are converted to '' | ||
| Line 90: | Line 89: | ||
| interactionset.add(app) | interactionset.add(app) | ||
| | | ||
| - | ===== Boundary | + | __Boundary |
| Selections in BACON are translated into '' | Selections in BACON are translated into '' | ||
| Line 96: | Line 95: | ||
| <note important> | <note important> | ||
| - | |||
doc/user/geometry/import/tuto2.1420726678.txt.gz · Last modified: (external edit)
