SlideShare a Scribd company logo
1
International Journal of Applied Sciences and Innovation
Vol. 2015, no. 1, pp. 1-9
ISSN: 2458-6501
Copyright © Infinity Sciences
GNU Octave for 3D Using Cubic Elements
Brahim ESSAKHI
ASTEK, Boulogne-Billancourt, France
Email: bessakhi@astek.fr.
Abstract- This paper presents a finite element model using cube elements to characterize electromagnetic field. The
modeling approach uses an optimized solution via edge element method. This work shows that the computational
cost is significantly reduced. The computational aspect is guaranteed by GNU Octave, a high-level interpreted
language primarily intended for numerical computations. GNU Octave provides capabilities for the numerical
solution of linear and nonlinear problems. It also provides extensive graphics capabilities for data visualization and
manipulation.
Keywords: GNU Octave, Maxwell equations in frequency domain, Finite element method.
I. INTRODUCTION
A variety of numerical methods have been proposed for computing the electromagnetic properties in frequency
and time domain as finite element method (FEM), finite difference (FD), method moment (MM), boundary integral
method (BIM). The FEM remains the most used one and this is due to its ability to incorporate the different types of
boundary conditions and to model the inhomogeneous material with complicated geometry and properties [1, 2, 3,
4].
This work uses GNU Octave [5] software to perform an efficient electromagnetic study using cubic finite
element [6,7]. The use of edge elements is an efficient method way to solve this kind of problem [8, 9, 10]. Octave
is a high-level interpreted language, essentially, intended for numerical computations. It provides capabilities for the
numerical solution of linear and nonlinear problems. Octave provides a rich graphics capabilities for data
visualization. It is used through an interactive command line interface (CLI), and it can also be used as programming
language using the non-interactive programs. The Octave aspect is quite similar to Matlab so that most programs are
easily portable.
Octave is freely redistributable software, used for intensive numerical computation with an interactive
environment that is compatible with Matlab. It is customizable with user-defined functions written in Octave's
language or C++, C, Fortran or others [13].
A waveguide [11, 12] is an electromagnetic transmission line used in microwave communications,
broadcasting, and radar installations. A waveguide consists of a rectangular or cylindrical metal tube or pipe. The
electromagnetic field propagates lengthwise.
An electromagnetic field (E,H) can propagate along a waveguide in various ways. Two common modes are
known as transverse-magnetic (TM) and transverse-electric (TE). This paper demonstrates the efficiency of cubic
element to analyze such structures using minimum of elements and computational resources via GNU Octave free.
The remainder of this paper is organized as follows. In Section 2, we introduce the 3D Maxwell problem mixed
FEM. In Section 3, we give the cubic formulation of the posed problem. In section 4 some numerical results and
finally the main conclusions in last section.
B. Essakhi / International Journal of Applied Sciences and Innovation
2
II. 3D MAXWELL PROBLEM
Figure 1: Transmission line containing three domains. The length, l=15cm
We consider the 3D problem of a waveguide transmission line. It consists of two parallel conducting plates of
width a separated by height b by a dielectric material containing three domains ( , ), = 1,2,3. Example of such
line a can be used as a microstrip line in the context of microwave integrated circuits.
For a full wave analysis we deal with the Maxwell equations in the frequency domain:
∇ × = (1)
∇ × = + (2)
Where = , the electric field intensity, the magnetic field intensity, the magnetic field flux, the electric
field flux and , the is the current.
The constitutive relations are given by:
B = μH (3)
D = εE (4)
The Ohm law gives:
J = σE (5)
From (1-5), we establish the vector wave equation in terms of the electric field :
∇ × × + ( + ) = − (6)
A computation using the finite element method is performed in a finite. In order to truncate the volume of the
computational domain the Silver-Müller condition is applied as an absorbing boundary condition. It is given by:
n × ∇ × =
where is the wave number in free space and is the tangential electric field on the outer boundary surface.
This ABC preserves the sparsity and symmetric features of the final matrix. It is exact for normal incidence.
Let denote  the computational domain and  the outer boundary. As usual with FEM, we define the space of the
work:
= { ∈ ( (Ω)) ,∇ × ∈ ( (Ω)) }
A weak formulation of the problem is obtained after multiplying the vector wave equation by a test function F in V:
〈 ( + ) , 〉 +〈 ∇ × , ∇ × 〉 +〈 , 〉 = 0 (9)
B. Essakhi / International Journal of Applied Sciences and Innovation
3
Where , denotes the scalar product in V.
To solve the system (9) numerically, the domain is discretized with cubic elements. The electric field can be written
in terms of basis functions associated with the edges of these elements:
= ∑ , ,
Using test function the same as interpolation functions (Galerkin method) and supposing that = 0, we get the
following system:
= 0,
= + + ℝ,
= ( , ) ,
Where , , is defined as circulation of the electric field along the edge { , }, which is the path between two nodes
i and j:
, = ∫{ , }
,
The matrices are defined by:
{( , ),( , )} = 〈 ⃗ , , ⃗ , 〉
{( , ),( , )} = 〈( ) ⃗ ,
,
, ⃗ ,
,
〉
ℝ{( , ),( , )} = 〈 ∇ × ⃗ , , ∇ × ⃗ , 〉
In the above, matrices entry comes from edge ( , ) and edge ( , ).
III. CUBIC FEM FORMULATION
Let us Ccnsider a cubic element given in Fig. 2, whose side length is L and whose center is at (xc, yc).
Figure 2: Oriented cubic element, 6 faces 12 edges and 8 nodes.
The cubic edge element can be written as follow [1]:
, =
1
+
2
− +
2
− ,
B. Essakhi / International Journal of Applied Sciences and Innovation
4
, =
1
+
2
− − +
2
+ ,
, =
1
+
2
− +
2
− ,
, =
1
+
2
− − +
2
+ ,
, = + − + − ̂ ,
, =
1
+
2
− − +
2
+ ̂,
, =
1
− +
2
+ +
2
− ,
, =
1
− +
2
+ − +
2
+ ,
, =
1
− +
2
+ +
2
− ,
, =
1
− +
2
+ − +
2
+ ,
, =
1
− +
2
+ +
2
− ̂,
, =
1
− +
2
+ − +
2
+ ̂,
IV. NUMERICAL EXAMPLE
The transmission line the length l=15cm is excited by a plane wave (z)=1. on = 0 surface, where k is
the wave number, and z the direction of wave propagation. The frequency used in this study is f=2.45 GHz. The
finite element mesh for this example was generated by our own 3D mesh generator. We note that
If we take the permittivity and the permeability of the studied domain = = = 1 and = = = 1 (the
vacuum), and , = = = 5 . The figure 3 represents the mesh of the studied which contains 244 nodes, 484
edges and 60 elements. Fig. 4 and Fig. 5 represent modulus of electric field and the magnetic field respectively for
as function of z. The obtained results are compared with analytical ones. As we can see from these figures, we obtain
the same results for different value of z.
B. Essakhi / International Journal of Applied Sciences and Innovation
5
Figure 3: The mesh for waveguide, with 244 nodes, 484 edges and 60 elements.
Figure 4: The modulus of electric field.
Figure 5: The modulus of magnetic field.
B. Essakhi / International Journal of Applied Sciences and Innovation
6
V. SPARSITY OF MATRICES
A. Elementary matrices
The elementary matrices are 12 by 12 matrices, because of 12 nodes in the cube.
Figure 6: Sparsity pattern of the elementary matrices
B. Global matrices
The global matrices are really sparse. This, sparsity corresponds to systems which are loosely coupled. The Sparse
matrices have significant advantages in terms of computational efficiency. Using sparse matrices to store data can
both save a significant amount of memory and speed up the processing of that data.
Figure 7: Sparsity pattern of the global matrices: , and ℝ
VI. CONCLUSION
The cubic elements discretize the Maxwell wave equations. The solution is efficient an accurate. The problem is
optimized using spare matrices.GNU Octave gives a good tool to study a complexe FEM problem, and offer good
alternative of open source software.
B. Essakhi / International Journal of Applied Sciences and Innovation
7
APPENDIX
A. The mesh- How-to
Technically, the cube element is represented in (Fig. 10).
Figure 8: The cube
The matrix A, allows managing the nodes of the cube element. The following script shows how to store node
number and the position of each node in the cube, and finally in the whole mesh, where Dx and Dy are the
discretisation
 Nodes
iNode=1;
for ix=1:Nx+1
for iy=1:Ny+1
A(ix,iy,1)= iNode;
Node.x(iNode) = (ix-1)*Dx;
Node.y(iNode) = (iy-1)*Dy;
Node.z(iNode) = Z(1);
iNode = iNode +1;
end;
end;
Node.Total = length(Node.x);
 Edges
%the y-edges
iEdge=1;
for ix=1:Nx+1
for iy=1:Ny
k=k+1;
Edge.NodeNum(iEdge,1)= A(ix,iy,1);
Edge.NodeNum(iEdge,2)= A(ix,iy,1)+1;
iEdge = iEdge+1;
end;
end;
%the x-edges
for iy=1:Ny+1
for ix=1:Nx
Edge.NodeNum(iEdge,1)= A(ix,iy,1);
Edge.NodeNum(iEdge,2)= A(ix+1,iy,1);
iEdge = iEdge+1;
end;
end;
Edge.Total = iEdge-1;
B. Essakhi / International Journal of Applied Sciences and Innovation
8
 Elements
The manage a connectivity between element and nodes, we use the matrix , ,
PNT=[];
for kx=1:Nx
for ky=1:Ny
K=[kx,ky];
PNT=[PNT;[K,k]];
end;
end;
for iElt=1:Nx*Ny
i=PNT(iElt,1);
j=PNT(iElt,2);
k=PNT(iElt,3);
Elt.NodeNum(iElt,1) = A(i,j,k);
Elt.NodeNum(iElt,2) = A(i+1,j,k);
Elt.NodeNum(iElt,3) = A(i+1,j+1,k);
Elt.NodeNum(iElt,4) = A(i,j+1,k);
Elt.NodeNum(iElt,5) = A(i,j,k+1);
Elt.NodeNum(iElt,6) = A(i+1,j,k+1);
Elt.NodeNum(iElt,7) = A(i+1,j+1,k+1);
Elt.NodeNum(iElt,8) = A(i,j+1,k+1);
Elt.NumDom(iElt) = 1;
end;
B. Analytic solution
The analytical solution E=(Ex,Ey,Ez) of such configuration is given by:
( ) =
( )
( )
,
From the equation (1) we can compute H=(Hx,Hy,Hz) using Maxwell Faraday equation.
( ) = ( )
cos( − )/sin ( ),
REFERENCES
[1] OUCHETTO, Ouail, OUCHETTO, Hassania, ZOUHDI, Said, et al.Homogenization of Maxwell's Equations in
Lossy Biperiodic Metamaterials.Antennas and Propagation, IEEE Transactions on, 2013, vol. 61, no 8, p.
4214-4219.
[2] OUCHETTO, Ouail. Modélisation large bande de métamatériaux bianisotropes et de surfaces structurées,
Ph.D. thesis, University of Paris-Sud XI, France, 2006.
[3] OUCHETTO, Ouail et ESSAKHI, Brahim. Frequency Domain Homogenization of Maxwell Equations in
Complex Media. International Journal of Engineering and Mathematical Modelling, 2015, vol. 2, no 1, p. 1-
15.
[4] OUCHETTO, O., ZOUHDI, S., BOSSAVIT, A., et al. A new approach for the homogenization of three-
dimensional metallodielectric lattices: the periodic unfolding method. PECS-VI, International Symposium on
Photonic and Electromagnetic Crystal Structures, 2005.
[5] https://www.gnu.org/software/octave/
B. Essakhi / International Journal of Applied Sciences and Innovation
9
[6] HE, Bo et TEIXEIRA, F. L. Geometric finite element discretization of Maxwell equations in primal and dual
spaces. Physics Letters A, 2006, vol. 349, no 1, p. 1-14.
[7] JIN, Jian-Ming. The finite element method in electromagnetics. John Wiley & Sons, 2014.
[8] BOSSAVIT, A. Solving Maxwell equations in a closed cavity, and the question ofspurious modes'. Magnetics,
IEEE Transactions on, 1990, vol. 26, no 2, p. 702-705.
[9] ESSAKHI, B., PICHON, L., et AKOUN, G. Fast analysis of a broad-band microwave rectenna using 3-D FEM
and padé approximation. Magnetics, IEEE Transactions on, 2007, vol. 43, no 4, p. 1309-1312.
[10] ESSAKHI, Brahim, BENEL, Jérémie, DUVAL, Fabrice, et al. Interconnect macromodeling from 3-D field
computation. Magnetics, IEEE Transactions on, 2008, vol. 44, no 6, p. 1454-1457.
[11] DESLANDES, Dominic et WU, Ke. Integrated microstrip and rectangular waveguide in planar
form. Microwave and Wireless Components Letters, IEEE, 2001, vol. 11, no 2, p. 68-70.
[12] SNITZER, Elias. Cylindrical dielectric waveguide modes. JOSA, 1961, vol. 51, no 5, p. 491-498.
[13] https://en.wikipedia.org/wiki/GNU_Octave

More Related Content

PDF
Drobics, m. 2001: datamining using synergiesbetween self-organising maps and...
ArchiLab 7
 
PDF
Bistablecamnets
martindudziak
 
PDF
Radial Basis Function Interpolation
Jesse Bettencourt
 
PDF
2009 asilomar
Pioneer Natural Resources
 
PDF
The Gaussian Process Latent Variable Model (GPLVM)
James McMurray
 
PDF
Research Inventy : International Journal of Engineering and Science
inventy
 
PDF
Thesis_Draft_Nurkhaidarov
Bek Nurkhaidarov
 
PDF
Macromodel of High Speed Interconnect using Vector Fitting Algorithm
ijsrd.com
 
Drobics, m. 2001: datamining using synergiesbetween self-organising maps and...
ArchiLab 7
 
Bistablecamnets
martindudziak
 
Radial Basis Function Interpolation
Jesse Bettencourt
 
The Gaussian Process Latent Variable Model (GPLVM)
James McMurray
 
Research Inventy : International Journal of Engineering and Science
inventy
 
Thesis_Draft_Nurkhaidarov
Bek Nurkhaidarov
 
Macromodel of High Speed Interconnect using Vector Fitting Algorithm
ijsrd.com
 

What's hot (18)

PDF
STATE SPACE GENERATION FRAMEWORK BASED ON BINARY DECISION DIAGRAM FOR DISTRIB...
csandit
 
PDF
Plan economico
Crist Oviedo
 
DOC
Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Mumbai Academisc
 
PDF
Implementation performance analysis of cordic
iaemedu
 
PDF
Neural Networks: Radial Bases Functions (RBF)
Mostafa G. M. Mostafa
 
PPTX
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
wl820609
 
PDF
COMPARISON OF VOLUME AND DISTANCE CONSTRAINT ON HYPERSPECTRAL UNMIXING
csandit
 
PDF
Methods of Manifold Learning for Dimension Reduction of Large Data Sets
Ryan B Harvey, CSDP, CSM
 
PDF
widely-linear-minimum (1)
Vamshi Krishna Muga
 
PDF
Network Optimization Brief
jasonj383
 
PDF
An introduction to deep learning
Van Thanh
 
PDF
2010 - Stapelberg, Krzesinski - Network Re-engineering using Successive Survi...
Dieter Stapelberg
 
PDF
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
PDF
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET Journal
 
PDF
Paper id 26201482
IJRAT
 
PDF
Path loss prediction
Nguyen Minh Thu
 
PDF
Image transforms
BCET, Balasore
 
PDF
Solving electric circuits using graph theory
Cheku Dojee
 
STATE SPACE GENERATION FRAMEWORK BASED ON BINARY DECISION DIAGRAM FOR DISTRIB...
csandit
 
Plan economico
Crist Oviedo
 
Xtc a practical topology control algorithm for ad hoc networks (synopsis)
Mumbai Academisc
 
Implementation performance analysis of cordic
iaemedu
 
Neural Networks: Radial Bases Functions (RBF)
Mostafa G. M. Mostafa
 
Dimension Reduction And Visualization Of Large High Dimensional Data Via Inte...
wl820609
 
COMPARISON OF VOLUME AND DISTANCE CONSTRAINT ON HYPERSPECTRAL UNMIXING
csandit
 
Methods of Manifold Learning for Dimension Reduction of Large Data Sets
Ryan B Harvey, CSDP, CSM
 
widely-linear-minimum (1)
Vamshi Krishna Muga
 
Network Optimization Brief
jasonj383
 
An introduction to deep learning
Van Thanh
 
2010 - Stapelberg, Krzesinski - Network Re-engineering using Successive Survi...
Dieter Stapelberg
 
International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
IRJET- An Efficient Reverse Converter for the Three Non-Coprime Moduli Set {4...
IRJET Journal
 
Paper id 26201482
IJRAT
 
Path loss prediction
Nguyen Minh Thu
 
Image transforms
BCET, Balasore
 
Solving electric circuits using graph theory
Cheku Dojee
 
Ad

Viewers also liked (15)

PDF
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
PDF
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
PPTX
Montagem pio
Emanuel Pio
 
PDF
Lecture Te Pe 8th December
Martin Moström
 
DOCX
Makalah pandangan islam terhadap menopouse dan wanita mandul
Operator Warnet Vast Raha
 
PPTX
Finding Your Compass on the Path to Recovery | Veritas Collaborative
Veritas_Collaborative
 
DOCX
Dinesh synopsis
dinu25335
 
DOCX
Window period of HIV
Brij Raghuwanshi
 
PDF
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
PDF
Letradelano2016 160104071951
Francisco Cisneros
 
DOCX
Makalah sistim operasi
Operator Warnet Vast Raha
 
PPTX
ciso-platform-annual-summit-2013-defending-against-APT
Priyanka Aash
 
DOCX
Practica 3
15309292
 
PDF
nonClonableID™ for the Banking Domain
Bilcareltd
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
Montagem pio
Emanuel Pio
 
Lecture Te Pe 8th December
Martin Moström
 
Makalah pandangan islam terhadap menopouse dan wanita mandul
Operator Warnet Vast Raha
 
Finding Your Compass on the Path to Recovery | Veritas Collaborative
Veritas_Collaborative
 
Dinesh synopsis
dinu25335
 
Window period of HIV
Brij Raghuwanshi
 
International journal of applied sciences and innovation vol 2015 - no 1 - ...
sophiabelthome
 
Letradelano2016 160104071951
Francisco Cisneros
 
Makalah sistim operasi
Operator Warnet Vast Raha
 
ciso-platform-annual-summit-2013-defending-against-APT
Priyanka Aash
 
Practica 3
15309292
 
nonClonableID™ for the Banking Domain
Bilcareltd
 
Ad

Similar to International journal of applied sciences and innovation vol 2015 - no 1 - paper1 (20)

PDF
Computational Investigation of Asymmetric Coplanar Waveguides Using Neural Ne...
Konstantinos Karamichalis
 
PDF
2-Dimensional and 3-Dimesional Electromagnetic Fields Using Finite element me...
IOSR Journals
 
PDF
Numerical simulation of electromagnetic radiation using high-order discontinu...
IJECEIAES
 
PDF
Design of Resonators for Coupled Magnetic Resonance-based Wireless Power Tran...
Quang-Trung Luu
 
PDF
A CPW-fed Rectangular Patch Antenna for WLAN/WiMAX Applications
IDES Editor
 
PDF
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
IJECEIAES
 
PDF
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
Yayah Zakaria
 
PDF
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Cemal Ardil
 
PPTX
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
m.kumarasamy college of engineering
 
PDF
project final
Rian Rustvold
 
PDF
International Journal of Engineering Research and Development
IJERD Editor
 
PDF
Analysis, Design and Optimization of Multilayer Antenna Using Wave Concept It...
journalBEEI
 
PPTX
HybridUAV
Matthew Girard
 
PDF
An analysis between exact and approximate algorithms for the k-center proble...
IJECEIAES
 
PDF
synopsis_divyesh
Divyesh Mistry
 
PDF
Investigation on EM radiations from interconnects in integrated circuits
TELKOMNIKA JOURNAL
 
PDF
EFFECTIVE PEEC MODELING OF TRANSMISSION LINES STRUCTURES USING A SELECTIVE ME...
EEIJ journal
 
PDF
E010632226
IOSR Journals
 
PDF
Modelling Quantum Transport in Nanostructures
iosrjce
 
Computational Investigation of Asymmetric Coplanar Waveguides Using Neural Ne...
Konstantinos Karamichalis
 
2-Dimensional and 3-Dimesional Electromagnetic Fields Using Finite element me...
IOSR Journals
 
Numerical simulation of electromagnetic radiation using high-order discontinu...
IJECEIAES
 
Design of Resonators for Coupled Magnetic Resonance-based Wireless Power Tran...
Quang-Trung Luu
 
A CPW-fed Rectangular Patch Antenna for WLAN/WiMAX Applications
IDES Editor
 
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
IJECEIAES
 
Effect of Mobility on (I-V) Characteristics of Gaas MESFET
Yayah Zakaria
 
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Cemal Ardil
 
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
m.kumarasamy college of engineering
 
project final
Rian Rustvold
 
International Journal of Engineering Research and Development
IJERD Editor
 
Analysis, Design and Optimization of Multilayer Antenna Using Wave Concept It...
journalBEEI
 
HybridUAV
Matthew Girard
 
An analysis between exact and approximate algorithms for the k-center proble...
IJECEIAES
 
synopsis_divyesh
Divyesh Mistry
 
Investigation on EM radiations from interconnects in integrated circuits
TELKOMNIKA JOURNAL
 
EFFECTIVE PEEC MODELING OF TRANSMISSION LINES STRUCTURES USING A SELECTIVE ME...
EEIJ journal
 
E010632226
IOSR Journals
 
Modelling Quantum Transport in Nanostructures
iosrjce
 

Recently uploaded (20)

PDF
Paleoseismic activity in the moon’s Taurus-Littrowvalley inferred from boulde...
Sérgio Sacani
 
PDF
Vera C. Rubin Observatory of interstellar Comet 3I ATLAS - July 21, 2025.pdf
SOCIEDAD JULIO GARAVITO
 
PDF
Rethinking_the_Past_Infinite_Multiverse.pdf
HamzaObaidat
 
PPTX
How to access global TV channels with a VPN easily.pptx
harshitseo1
 
PPT
Chemical bonding and molecular structure
karthikeyan
 
PDF
Analysing Python Machine Learning Notebooks with Moose
ESUG
 
PDF
PPT-7-Rocks-and-Minerals Lesson 5 Quarter 1
CarlVillanueva11
 
PPTX
Earth's mechanism (plate tectonics and seafloor spreading).pptx
josephangeles001
 
PPTX
Unit 4 - Astronomy and Astrophysics - Milky Way And External Galaxies
RDhivya6
 
PDF
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
PPTX
GENETIC TECHNOLOGY A level biology
JuthikaMal
 
PDF
The Different States of Matter and its Characteristics
SophiaCasimero1
 
PPTX
Modifications in RuBisCO system to enhance photosynthesis .pptx
raghumolbiotech
 
PDF
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
PPT
An Introduction to Particle Accelerators.ppt
mowehe5553
 
PDF
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
PDF
Agricultural Extension Presentation Slides
addisinicholas
 
PDF
Little Red Dots As Late-stage Quasi-stars
Sérgio Sacani
 
PPTX
Seminar on ethics in biomedical research
poojabisht244
 
PPTX
Excretory System in insects ( PPT Presentation)
Dr Showkat Ahmad Wani
 
Paleoseismic activity in the moon’s Taurus-Littrowvalley inferred from boulde...
Sérgio Sacani
 
Vera C. Rubin Observatory of interstellar Comet 3I ATLAS - July 21, 2025.pdf
SOCIEDAD JULIO GARAVITO
 
Rethinking_the_Past_Infinite_Multiverse.pdf
HamzaObaidat
 
How to access global TV channels with a VPN easily.pptx
harshitseo1
 
Chemical bonding and molecular structure
karthikeyan
 
Analysing Python Machine Learning Notebooks with Moose
ESUG
 
PPT-7-Rocks-and-Minerals Lesson 5 Quarter 1
CarlVillanueva11
 
Earth's mechanism (plate tectonics and seafloor spreading).pptx
josephangeles001
 
Unit 4 - Astronomy and Astrophysics - Milky Way And External Galaxies
RDhivya6
 
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
GENETIC TECHNOLOGY A level biology
JuthikaMal
 
The Different States of Matter and its Characteristics
SophiaCasimero1
 
Modifications in RuBisCO system to enhance photosynthesis .pptx
raghumolbiotech
 
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
An Introduction to Particle Accelerators.ppt
mowehe5553
 
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
Agricultural Extension Presentation Slides
addisinicholas
 
Little Red Dots As Late-stage Quasi-stars
Sérgio Sacani
 
Seminar on ethics in biomedical research
poojabisht244
 
Excretory System in insects ( PPT Presentation)
Dr Showkat Ahmad Wani
 

International journal of applied sciences and innovation vol 2015 - no 1 - paper1

  • 1. 1 International Journal of Applied Sciences and Innovation Vol. 2015, no. 1, pp. 1-9 ISSN: 2458-6501 Copyright © Infinity Sciences GNU Octave for 3D Using Cubic Elements Brahim ESSAKHI ASTEK, Boulogne-Billancourt, France Email: [email protected]. Abstract- This paper presents a finite element model using cube elements to characterize electromagnetic field. The modeling approach uses an optimized solution via edge element method. This work shows that the computational cost is significantly reduced. The computational aspect is guaranteed by GNU Octave, a high-level interpreted language primarily intended for numerical computations. GNU Octave provides capabilities for the numerical solution of linear and nonlinear problems. It also provides extensive graphics capabilities for data visualization and manipulation. Keywords: GNU Octave, Maxwell equations in frequency domain, Finite element method. I. INTRODUCTION A variety of numerical methods have been proposed for computing the electromagnetic properties in frequency and time domain as finite element method (FEM), finite difference (FD), method moment (MM), boundary integral method (BIM). The FEM remains the most used one and this is due to its ability to incorporate the different types of boundary conditions and to model the inhomogeneous material with complicated geometry and properties [1, 2, 3, 4]. This work uses GNU Octave [5] software to perform an efficient electromagnetic study using cubic finite element [6,7]. The use of edge elements is an efficient method way to solve this kind of problem [8, 9, 10]. Octave is a high-level interpreted language, essentially, intended for numerical computations. It provides capabilities for the numerical solution of linear and nonlinear problems. Octave provides a rich graphics capabilities for data visualization. It is used through an interactive command line interface (CLI), and it can also be used as programming language using the non-interactive programs. The Octave aspect is quite similar to Matlab so that most programs are easily portable. Octave is freely redistributable software, used for intensive numerical computation with an interactive environment that is compatible with Matlab. It is customizable with user-defined functions written in Octave's language or C++, C, Fortran or others [13]. A waveguide [11, 12] is an electromagnetic transmission line used in microwave communications, broadcasting, and radar installations. A waveguide consists of a rectangular or cylindrical metal tube or pipe. The electromagnetic field propagates lengthwise. An electromagnetic field (E,H) can propagate along a waveguide in various ways. Two common modes are known as transverse-magnetic (TM) and transverse-electric (TE). This paper demonstrates the efficiency of cubic element to analyze such structures using minimum of elements and computational resources via GNU Octave free. The remainder of this paper is organized as follows. In Section 2, we introduce the 3D Maxwell problem mixed FEM. In Section 3, we give the cubic formulation of the posed problem. In section 4 some numerical results and finally the main conclusions in last section.
  • 2. B. Essakhi / International Journal of Applied Sciences and Innovation 2 II. 3D MAXWELL PROBLEM Figure 1: Transmission line containing three domains. The length, l=15cm We consider the 3D problem of a waveguide transmission line. It consists of two parallel conducting plates of width a separated by height b by a dielectric material containing three domains ( , ), = 1,2,3. Example of such line a can be used as a microstrip line in the context of microwave integrated circuits. For a full wave analysis we deal with the Maxwell equations in the frequency domain: ∇ × = (1) ∇ × = + (2) Where = , the electric field intensity, the magnetic field intensity, the magnetic field flux, the electric field flux and , the is the current. The constitutive relations are given by: B = μH (3) D = εE (4) The Ohm law gives: J = σE (5) From (1-5), we establish the vector wave equation in terms of the electric field : ∇ × × + ( + ) = − (6) A computation using the finite element method is performed in a finite. In order to truncate the volume of the computational domain the Silver-Müller condition is applied as an absorbing boundary condition. It is given by: n × ∇ × = where is the wave number in free space and is the tangential electric field on the outer boundary surface. This ABC preserves the sparsity and symmetric features of the final matrix. It is exact for normal incidence. Let denote  the computational domain and  the outer boundary. As usual with FEM, we define the space of the work: = { ∈ ( (Ω)) ,∇ × ∈ ( (Ω)) } A weak formulation of the problem is obtained after multiplying the vector wave equation by a test function F in V: 〈 ( + ) , 〉 +〈 ∇ × , ∇ × 〉 +〈 , 〉 = 0 (9)
  • 3. B. Essakhi / International Journal of Applied Sciences and Innovation 3 Where , denotes the scalar product in V. To solve the system (9) numerically, the domain is discretized with cubic elements. The electric field can be written in terms of basis functions associated with the edges of these elements: = ∑ , , Using test function the same as interpolation functions (Galerkin method) and supposing that = 0, we get the following system: = 0, = + + ℝ, = ( , ) , Where , , is defined as circulation of the electric field along the edge { , }, which is the path between two nodes i and j: , = ∫{ , } , The matrices are defined by: {( , ),( , )} = 〈 ⃗ , , ⃗ , 〉 {( , ),( , )} = 〈( ) ⃗ , , , ⃗ , , 〉 ℝ{( , ),( , )} = 〈 ∇ × ⃗ , , ∇ × ⃗ , 〉 In the above, matrices entry comes from edge ( , ) and edge ( , ). III. CUBIC FEM FORMULATION Let us Ccnsider a cubic element given in Fig. 2, whose side length is L and whose center is at (xc, yc). Figure 2: Oriented cubic element, 6 faces 12 edges and 8 nodes. The cubic edge element can be written as follow [1]: , = 1 + 2 − + 2 − ,
  • 4. B. Essakhi / International Journal of Applied Sciences and Innovation 4 , = 1 + 2 − − + 2 + , , = 1 + 2 − + 2 − , , = 1 + 2 − − + 2 + , , = + − + − ̂ , , = 1 + 2 − − + 2 + ̂, , = 1 − + 2 + + 2 − , , = 1 − + 2 + − + 2 + , , = 1 − + 2 + + 2 − , , = 1 − + 2 + − + 2 + , , = 1 − + 2 + + 2 − ̂, , = 1 − + 2 + − + 2 + ̂, IV. NUMERICAL EXAMPLE The transmission line the length l=15cm is excited by a plane wave (z)=1. on = 0 surface, where k is the wave number, and z the direction of wave propagation. The frequency used in this study is f=2.45 GHz. The finite element mesh for this example was generated by our own 3D mesh generator. We note that If we take the permittivity and the permeability of the studied domain = = = 1 and = = = 1 (the vacuum), and , = = = 5 . The figure 3 represents the mesh of the studied which contains 244 nodes, 484 edges and 60 elements. Fig. 4 and Fig. 5 represent modulus of electric field and the magnetic field respectively for as function of z. The obtained results are compared with analytical ones. As we can see from these figures, we obtain the same results for different value of z.
  • 5. B. Essakhi / International Journal of Applied Sciences and Innovation 5 Figure 3: The mesh for waveguide, with 244 nodes, 484 edges and 60 elements. Figure 4: The modulus of electric field. Figure 5: The modulus of magnetic field.
  • 6. B. Essakhi / International Journal of Applied Sciences and Innovation 6 V. SPARSITY OF MATRICES A. Elementary matrices The elementary matrices are 12 by 12 matrices, because of 12 nodes in the cube. Figure 6: Sparsity pattern of the elementary matrices B. Global matrices The global matrices are really sparse. This, sparsity corresponds to systems which are loosely coupled. The Sparse matrices have significant advantages in terms of computational efficiency. Using sparse matrices to store data can both save a significant amount of memory and speed up the processing of that data. Figure 7: Sparsity pattern of the global matrices: , and ℝ VI. CONCLUSION The cubic elements discretize the Maxwell wave equations. The solution is efficient an accurate. The problem is optimized using spare matrices.GNU Octave gives a good tool to study a complexe FEM problem, and offer good alternative of open source software.
  • 7. B. Essakhi / International Journal of Applied Sciences and Innovation 7 APPENDIX A. The mesh- How-to Technically, the cube element is represented in (Fig. 10). Figure 8: The cube The matrix A, allows managing the nodes of the cube element. The following script shows how to store node number and the position of each node in the cube, and finally in the whole mesh, where Dx and Dy are the discretisation  Nodes iNode=1; for ix=1:Nx+1 for iy=1:Ny+1 A(ix,iy,1)= iNode; Node.x(iNode) = (ix-1)*Dx; Node.y(iNode) = (iy-1)*Dy; Node.z(iNode) = Z(1); iNode = iNode +1; end; end; Node.Total = length(Node.x);  Edges %the y-edges iEdge=1; for ix=1:Nx+1 for iy=1:Ny k=k+1; Edge.NodeNum(iEdge,1)= A(ix,iy,1); Edge.NodeNum(iEdge,2)= A(ix,iy,1)+1; iEdge = iEdge+1; end; end; %the x-edges for iy=1:Ny+1 for ix=1:Nx Edge.NodeNum(iEdge,1)= A(ix,iy,1); Edge.NodeNum(iEdge,2)= A(ix+1,iy,1); iEdge = iEdge+1; end; end; Edge.Total = iEdge-1;
  • 8. B. Essakhi / International Journal of Applied Sciences and Innovation 8  Elements The manage a connectivity between element and nodes, we use the matrix , , PNT=[]; for kx=1:Nx for ky=1:Ny K=[kx,ky]; PNT=[PNT;[K,k]]; end; end; for iElt=1:Nx*Ny i=PNT(iElt,1); j=PNT(iElt,2); k=PNT(iElt,3); Elt.NodeNum(iElt,1) = A(i,j,k); Elt.NodeNum(iElt,2) = A(i+1,j,k); Elt.NodeNum(iElt,3) = A(i+1,j+1,k); Elt.NodeNum(iElt,4) = A(i,j+1,k); Elt.NodeNum(iElt,5) = A(i,j,k+1); Elt.NodeNum(iElt,6) = A(i+1,j,k+1); Elt.NodeNum(iElt,7) = A(i+1,j+1,k+1); Elt.NodeNum(iElt,8) = A(i,j+1,k+1); Elt.NumDom(iElt) = 1; end; B. Analytic solution The analytical solution E=(Ex,Ey,Ez) of such configuration is given by: ( ) = ( ) ( ) , From the equation (1) we can compute H=(Hx,Hy,Hz) using Maxwell Faraday equation. ( ) = ( ) cos( − )/sin ( ), REFERENCES [1] OUCHETTO, Ouail, OUCHETTO, Hassania, ZOUHDI, Said, et al.Homogenization of Maxwell's Equations in Lossy Biperiodic Metamaterials.Antennas and Propagation, IEEE Transactions on, 2013, vol. 61, no 8, p. 4214-4219. [2] OUCHETTO, Ouail. Modélisation large bande de métamatériaux bianisotropes et de surfaces structurées, Ph.D. thesis, University of Paris-Sud XI, France, 2006. [3] OUCHETTO, Ouail et ESSAKHI, Brahim. Frequency Domain Homogenization of Maxwell Equations in Complex Media. International Journal of Engineering and Mathematical Modelling, 2015, vol. 2, no 1, p. 1- 15. [4] OUCHETTO, O., ZOUHDI, S., BOSSAVIT, A., et al. A new approach for the homogenization of three- dimensional metallodielectric lattices: the periodic unfolding method. PECS-VI, International Symposium on Photonic and Electromagnetic Crystal Structures, 2005. [5] https://www.gnu.org/software/octave/
  • 9. B. Essakhi / International Journal of Applied Sciences and Innovation 9 [6] HE, Bo et TEIXEIRA, F. L. Geometric finite element discretization of Maxwell equations in primal and dual spaces. Physics Letters A, 2006, vol. 349, no 1, p. 1-14. [7] JIN, Jian-Ming. The finite element method in electromagnetics. John Wiley & Sons, 2014. [8] BOSSAVIT, A. Solving Maxwell equations in a closed cavity, and the question ofspurious modes'. Magnetics, IEEE Transactions on, 1990, vol. 26, no 2, p. 702-705. [9] ESSAKHI, B., PICHON, L., et AKOUN, G. Fast analysis of a broad-band microwave rectenna using 3-D FEM and padé approximation. Magnetics, IEEE Transactions on, 2007, vol. 43, no 4, p. 1309-1312. [10] ESSAKHI, Brahim, BENEL, Jérémie, DUVAL, Fabrice, et al. Interconnect macromodeling from 3-D field computation. Magnetics, IEEE Transactions on, 2008, vol. 44, no 6, p. 1454-1457. [11] DESLANDES, Dominic et WU, Ke. Integrated microstrip and rectangular waveguide in planar form. Microwave and Wireless Components Letters, IEEE, 2001, vol. 11, no 2, p. 68-70. [12] SNITZER, Elias. Cylindrical dielectric waveguide modes. JOSA, 1961, vol. 51, no 5, p. 491-498. [13] https://en.wikipedia.org/wiki/GNU_Octave