%%%%%%%%%%%  Formatting Setup  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newglossarystyle{acrolist}% style name
 {% base it on the "index" style
    \setglossarystyle{index}% 
    \renewcommand*{\glossentry}[2]{
        
        \item{\textbf{\glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}}}}
        \dotfill \space
        \glsentrylong{##1}
        % \space ##2 % page location 
    } 
 }
 
\setglossarystyle{listdotted}

\renewcommand\nomgroup[1]{%
  \item[\bfseries
  \ifstrequal{#1}{D}{Thermophysical Properties}{%
  \ifstrequal{#1}{E}{Electromagnetic Properties}{%
  \ifstrequal{#1}{K}{Coordinate Systems}{%
  \ifstrequal{#1}{C}{Constants}{%
  \ifstrequal{#1}{S}{Simulation Properties}{%
  \ifstrequal{#1}{Z}{Other Symbols}{}}}}}}%
]}

\renewcommand{\nomname}{List of Symbols}
% \renewcommand{\nompreamble}{The next list describes several symbols that will be later used within the body of the document}

%%%%%%%%%%%  Data  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\nomenclature[D]{$a$}{Thermal Diffusivity}
\nomenclature[D]{$c_p$}{Specific Heat Capacity}
\nomenclature[D]{$E$}{Young's Modulus}
\nomenclature[D]{$\nu$}{Poisson Ratio}
\nomenclature[D]{$\tens{\sigma}$}{Stress}
\nomenclature[D]{$\tens{\varepsilon}$, $\varepsilon_{el}$, $\varepsilon_{met}$, $\varepsilon_{th}$}{Strain and some sub-components: elastic, metallurgical, thermal}
\nomenclature[D]{$k$}{Thermal Expansion Coefficient}
\nomenclature[D]{$\lambda$}{Cooling Coefficient}
\nomenclature[D]{$T_C$}{Curie Temperature}
\nomenclature[D]{$\rho$}{Density}


\nomenclature[E]{$\mu$, $\mu_0$, $\mu_r$, $\mu_{r0}$}{Magnetic Permeability, Vacuum Permeability, Relative Permeability, and Relative Starting Permeability}
\nomenclature[E]{$\rho_{el}$}{Resistivity}
\nomenclature[E]{$U$}{Voltage}
\nomenclature[E]{$f$}{Frequency}
\nomenclature[E]{$\vect{A}$}{Vector Potential}
\nomenclature[E]{$\vect{B}$,$\vect{B}_{sat}$}{Magnetic Flux-Density and Magnetic Saturation Flux}
\nomenclature[E]{$\vect{D}$}{Electric Flux-Density}
\nomenclature[E]{$\vect{E}$}{Electric Field}
\nomenclature[E]{$\vect{H}$}{Magnetic Field}
\nomenclature[E]{$\vect{J}$}{Electrical Current}
\nomenclature[E]{$\varphi$}{electric Scalar Potential}

\nomenclature[K]{$x,y,z$}{Global Cartesian Coordinate System}
\nomenclature[K]{$\xi,\zeta,\eta$}{Relative Cartesian Coordinate System}
\nomenclature[K]{$r, \theta, z$}{Global Cylindrical Coordinate System}

%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

\newacronym{fem}{FEM}{Finite Element Method}
\newacronym{xrd}{XRD}{X-Ray Diffraction}
\newacronym{hexrd}{HEXRD}{High Energy X-Ray Diffraction}
\newacronym{mcl}{MCL}{Materials Center Leoben Forschungs GmbH}
\newacronym{ecs}{Engineering Center Steyr}{Engineering Center Steyr GmbH \& Co KG}
\newacronym{bmw}{BMW}{BMW Group Werk Steyr}
\newacronym{rve}{RVE}{Representative Volume Element}
\newacronym{trip}{TRIP}{Transformation Induced Plasticity}
\newacronym{cad}{CAD}{Computer Aided Design}
\newacronym{thd}{THD}{Total Harmonic Dissonance}



%%%%%%%%%%%  Actual Printing  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\tableofcontents

\printnomenclature[3cm]

\printglossary[type=\acronymtype,title=List of Abbreviations, toctitle=List of Abbreviations, nonumberlist]

\listoffigures

\listoftables
