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
Nov 28, 2011, 6:25 a.m. EST
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
Nov 28, 2011, 6:29 a.m. EST
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
Nov 28, 2011, 11:13 a.m. EST
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
Feb 16, 2012, 9:01 a.m. EST
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
Feb 16, 2012, 5:38 p.m. EST
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
Mar 12, 2012, 6:28 a.m. EDT
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
Mar 12, 2012, 11:34 a.m. EDT
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