Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.09.2010, 10:22 GMT-4
Hi
normally you define it within COMSOL in the librbary module by defning a nw material and then defining the piecewise functions therein
--
Good luck
Ivar
Hi
normally you define it within COMSOL in the librbary module by defning a nw material and then defining the piecewise functions therein
--
Good luck
Ivar
Alejandro Rodriguez Perez
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.09.2010, 14:56 GMT-4
Hi,
I am calculating the transient field norm on an STM junction using electromagnetic waves. The dielectric constant of silver for the laser I am using is -27+.4*j. If I use time harmonic it solves no problem but if I use transient, which is what I need, it gives me:
Error:
Failed to find consistent initial values.
Undefined_value_found_Linsolv
NaN_or_Inf_found_when_solving_linear_system_using_SOR
If I use -27 it still gives me the error but if I use 5+.4*j it solves no problem. Does anybody know why it doesn't like -27+.4*j in transient calculations?
Thank you in advance.
Alejandro
Hi,
I am calculating the transient field norm on an STM junction using electromagnetic waves. The dielectric constant of silver for the laser I am using is -27+.4*j. If I use time harmonic it solves no problem but if I use transient, which is what I need, it gives me:
Error:
Failed to find consistent initial values.
Undefined_value_found_Linsolv
NaN_or_Inf_found_when_solving_linear_system_using_SOR
If I use -27 it still gives me the error but if I use 5+.4*j it solves no problem. Does anybody know why it doesn't like -27+.4*j in transient calculations?
Thank you in advance.
Alejandro
Alejandro Rodriguez Perez
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.09.2010, 14:57 GMT-4
.
.
Alejandro Rodriguez Perez
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.09.2010, 14:57 GMT-4
I apologize I posted 3 times by mistake.
I apologize I posted 3 times by mistake.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
21.09.2010, 19:35 GMT-4
Thanks for the reply.
Yes, I know how to define material property in material libary, but I do not know how to bulid the *.xml file, which can be used as a independent file or seperated file. It is very convenient if we can define the properties in a seperated file.
Thanks for the reply.
Yes, I know how to define material property in material libary, but I do not know how to bulid the *.xml file, which can be used as a independent file or seperated file. It is very convenient if we can define the properties in a seperated file.
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
22.09.2010, 01:45 GMT-4
Hi
indeed there is no save material file, but you can create it within COMSOL, put the material into a custom library in xml format and then you will find the file in your .../users.../.comsol directory.
This is valid for 3.5, in V4.0a I agree there seem to be no way to generate such a xml file, allthough COMSOL v4 can import one. The default format is the .mph, which is a zip type file, but therein the materials data is already reformatted into a propretary COMSOL xml format I see
--
Good luck
Ivar
Hi
indeed there is no save material file, but you can create it within COMSOL, put the material into a custom library in xml format and then you will find the file in your .../users.../.comsol directory.
This is valid for 3.5, in V4.0a I agree there seem to be no way to generate such a xml file, allthough COMSOL v4 can import one. The default format is the .mph, which is a zip type file, but therein the materials data is already reformatted into a propretary COMSOL xml format I see
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
22.09.2010, 08:31 GMT-4
Thanks so much. It does work well.
Thanks so much. It does work well.