Skip to content
Snippets Groups Projects
Select Git revision
  • eeefe8a9f79bf35ca279b5c7933441a71393865e
  • master default protected
  • hierarchical-basis
  • alphashapes
  • bl
  • relaying
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • 3115-issue-fix
  • 3023-Fillet2D-Update
  • convert_fdivs
  • tmp_jcjc24
  • fixedMeshIF
  • save_edges
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

ModifyComponents.h

Blame
  • R_circuit.geo 902 B
    // Just 4 cubes
    
    Include "R_circuit_common.pro";
    
    lc = 0.25;      // Cjaracteristic length
    
    Point(1) = {0, 0, 0, lc};
    Extrude {1, 0, 0} {
      Point{1};
    }
    Extrude {0, 1, 0} {
      Line{1}; // Layers{10}; Recombine;
    }
    Extrude {0, 0, 1} {
      Surface{5}; // Layers{10}; Recombine;
    }
    Translate {2, 0, 0} {
      Duplicata { Volume{1}; }
    }
    Translate {0, 4, 0} {
      Duplicata { Volume{1}; }
    }
    Translate {2, 4, 0} {
      Duplicata { Volume{1}; }
    }
    
    Physical Surface(Cube1Top)              = {27};
    Physical Surface(Cube1Bottom)   = {5};
    Physical Surface(Cube2Top)              = {34};
    Physical Surface(Cube2Bottom)   = {29};
    Physical Surface(Cube3Top)              = {61};
    Physical Surface(Cube3Bottom)   = {56};
    Physical Surface(Cube4Top)              = {88};
    Physical Surface(Cube4Bottom)   = {83};
    
    Physical Volume(Cube1) = {1};
    Physical Volume(Cube2) = {28};
    Physical Volume(Cube3) = {55};
    Physical Volume(Cube4) = {82};