BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
example_user_material.cpp File Reference
#include <belfem_user_api>
Include dependency graph for example_user_material.cpp:

Functions

real my_resistivity (const Material *mat, real T)
 Custom electrical resistivity function.
real my_specific_heat (const Material *mat, real T)
 Custom specific heat function.
real my_thermal_conductivity (const Material *mat, real T)
 Custom thermal conductivity function.
void MyAlloy_init (Material *mat)
real my_jc (const Material *mat, real normB, real angleNxB, real T)
real my_n (const Material *mat, real normB, real angleNxB, real T)
void MySuperconductor_init (Material *mat)

Function Documentation

◆ my_jc()

real my_jc ( const Material * mat,
real normB,
real angleNxB,
real T )

◆ my_n()

real my_n ( const Material * mat,
real normB,
real angleNxB,
real T )

◆ my_resistivity()

real my_resistivity ( const Material * mat,
real T )

Custom electrical resistivity function.

Parameters
matPointer to material (allows access to other properties)
TTemperature [K]
Returns
Electrical resistivity [Ω·m]

◆ my_specific_heat()

real my_specific_heat ( const Material * mat,
real T )

Custom specific heat function.

Parameters
matPointer to material
TTemperature [K]
Returns
Specific heat capacity [J/(kg·K)]

◆ my_thermal_conductivity()

real my_thermal_conductivity ( const Material * mat,
real T )

Custom thermal conductivity function.

Parameters
matPointer to material
TTemperature [K]
Returns
Thermal conductivity [W/(m·K)]

◆ MyAlloy_init()

void MyAlloy_init ( Material * mat)

◆ MySuperconductor_init()

void MySuperconductor_init ( Material * mat)