Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documentation
tutorials
Commits
07deb705
There was a problem fetching the pipeline summary.
Commit
07deb705
authored
7 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
pp
parent
dc5ee46e
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CircuitCoupling/R_circuit.pro
+7
-0
7 additions, 0 deletions
CircuitCoupling/R_circuit.pro
Electrostatics/microstrip.geo
+11
-11
11 additions, 11 deletions
Electrostatics/microstrip.geo
ElectrostaticsFloating/floating.geo
+10
-13
10 additions, 13 deletions
ElectrostaticsFloating/floating.geo
with
28 additions
and
24 deletions
CircuitCoupling/R_circuit.pro
+
7
−
0
View file @
07deb705
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Electrostatics/microstrip.geo
+
11
−
11
View file @
07deb705
/* -------------------------------------------------------------------
File "microstrip.geo"
This file is the geometrical description used by G
MSH
to produce
the file "microstrip.msh".
This file is the geometrical description used by G
msh
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 1
1
1 is made of
the triangl
e 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 1
2
1 is made of
lin
e elements of the geometric
lines 9, 10
and 11. */
Physical
Surface
(
"Air"
,
101
)
=
{
15
};
Physical
Surface
(
"Dielectric"
,
111
)
=
{
13
};
...
...
This diff is collapsed.
Click to expand it.
ElectrostaticsFloating/floating.geo
+
10
−
13
View file @
07deb705
/* -------------------------------------------------------------------
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 1
1
1 is made of
the triangl
e 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 1
2
1 is made of
lin
e elements of the geometric
lines 9, 10
and 11. */
Physical
Surface
(
"Air"
,
101
)
=
{
15
};
Physical
Surface
(
"Dielectric"
,
111
)
=
{
13
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment