Skip to content
Snippets Groups Projects
Select Git revision
  • 73ef42f15a83e482950f5e205c61b5bb07649da5
  • master default protected
  • clem_dev
  • clem_dev_corrected
  • kokkos
  • devel
  • bcast_debug
  • MC/high_order_geometry
  • MC/mpi_nonblocking
  • MC/multigpu
  • MC/lifting_oneshot
  • MC/physent
  • curls_marco
  • MC/gefpg_lua_binding
  • emdant/dg-cherry-pick-8f1f09f5
  • v0.3.0
  • v0.2.0
  • v0.1.0
18 results

capacitor.geo

Blame
  • capacitor.geo 492 B
    R = 0.01;   // disk radius
    d = 0.001;  // dielectric thickness
    t = 0.0003; // disk thickness
    
    SetFactory("OpenCASCADE");
    Mesh.Algorithm3D = 10;
    
    Cylinder(1) = {0, 0, d/2, 0, 0, t, R};
    Cylinder(2) = {0, 0, -d/2, 0, 0, d, R};
    Cylinder(3) = {0, 0, -d/2-t, 0, 0, t, R};
    Sphere(4) = {0, 0, 0, 2*R, -Pi/2, Pi/2, 2*Pi};
    Coherence;
    
    Physical Volume(1000) = {1, 3};
    Physical Volume(1001) = {2};
    Physical Volume(1002) = {4};
    
    Physical Surface(2000) = {1};
    
    MeshSize{ PointsOf{ Volume{2}; } } = 0.0003;