12#ifndef BELFEM_CL_MATERIAL_BHSPLINECURVE_HPP
13#define BELFEM_CL_MATERIAL_BHSPLINECURVE_HPP
23 Spline * mNuSpline = nullptr ;
24 Spline * mMuSpline = nullptr ;
50 nu(
const real B )
const override ;
62 mu(
const real H )
const override ;
86 load_data(
const string & aPath,
const string & aLabel );
128 index_t k = mMuSpline->find_col(
H );
129 real f = mMuSpline->eval(
H, k );
130 real df = mMuSpline->deval(
H, k );
Cubic spline on a uniform grid, C2, with natural, parabolic or clamped boundary conditions.
Definition cl_Spline.hpp:45
BhCurve(const string &aPath, const string &aLabel)
Constructor - records the database path and group label.
Definition cl_BhCurve.cpp:20
real H(const real B) const
Magnetic field intensity from flux density.
Definition cl_BhCurve.hpp:160
real B(const real H) const
Magnetic flux density from field intensity.
Definition cl_BhCurve.hpp:154
real mu(const real H) const override
Permeability μ(H) = B/H.
Definition cl_Material_BhSplineCurve.hpp:109
real nu(const real B) const override
Reluctivity ν(B) = H/B.
Definition cl_Material_BhSplineCurve.hpp:94
void dmudH(const real H, real &mu, real &dmudH) const override
Permeability and its derivative with respect to H.
Definition cl_Material_BhSplineCurve.hpp:124
BhSplineCurve(const string &aPath, const string &aLabel)
Definition cl_Material_BhSplineCurve.cpp:23
const real mu0
magnetic constant in V*s/(A*m) ( recommended value ) http://physics.nist.gov/cgi-bin/cuu/Value?...
Definition constants.hpp:73
const real nu0
inverse of magnetic constant in (A*m)/(V*s)
Definition constants.hpp:80
Definition cl_BhCurve.cpp:19
USER GUIDES:
Definition cl_Capacitor.cpp:16
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36
#define BELFEM_QUIET_NAN
Definition typedefs.hpp:87