diff --git a/CircuitCoupling/R_circuit.pro b/CircuitCoupling/R_circuit.pro index c93b64254e5510249146ae6b6c77bb473652bdfa..02afd17565dd48928a4f44917735dee2dadd8bfb 100644 --- a/CircuitCoupling/R_circuit.pro +++ b/CircuitCoupling/R_circuit.pro @@ -14,6 +14,13 @@ Run (button at the bottom of the left panel) ------------------------------------------------------------------- */ +// This example shows how to implement a circuit with discrete elements in a +// finite element simulation. Only lumped resistors, voltage- and +// current-sources are used. There are four separate cubes, each with a certain +// conductivity. The bottom of all cubes is kept at a constant voltage via the +// constraint Voltage_3D. The top of the cubes are connected with a circuit +// according the `R_circuit.jpg' schematic. + Include "R_circuit_common.pro"; // FEM domain group data diff --git a/Electrostatics/microstrip.geo b/Electrostatics/microstrip.geo index 8b791bd7c4d85bb152211e1bdb2f528a4b3e3375..ee8c8dfc688e969c151b430d542de3b1fdf8d0b1 100644 --- a/Electrostatics/microstrip.geo +++ b/Electrostatics/microstrip.geo @@ -1,13 +1,13 @@ /* ------------------------------------------------------------------- File "microstrip.geo" - This file is the geometrical description used by GMSH to produce - the file "microstrip.msh". + This file is the geometrical description used by Gmsh to produce + the mesh file "microstrip.msh" that is read by GetDP. ------------------------------------------------------------------- */ -/* Definition of some parameters for geometrical dimensions, i.e. - h (height of 'Diel1'), w (width of 'Line'), t (thickness of 'Line') - xBox (width of the air box) and yBox (height of the air box) */ +/* Definition of some parameters for geometrical dimensions, i.e. h (height of + 'Diel1'), w (width of 'Line'), t (thickness of 'Line') xBox (width of the air + box) and yBox (height of the air box) */ h = 1.e-3 ; w = 4.72e-3 ; t = 0.035e-3 ; xBox = w/2. * 6. ; yBox = h * 12. ; @@ -43,12 +43,12 @@ Line(11) = {5,7}; Line Loop(12) = {1, 2, -8, -9, 7}; Plane Surface(13) = {12}; Line Loop(14) = {10,-11,8,3,4,5}; Plane Surface(15) = {14}; -/* Definition of Physical entities (surfaces, lines). - The definition of Physical entities (Surfaces and Lines) - tells GMSH the elements and associated region numbers - that have to be saved in the mesh file 'microstrip.msh'. - For example, Region 111 is made of the triangle elements of the geometric surface 13, - whereas Region 121 is made of line elements of the geometric lines 9, 10 and 11. */ +/* Definition of Physical entities (surfaces, lines). The definition of + Physical entities (Surfaces and Lines) tells Gmsh the elements and associated + region numbers that have to be saved in the mesh file 'microstrip.msh'. For + example, Region 111 is made of the triangle elements of the geometric surface + 13, whereas Region 121 is made of line elements of the geometric lines 9, 10 + and 11. */ Physical Surface ("Air", 101) = {15}; Physical Surface ("Dielectric", 111) = {13}; diff --git a/ElectrostaticsFloating/floating.geo b/ElectrostaticsFloating/floating.geo index 8b791bd7c4d85bb152211e1bdb2f528a4b3e3375..88660c6acecc31642ab1c250ea14bf081ecc2b71 100644 --- a/ElectrostaticsFloating/floating.geo +++ b/ElectrostaticsFloating/floating.geo @@ -1,13 +1,10 @@ /* ------------------------------------------------------------------- - File "microstrip.geo" - - This file is the geometrical description used by GMSH to produce - the file "microstrip.msh". + File "floating.geo": copy of "microstrip.geo" from Tutorial 1 ------------------------------------------------------------------- */ -/* Definition of some parameters for geometrical dimensions, i.e. - h (height of 'Diel1'), w (width of 'Line'), t (thickness of 'Line') - xBox (width of the air box) and yBox (height of the air box) */ +/* Definition of some parameters for geometrical dimensions, i.e. h (height of + 'Diel1'), w (width of 'Line'), t (thickness of 'Line') xBox (width of the air + box) and yBox (height of the air box) */ h = 1.e-3 ; w = 4.72e-3 ; t = 0.035e-3 ; xBox = w/2. * 6. ; yBox = h * 12. ; @@ -43,12 +40,12 @@ Line(11) = {5,7}; Line Loop(12) = {1, 2, -8, -9, 7}; Plane Surface(13) = {12}; Line Loop(14) = {10,-11,8,3,4,5}; Plane Surface(15) = {14}; -/* Definition of Physical entities (surfaces, lines). - The definition of Physical entities (Surfaces and Lines) - tells GMSH the elements and associated region numbers - that have to be saved in the mesh file 'microstrip.msh'. - For example, Region 111 is made of the triangle elements of the geometric surface 13, - whereas Region 121 is made of line elements of the geometric lines 9, 10 and 11. */ +/* Definition of Physical entities (surfaces, lines). The definition of + Physical entities (Surfaces and Lines) tells Gmsh the elements and associated + region numbers that have to be saved in the mesh file 'microstrip.msh'. For + example, Region 111 is made of the triangle elements of the geometric surface + 13, whereas Region 121 is made of line elements of the geometric lines 9, 10 + and 11. */ Physical Surface ("Air", 101) = {15}; Physical Surface ("Dielectric", 111) = {13};