v0.6.9
Classes | Public Member Functions | Public Attributes | List of all members
MagneticElement Struct Reference

Implementation of magneto-static problem (basic Implementation)Look for theory and details here: More...

#include <users_modules/basic_finite_elements/magnetostatic/src/MagneticElement.hpp>

Collaboration diagram for MagneticElement:
[legend]

Classes

struct  BlockData
 data structure storing material constants, model parameters, matrices, etc. More...
 
struct  OpCurlCurl
 calculate and assemble CurlCurl matrix

\[ \mathbf{A} = \int_\Omega \mu^{-1} \left( \nabla \times \mathbf{u} \cdot \nabla \times \mathbf{v} \right) \textrm{d}\Omega \]

where

\[ \mathbf{u} = \nabla \times \mathbf{B} \]

where \(\mathbf{B}\) is magnetic flux and \(\mu\) is magnetic permeability. More...

 
struct  OpNaturalBC
 calculate essential boundary conditions

\[ \mathbf{A} = \int_{\partial\Omega} \ \mathbf{u} \cdot \mathbf{j}_i \textrm{d}{\partial\Omega} \]

where \(\mathbf{j}_i\) is current density function. More...

 
struct  OpPostProcessCurl
 calculate and assemble CurlCurl matrix More...
 
struct  OpStab
 calculate and assemble stabilization matrix

\[ \mathbf{A} = \int_\Omega \epsilon \mathbf{u} \cdot \mathbf{v} \textrm{d}\Omega \]

where \(\epsilon\) is regularization parameter. More...

 
struct  TriFE
 define surface element More...
 
struct  VolumeFE
 definition of volume element More...
 

Public Member Functions

 MagneticElement (MoFEM::Interface &m_field)
 
virtual ~MagneticElement ()
 
MoFEMErrorCode getNaturalBc ()
 get natural boundary conditions More...
 
MoFEMErrorCode getEssentialBc ()
 get essential boundary conditions (only homogenous case is considered) More...
 
MoFEMErrorCode createFields ()
 build problem data structures More...
 
MoFEMErrorCode createElements ()
 create finite elementsCreate volume and surface element. Surface element is used to integrate natural boundary conditions. More...
 
MoFEMErrorCode createProblem ()
 create problemProblem is collection of finite elements. With the information on which fields finite elements operates the matrix and left and right hand side vector could be created. More...
 
MoFEMErrorCode destroyProblem ()
 destroy Distributed mesh manager More...
 
MoFEMErrorCode solveProblem ()
 solve problemCreate matrices; integrate over elements; solve linear system of equations More...
 
MoFEMErrorCode postProcessResults ()
 post-process results, i.e. save solution on the mesh More...
 

Public Attributes

MoFEM::InterfacemField
 
BlockData blockData
 

Detailed Description

Implementation of magneto-static problem (basic Implementation)

Look for theory and details here:

[26] <www.hpfem.jku.at/publications/szthesis.pdf>

Election file and all other problem related file are here Magnetic/Maxwell element.

Todo:

Extension for mix formulation

Use appropriate pre-conditioner for large problems

Examples:
MagneticElement.hpp.

Definition at line 41 of file MagneticElement.hpp.

Constructor & Destructor Documentation

◆ MagneticElement()

MagneticElement::MagneticElement ( MoFEM::Interface m_field)
Examples:
MagneticElement.hpp.

Definition at line 67 of file MagneticElement.hpp.

67  :
68  mField(m_field) {
69  }
MoFEM::Interface & mField

◆ ~MagneticElement()

virtual MagneticElement::~MagneticElement ( )
virtual
Examples:
MagneticElement.hpp.

Definition at line 70 of file MagneticElement.hpp.

70 {}

Member Data Documentation

◆ blockData

BlockData MagneticElement::blockData
Examples:
MagneticElement.hpp.

Definition at line 110 of file MagneticElement.hpp.

◆ mField

MoFEM::Interface& MagneticElement::mField
Examples:
MagneticElement.hpp.

Definition at line 43 of file MagneticElement.hpp.


The documentation for this struct was generated from the following file: