Gmsh

Gmsh (http://www.geuz.org/gmsh/)

Compile Gmsh

Common

  • CUI: ./configure --disable-gui
  • TetGen source code is not included in Gmsh source code. Download from the internet.

Cygwin

  • ./configure --enable-cygwin
  • CUI: remove '-mwindows' in variables

Save only Tetrahedral

add this line at the end: Physical Volume (..) = {..., ...};

Examples

Physical group

Background fields

Extrude


TetGen (http://tetgen.berlios.de/)

Command examples

  • Quality tetrahedralization of PLC:
tetgen -pq (input)
  • Assign automatically attributes to elements:
tetgen -pqAA (input)
  • Output in VTK:
tetgen -pqAAK (input)
  • Remesh with constraining a radius-edge ratio (ex. 1.4):
tetgen -rq1.4AAK (input)
  • Remesh with constraining a maximum volume:
tetgen -rq1.4a100AAK (input)
  • Remesh with constraining a minimum dihedral angle (ex. 10, max. 18):
tetgen -rq1.4q10a100AAK (input)
  • Remesh with the Steiner point removal algorithm:
tetgen -rq1.4q10a100YAAK (input)


この日記のはてなブックマーク数
最終更新:2009年12月15日 20:28
ツールボックス

下から選んでください:

新しいページを作成する
ヘルプ / FAQ もご覧ください。