concepts::EddyGeometry2DRectImport Class Reference
Rectangular geometry, source current. More...
#include <Eddy2D_geometries.hh>
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 Mesh2 & | mesh () |
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< Real > | sigma_ |
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< Real2d > | J0_ |
piecewise defined source current More... | |
const Real | j0_ |
absolute value of source current density in straight coil parts More... | |
std::unique_ptr< Mesh2 > | msh_ |
Mesh. More... | |
Detailed Description
Rectangular geometry, source current.
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
-
coord File with coordinates of vertices. elms File with node numbers of quads. attributes File with node numbers of edges and cells with attributes for boundary condition and material. idxStart Starting point of indices in the files (1 or 0) meshAbbr abbreviation for the mesh j0 current density in A/m^2 sigma conductivity in 1/Ohm/m sigma0 default 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
-
path Path, where the input files are meshAbbr abbreviation for the mesh j0 current density in A/m^2 sigma conductivity in 1/Ohm/m sigma0 default value for conductivity
- See also
- Import2dMesh
Member Function Documentation
◆ dataout()
|
virtual |
writes information to output object
Reimplemented from concepts::EddyGeometry2D.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EddyGeometry2D.
◆ innerBoundary()
|
inlineinherited |
Return the attributes of the inner boundaries.
Definition at line 44 of file Eddy2D_geometries.hh.
◆ J0()
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 196 of file Eddy2D_geometries.hh.
◆ J0x()
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 192 of file Eddy2D_geometries.hh.
◆ J0y()
|
inlinevirtual |
piecewise defined formula
Implements concepts::EddyGeometry2D.
Definition at line 194 of file Eddy2D_geometries.hh.
◆ mesh()
|
inlinevirtual |
◆ meshAbbreviation() [1/2]
|
inlineinherited |
Definition at line 55 of file Eddy2D_geometries.hh.
◆ meshAbbreviation() [2/2]
|
inlineinherited |
Definition at line 54 of file Eddy2D_geometries.hh.
◆ outerBoundary()
|
inlineinherited |
Return the attributes of the outer boundary.
Definition at line 42 of file Eddy2D_geometries.hh.
◆ sigma() [1/2]
|
inlineinherited |
Piecewise constant conductivity.
Definition at line 52 of file Eddy2D_geometries.hh.
◆ sigma() [2/2]
|
inlineinherited |
Definition at line 53 of file Eddy2D_geometries.hh.
Member Data Documentation
◆ attr_
|
private |
Definition at line 209 of file Eddy2D_geometries.hh.
◆ coord_
|
private |
files for the mesh
Definition at line 209 of file Eddy2D_geometries.hh.
◆ elms_
|
private |
Definition at line 209 of file Eddy2D_geometries.hh.
◆ innerBoundary_
|
protectedinherited |
Definition at line 61 of file Eddy2D_geometries.hh.
◆ J0_
|
private |
piecewise defined source current
Definition at line 205 of file Eddy2D_geometries.hh.
◆ j0_
|
private |
absolute value of source current density in straight coil parts
Definition at line 207 of file Eddy2D_geometries.hh.
◆ meshAbbr_
|
protectedinherited |
Abbreviation for the mesh.
Definition at line 65 of file Eddy2D_geometries.hh.
◆ msh_
|
private |
Mesh.
Definition at line 203 of file Eddy2D_geometries.hh.
◆ outerBoundary_
|
protectedinherited |
Attributes of outer and inner boundaries.
Definition at line 61 of file Eddy2D_geometries.hh.
◆ 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:
- models/Eddy2D_geometries.hh