Nils Malm
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Sep 25, 2012, 4:26 a.m. EDT
Hello John,
The error message you have encountered is usually caused by a division by zero somewhere in your expressions. In particular, if your conductivity expressions cannot be evaluated when the potential is constant (electric field is zero) you will encounter this problem already in the first solver iteration if your initial condition for the potential is constant.
If you expect the electric field to be nonzero everywhere, you can try to use some approximation of the expected field as initial condition (e.g., use a solution obtained with fixed conductivity). You may also want to try modifying expressions, e.g., by adding small offsets in denominators.
best regards
Nils Malm
COMSOL AB
Hello John,
The error message you have encountered is usually caused by a division by zero somewhere in your expressions. In particular, if your conductivity expressions cannot be evaluated when the potential is constant (electric field is zero) you will encounter this problem already in the first solver iteration if your initial condition for the potential is constant.
If you expect the electric field to be nonzero everywhere, you can try to use some approximation of the expected field as initial condition (e.g., use a solution obtained with fixed conductivity). You may also want to try modifying expressions, e.g., by adding small offsets in denominators.
best regards
Nils Malm
COMSOL AB
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Sep 25, 2012, 6:07 p.m. EDT
Thank you Nils, that seems to solve my problem!! I simply made an initial condition for potential that was non-zero and then added a very small offset in the denominator.
Regards,
John
Hello John,
The error message you have encountered is usually caused by a division by zero somewhere in your expressions. In particular, if your conductivity expressions cannot be evaluated when the potential is constant (electric field is zero) you will encounter this problem already in the first solver iteration if your initial condition for the potential is constant.
If you expect the electric field to be nonzero everywhere, you can try to use some approximation of the expected field as initial condition (e.g., use a solution obtained with fixed conductivity). You may also want to try modifying expressions, e.g., by adding small offsets in denominators.
best regards
Nils Malm
COMSOL AB
Thank you Nils, that seems to solve my problem!! I simply made an initial condition for potential that was non-zero and then added a very small offset in the denominator.
Regards,
John
[QUOTE]
Hello John,
The error message you have encountered is usually caused by a division by zero somewhere in your expressions. In particular, if your conductivity expressions cannot be evaluated when the potential is constant (electric field is zero) you will encounter this problem already in the first solver iteration if your initial condition for the potential is constant.
If you expect the electric field to be nonzero everywhere, you can try to use some approximation of the expected field as initial condition (e.g., use a solution obtained with fixed conductivity). You may also want to try modifying expressions, e.g., by adding small offsets in denominators.
best regards
Nils Malm
COMSOL AB
[/QUOTE]
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Sep 22, 2016, 8:00 p.m. EDT
Hey John and Nils,
I would like to design a material just like you did long ago. I am doing simulation in time domain, where the material anisotropic conductivity depends on the electric field. Would you please suggest me how to define the anisotropic conductivity matrix in the material section ?
Moreover, my sigma depends on Ey and Ex, how can I define the dependency in time domain ? Please kindly let me know.
Thanks,
Rishad
Hey John and Nils,
I would like to design a material just like you did long ago. I am doing simulation in time domain, where the material anisotropic conductivity depends on the electric field. Would you please suggest me how to define the anisotropic conductivity matrix in the material section ?
Moreover, my sigma depends on Ey and Ex, how can I define the dependency in time domain ? Please kindly let me know.
Thanks,
Rishad