Rectangular geometry, source current. More...

#include <Eddy2D_geometries.hh>

Inheritance diagram for concepts::EddyGeometry2DRectImport:
concepts::EddyGeometry2D concepts::OutputOperator

Public Member Functions

virtual void dataout (concepts::InOutParameters &output)
 writes information to output object More...
 
 EddyGeometry2DRectImport (const std::string coord, const std::string elms, const std::string attributes, const uint idxStart=1, const std::string meshAbbr="", const Real j0=1.0, const Real sigma=SIGMA_CU, const Real sigma0=0.0)
 Constructor. More...
 
 EddyGeometry2DRectImport (const std::string path, const std::string meshAbbr, const Real j0=1.0, const Real sigma=SIGMA_CU, const Real sigma0=0.0)
 Constructor. More...
 
Set< uint > innerBoundary () const
 Return the attributes of the inner boundaries. More...
 
virtual const PiecewiseFormulaBase< Real2d > * J0 () const
 piecewise defined formula More...
 
virtual const PiecewiseFormulaBase< Real > * J0x () const
 piecewise defined formula More...
 
virtual const PiecewiseFormulaBase< Real > * J0y () const
 piecewise defined formula More...
 
virtual Mesh2mesh ()
 Mesh. More...
 
const std::string meshAbbreviation () const
 
void meshAbbreviation (const char *meshAbbr)
 
Set< uint > outerBoundary () const
 Return the attributes of the outer boundary. More...
 
PiecewiseConstFormula< Real > & sigma ()
 Piecewise constant conductivity. More...
 
const PiecewiseConstFormula< Real > & sigma () const
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Protected Attributes

Set< uint > innerBoundary_
 
std::string meshAbbr_
 Abbreviation for the mesh. More...
 
Set< uint > outerBoundary_
 Attributes of outer and inner boundaries. More...
 
PiecewiseConstFormula< Realsigma_
 Piecewise constant conductivity. More...
 

Private Attributes

const std::string attr_
 
const std::string coord_
 files for the mesh More...
 
const std::string elms_
 
concepts::PiecewiseConstFormula< Real2dJ0_
 piecewise defined source current More...
 
const Real j0_
 absolute value of source current density in straight coil parts More...
 
std::unique_ptr< Mesh2msh_
 Mesh. More...
 

Detailed Description

Rectangular geometry, source current.

Author
Kersten Schmidt, 2005

Definition at line 140 of file Eddy2D_geometries.hh.

Constructor & Destructor Documentation

◆ EddyGeometry2DRectImport() [1/2]

concepts::EddyGeometry2DRectImport::EddyGeometry2DRectImport ( const std::string  coord,
const std::string  elms,
const std::string  attributes,
const uint  idxStart = 1,
const std::string  meshAbbr = "",
const Real  j0 = 1.0,
const Real  sigma = SIGMA_CU,
const Real  sigma0 = 0.0 
)

Constructor.

Attribute 2 is for conductive material. Attributes 3 to 10 are for the coil (3 is for direction (1,0), following counter-clockwise)

Parameters
coordFile with coordinates of vertices.
elmsFile with node numbers of quads.
attributesFile with node numbers of edges and cells with attributes for boundary condition and material.
idxStartStarting point of indices in the files (1 or 0)
meshAbbrabbreviation for the mesh
j0current density in A/m^2
sigmaconductivity in 1/Ohm/m
sigma0default value for conductivity
See also
Import2dMesh

◆ EddyGeometry2DRectImport() [2/2]

concepts::EddyGeometry2DRectImport::EddyGeometry2DRectImport ( const std::string  path,
const std::string  meshAbbr,
const Real  j0 = 1.0,
const Real  sigma = SIGMA_CU,
const Real  sigma0 = 0.0 
)

Constructor.

Attribute 2 is for conductive material. Attributes 3 to 10 are for the coil (3 is for direction (1,0), following counter-clockwise)

The mesh files have the names Coord_1Q.dat, Elem_1Q.dat and Bound_1Q.dat for meshAbbr = "1Q" and lie in path. The starting point for indices is 1.

Parameters
pathPath, where the input files are
meshAbbrabbreviation for the mesh
j0current density in A/m^2
sigmaconductivity in 1/Ohm/m
sigma0default value for conductivity
See also
Import2dMesh

Member Function Documentation

◆ dataout()

virtual void concepts::EddyGeometry2DRectImport::dataout ( concepts::InOutParameters output)
virtual

writes information to output object

Reimplemented from concepts::EddyGeometry2D.

◆ info()

virtual std::ostream& concepts::EddyGeometry2DRectImport::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::EddyGeometry2D.

◆ innerBoundary()

Set<uint> concepts::EddyGeometry2D::innerBoundary ( ) const
inlineinherited

Return the attributes of the inner boundaries.

Definition at line 44 of file Eddy2D_geometries.hh.

◆ J0()

virtual const PiecewiseFormulaBase<Real2d>* concepts::EddyGeometry2DRectImport::J0 ( ) const
inlinevirtual

piecewise defined formula

\[(j^0_x, j^0_y)^\top\]

Implements concepts::EddyGeometry2D.

Definition at line 196 of file Eddy2D_geometries.hh.

◆ J0x()

virtual const PiecewiseFormulaBase<Real>* concepts::EddyGeometry2DRectImport::J0x ( ) const
inlinevirtual

piecewise defined formula

\[j^0_x\]

Implements concepts::EddyGeometry2D.

Definition at line 192 of file Eddy2D_geometries.hh.

◆ J0y()

virtual const PiecewiseFormulaBase<Real>* concepts::EddyGeometry2DRectImport::J0y ( ) const
inlinevirtual

piecewise defined formula

\[j^0_y\]

Implements concepts::EddyGeometry2D.

Definition at line 194 of file Eddy2D_geometries.hh.

◆ mesh()

virtual Mesh2& concepts::EddyGeometry2DRectImport::mesh ( )
inlinevirtual

Mesh.

Implements concepts::EddyGeometry2D.

Definition at line 190 of file Eddy2D_geometries.hh.

◆ meshAbbreviation() [1/2]

const std::string concepts::EddyGeometry2D::meshAbbreviation ( ) const
inlineinherited

Definition at line 55 of file Eddy2D_geometries.hh.

◆ meshAbbreviation() [2/2]

void concepts::EddyGeometry2D::meshAbbreviation ( const char *  meshAbbr)
inlineinherited

Definition at line 54 of file Eddy2D_geometries.hh.

◆ outerBoundary()

Set<uint> concepts::EddyGeometry2D::outerBoundary ( ) const
inlineinherited

Return the attributes of the outer boundary.

Definition at line 42 of file Eddy2D_geometries.hh.

◆ sigma() [1/2]

PiecewiseConstFormula<Real>& concepts::EddyGeometry2D::sigma ( )
inlineinherited

Piecewise constant conductivity.

Definition at line 52 of file Eddy2D_geometries.hh.

◆ sigma() [2/2]

const PiecewiseConstFormula<Real>& concepts::EddyGeometry2D::sigma ( ) const
inlineinherited

Definition at line 53 of file Eddy2D_geometries.hh.

Member Data Documentation

◆ attr_

const std::string concepts::EddyGeometry2DRectImport::attr_
private

Definition at line 209 of file Eddy2D_geometries.hh.

◆ coord_

const std::string concepts::EddyGeometry2DRectImport::coord_
private

files for the mesh

Definition at line 209 of file Eddy2D_geometries.hh.

◆ elms_

const std::string concepts::EddyGeometry2DRectImport::elms_
private

Definition at line 209 of file Eddy2D_geometries.hh.

◆ innerBoundary_

Set<uint> concepts::EddyGeometry2D::innerBoundary_
protectedinherited

Definition at line 61 of file Eddy2D_geometries.hh.

◆ J0_

concepts::PiecewiseConstFormula<Real2d> concepts::EddyGeometry2DRectImport::J0_
private

piecewise defined source current

Definition at line 205 of file Eddy2D_geometries.hh.

◆ j0_

const Real concepts::EddyGeometry2DRectImport::j0_
private

absolute value of source current density in straight coil parts

Definition at line 207 of file Eddy2D_geometries.hh.

◆ meshAbbr_

std::string concepts::EddyGeometry2D::meshAbbr_
protectedinherited

Abbreviation for the mesh.

Definition at line 65 of file Eddy2D_geometries.hh.

◆ msh_

std::unique_ptr<Mesh2> concepts::EddyGeometry2DRectImport::msh_
private

Mesh.

Definition at line 203 of file Eddy2D_geometries.hh.

◆ outerBoundary_

Set<uint> concepts::EddyGeometry2D::outerBoundary_
protectedinherited

Attributes of outer and inner boundaries.

Definition at line 61 of file Eddy2D_geometries.hh.

◆ sigma_

PiecewiseConstFormula<Real> concepts::EddyGeometry2D::sigma_
protectedinherited

Piecewise constant conductivity.

Definition at line 63 of file Eddy2D_geometries.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich