doc:user:geometry:import:importgmsh
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| doc:user:geometry:import:importgmsh [2013/07/12 14:56] – created joris | doc:user:geometry:import:importgmsh [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Import Gmsh ==== | + | ====== |
| + | {{: | ||
| + | Meshes (files with extension '' | ||
| - | Il est possible d' | + | The " |
| - | Différents régions physiques sont définis dans gmsh qui correspondent à différents groupes Metafor, il suffit d'importer le fichier dans Metafor | + | In practice, the gmsh file (extension '' |
| - | | + | |
| - | importer = GmshImport(filename.msh, domain)#ou importer = GmshImport(filename.geo, domain) | + | |
| - | | + | |
| + | |||
| + | | ||
| + | importer.setOpti(opti=True) | ||
| + | importer.setAlgo(algo=' | ||
| + | |||
| + | importer.execute() | ||
| + | |||
| + | with | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | | '' | ||
| + | |||
| + | If the file extension is '' | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | __Example: | ||
| + | |||
| + | If the " | ||
| + | app1 = FieldApplicator(1) | ||
| + | app1.push( groupset(300) ) | ||
| + | interactionset.add( app1 ) | ||
| + | |||
| + | __Example: | ||
| + | |||
| + | Similarly, if the " | ||
| + | loadingset.define(groupset(200), | ||
| + | |||
| + | \\ | ||
| + | |||
| + | More Examples can be found in '' | ||
| - | Si le fichier est un fichier geo, on peut executer gmsh avec les options suivantes (cfr [[commit: | ||
| - | importer.setOrder(ordre_des_elements) | ||
| - | importer.setOpti(True)# | ||
| - | importer.setAlgo(algo) | ||
| - | | ||
| - | Il faut ensuite associer le bon elementProperties au type d' | ||
| - | Des exemples sont disponibles dans '' | ||
doc/user/geometry/import/importgmsh.1373633817.txt.gz · Last modified: (external edit)
