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
2011年11月28日 GMT-5 06:25
Hi
Jacobian error comes mostly from a non derivable BC condition, are you using Bollean values ? or an abs() max() min () etc
--
Good luck
Ivar
Hi
Jacobian error comes mostly from a non derivable BC condition, are you using Bollean values ? or an abs() max() min () etc
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2011年11月28日 GMT-5 06:29
Thanks for your response.
All the boundary conditions are differentiable except for the one where I integrate the step function. I must be doing that wrongly. My step function is called step1 and I simply added it to my boundary condition. How else can I link my step function to a parameter in my model?
Thanks for your response.
All the boundary conditions are differentiable except for the one where I integrate the step function. I must be doing that wrongly. My step function is called step1 and I simply added it to my boundary condition. How else can I link my step function to a parameter in my model?
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
2011年11月28日 GMT-5 11:13
Hi
your step function has a transition region, of a certain width, you should ensure that COMSOl is considering this width and that you force it to take a few steps along this transition, otherwise it appears like a Dirac step and the derivative estimator diverges. Check your stepping (time or Paramatric and see if you hit the transition region(s), and correct accordingly, by adding a few points. Note time stepping if in "automatic" might skip your values, then an "intermediate" stepping sequence would be more appropriate (or a strict)
--
Good luck
Ivar
Hi
your step function has a transition region, of a certain width, you should ensure that COMSOl is considering this width and that you force it to take a few steps along this transition, otherwise it appears like a Dirac step and the derivative estimator diverges. Check your stepping (time or Paramatric and see if you hit the transition region(s), and correct accordingly, by adding a few points. Note time stepping if in "automatic" might skip your values, then an "intermediate" stepping sequence would be more appropriate (or a strict)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年2月16日 GMT-5 09:01
Hi,
I think I have the same problem : I want to have one parameter (the temperature, in Global definitions) evolving during the time (as a step, or sinusoidal and with a step)... since it works with variables (for example : Name Text, Expression Tmoy+deltaT*sin(w*t), with Tmoy, deltaT and w defined in Parameters).
i tried with the function Step, and I copied the function name in Convective cooling>External temperature...or in the previous expression to replace Tmoy...
it appears the same error as the previous user !
however i didn't really understand your last explanation ...
Hi,
I think I have the same problem : I want to have one parameter (the temperature, in Global definitions) evolving during the time (as a step, or sinusoidal and with a step)... since it works with variables (for example : Name Text, Expression Tmoy+deltaT*sin(w*t), with Tmoy, deltaT and w defined in Parameters).
i tried with the function Step, and I copied the function name in Convective cooling>External temperature...or in the previous expression to replace Tmoy...
it appears the same error as the previous user !
however i didn't really understand your last explanation ...
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
2012年2月16日 GMT-5 17:38
Hi
if you define one or more steps in the middle of your stepping range, you should reduce the steps you define (and ask for intermediate or strict stepping, NOT free) to help the solver "see" the steps, otherwise the internal stepping algorith might skip the step and ignore it. The defaut solver is set up for typically exp type assymptotical models
I often use 2^{range(-3,1,4)} type time sequences for thermal cases, but with oscillating BCs a linear variable step is better
Do not foret to check the mesh density, material heat diffusivity and time minimum steps, these must match to avoid numerical issues (check the Forum)
--
Good luck
Ivar
Hi
if you define one or more steps in the middle of your stepping range, you should reduce the steps you define (and ask for intermediate or strict stepping, NOT free) to help the solver "see" the steps, otherwise the internal stepping algorith might skip the step and ignore it. The defaut solver is set up for typically exp type assymptotical models
I often use 2^{range(-3,1,4)} type time sequences for thermal cases, but with oscillating BCs a linear variable step is better
Do not foret to check the mesh density, material heat diffusivity and time minimum steps, these must match to avoid numerical issues (check the Forum)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
2012年3月12日 GMT-4 06:28
Hi,
I also have the same problem, I'm trying to simulate a 2D system with varying BC. I define a function step 1 that i try to associate to a heat source but i get this error
Syntax error in expression
-Expression: (0)+([W/m^3]E1)
-Subexpression:([W/m^3]E1)
-Position:5
Error in multiphysics compilation.
Error in automatic sequence generation.
Thanks
Kamelia
Hi,
I also have the same problem, I'm trying to simulate a 2D system with varying BC. I define a function step 1 that i try to associate to a heat source but i get this error
Syntax error in expression
-Expression: (0)+([W/m^3]E1)
-Subexpression:([W/m^3]E1)
-Position:5
Error in multiphysics compilation.
Error in automatic sequence generation.
Thanks
Kamelia
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
2012年3月12日 GMT-4 11:34
Hi
that looks like a typo, you should use "number (exponent) [units]" in this order, and abuse a little with the () 's to be sure COMSOL is getting the equations right.
I often copy my formulas into a temporary parameter to check the resulting value AND units, as forsome older version 1[Hz] = 1/1[s] is not the same as 1[Hz] = 1/(1/[s])
--
Good luck
Ivar
Hi
that looks like a typo, you should use "number (exponent) [units]" in this order, and abuse a little with the () 's to be sure COMSOL is getting the equations right.
I often copy my formulas into a temporary parameter to check the resulting value AND units, as forsome older version 1[Hz] = 1/1[s] is not the same as 1[Hz] = 1/(1/[s])
--
Good luck
Ivar