#include <nlisotrmat.h>
Public Member Functions | |
double | get_c () |
double | get_k (double v) |
void | give_dof_names (namevart *dofname, long ntm) |
void | matcap (double &cc, long ri, long ci, long ipp) |
void | matcond (matrix &d, long ri, long ci, long ipp) |
void | matcond1d (matrix &d, long ri, long ci, long ipp) |
void | matcond2d (matrix &d, long ri, long ci, long ipp) |
void | matcond3d (matrix &d, long ri, long ci, long ipp) |
nlisotrmat (void) | |
void | print (FILE *out) |
void | read (XFILE *in) |
~nlisotrmat (void) | |
Public Attributes | |
double | a |
double | b |
double | c |
gfunct | k |
Definition at line 11 of file nlisotrmat.h.
nlisotrmat | ( | void | ) |
Definition at line 5 of file nlisotrmat.cpp.
~nlisotrmat | ( | void | ) |
Definition at line 18 of file nlisotrmat.cpp.
double get_c | ( | ) |
function creates specific heat of the isotropic material
c | - specific heat of the isotropic material |
Definition at line 228 of file nlisotrmat.cpp.
References c.
Referenced by matcap().
double get_k | ( | double | v | ) |
function creates conductivity coefficient of the isotropic material
v | - actual value of solved variable |
k | - conductivity coefficient of the isotropic material |
JK, 18.10.2007
Definition at line 210 of file nlisotrmat.cpp.
References gfunct::getval(), k, and Outt.
Referenced by matcond1d(), matcond2d(), and matcond3d().
void give_dof_names | ( | namevart * | dofname, | |
long | ntm | |||
) |
The function returns ordered dof names of primary unknowns required by the model.
dofname | - array of uknown name for particular nodal dofs (output) dofname[i] = name of i-th nodal unknown (for names see aliast.h - enum namevart) | |
ntm | - number of transported media = number of nodal dof = length of array dofname |
Created by Tomas Koudelka, 6.12.2013
Definition at line 168 of file nlisotrmat.cpp.
References print_err(), and trf_temperature.
void matcap | ( | double & | cc, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates capacity matrix of the material
c | - capacity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 191 of file nlisotrmat.cpp.
References get_c().
Referenced by med2::matcap(), and med1::matcap().
void matcond | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes conductivity matrix of the material in the required integration point
d | - conductivity matrix of material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 60 of file nlisotrmat.cpp.
References matcond1d(), matcond2d(), matcond3d(), and matrix::n.
Referenced by med2::matcond(), and med1::matcond().
void matcond1d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 1D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 94 of file nlisotrmat.cpp.
References intpointst::av, get_k(), transmat::ip, and Tm.
Referenced by matcond().
void matcond2d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 2D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 116 of file nlisotrmat.cpp.
References intpointst::av, fillm(), get_k(), transmat::ip, and Tm.
Referenced by matcond().
void matcond3d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 3D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 140 of file nlisotrmat.cpp.
References intpointst::av, fillm(), get_k(), transmat::ip, and Tm.
Referenced by matcond().
void print | ( | FILE * | out | ) |
function prints material parameters
out | - outut file |
JK, 18.10.2007
Definition at line 45 of file nlisotrmat.cpp.
Referenced by transmat::printmatchar().
void read | ( | XFILE * | in | ) |
function reads material parameters
in | - input file |
JK, 18.10.2007
Definition at line 29 of file nlisotrmat.cpp.
References c, k, gfunct::read(), and xfscanf().
Referenced by transmat::readmattype().
double a |
coefficient of conductivity has the form a*v+b v - unknown variable, in the case of heat transfer, v denotes the temperature
Definition at line 34 of file nlisotrmat.h.
Referenced by nlisotrmat(), and print().
double b |
Definition at line 34 of file nlisotrmat.h.
Referenced by nlisotrmat(), and print().
double c |
Definition at line 37 of file nlisotrmat.h.
Referenced by get_c(), nlisotrmat(), print(), and read().