doc:user:geometry:import:importgmsh
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:user:geometry:import:importgmsh [2015/01/08 10:45] – boman | doc:user:geometry:import:importgmsh [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Reading gmsh files ====== | ====== Reading gmsh files ====== | ||
| + | {{: | ||
| + | Meshes (files with extension '' | ||
| - | Geometry | + | The " |
| - | Several physical areas are defined in Gmsh, and correspond to various Metafor groups. The file must simply | + | In practice, the gmsh file (extension '' |
| - | | + | |
| - | importer = GmshImport(filename.msh, domain) | + | |
| - | importer.execute() | + | |
| + | |||
| + | | ||
| + | importer.setOpti(opti=True) | ||
| + | importer.setAlgo(algo=' | ||
| + | |||
| + | | ||
| - | If the file is a '' | + | with |
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | If the file extension | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | __Example:__ Element generation: | ||
| + | |||
| + | If the " | ||
| + | app1 = FieldApplicator(1) | ||
| + | app1.push( groupset(300) ) | ||
| + | interactionset.add( app1 ) | ||
| + | |||
| + | __Example:__ Boundary conditions: | ||
| + | |||
| + | Similarly, if the " | ||
| + | loadingset.define(groupset(200), | ||
| + | |||
| + | \\ | ||
| + | |||
| + | More Examples can be found in '' | ||
| - | importer.setOrder(ordre_des_elements) | ||
| - | importer.setOpti(True)# | ||
| - | importer.setAlgo(algo) | ||
| - | | ||
| - | Then, the right elementProperties must be associated to the Gmsh type of element. | ||
| - | Exampled can be found in '' | ||
doc/user/geometry/import/importgmsh.1420710353.txt.gz · Last modified: (external edit)
