Skip to content
Snippets Groups Projects
Select Git revision
  • 5bc44c06d475044b1d39852c2ded7c22502d7dfd
  • master default protected
  • porenetwork-bachelor
  • preconditioner
  • release_cleanup
  • dd-2f1s-comparision
  • 2p_cahnhilliard_equation_a
  • example_2p_cahnhilliard_A
  • porenetwork
  • release/1.0 protected
10 results

rectangle_periodic.geo

Blame
  • rectangle_periodic.geo 398 B
    // mesh width associated with points
    lc = 0.015;
    
    Point(1) = {0, 0, 0, lc};
    Point(2) = {1.5, 0, 0, lc};
    Point(3) = {1.5, 0.75, 0, lc};
    Point(4) = {0, 0.75, 0, lc};
    
    Line(1) = {2,1};
    Line(2) = {3,2};
    
    Line(3) = {3,4};
    Line(4) = {4,1};
    
    Periodic Line {1} = {3};
    Periodic Line {2} = {4};
    
    Line Loop(100) = {-1,-2,3,4};  
    Plane Surface(200) = {100};
    Physical Surface(300) = {200};
    
    Mesh.Algorithm = 5;