Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Hall Effect Sensor
Posted 3 juil. 2012, 05:46 UTC−4 Low-Frequency Electromagnetics Version 4.2a, Version 5.2, Version 5.2a 10 Replies
Please login with a confirmed email address before reporting spam
i working with COMSOL 4.2a and i have problem about Hall effect...
my problem is:
- for weak Constraint if i use Constraint expression : shlag(2,'lm') my model couldn't solve!!!! and bring an error that:
------------------------------------------------------------------------------------------------------------------------
Syntax error in expression.
- Expression: -shlag(2,'lm')*test(mod1.lm)-test(shlag(2,'lm'))*mod1.lm
------------------------------------------------------------------------------------------------------------------------
i don't know why? please help me!
Please login with a confirmed email address before reporting spam
i think the problem is from weak constraint! how can i adjust it?
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I do not believe it's NOT that we do not want to help, but rather that we do not understand the question correctly, or exactly what in your model is not working.
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Hi! many thanks for your attention! i attached my model,
my problem is:
if i use "weak Constraint", my model couldn't solve!!!! and bring an error below:
------------------------------------------------------------------------------------------------------------------------
Failed to find a solution for the initial parameter.
Singular matrix.
There are 364 void equations (empty rows in matrix) for the variable mod1.lm.
at coordinates: (0.01,0.003), (0.00966667,0.003), (0.00983333,0.003), (0.01,0.00263238), (0.01,0.00281619), ...
and similarly for the degrees of freedom (empty columns in matrix).
Returned solution is not converged.
------------------------------------------------------------------------------------------------------------------------
i don't know why?
Attachments:
Please login with a confirmed email address before reporting spam
Why not check again tha all domains have materials defined, for me you miss a material and related physicsal constants, hence the error
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
thanks, ok, i define copper for contacts, and also i put "shlag(2,'lm')" in constraint expression!
but it bring error yet!!!
strange for me is, when i disable "weak constraint" it working!
would you please find attachment...
Attachments:
Please login with a confirmed email address before reporting spam
I disabled the weak constraint, as I'm not sure what the physical purpose is in this case... all of the geometric boundaries have conditions assigned via other nodes.
schlag seems to be an outdated function used to define a Lagrange shape function (see page 26, www.mscs.dal.ca/cluster/manuals/comsol/mlinterface.pdf) and is generally no longer used in the current version of comsol. Basically it's been replaced by the Discretization drop-down menu for weak constraint nodes.
As far as this particular simulation goes (opening it in 5.2a), there was a problem for me with the current conservation nodes' domain selection. Current Conservation 2 should be applied to the large silicon rectangle in the middle only, as it's here we'd like to implement the effective conductivity; everywhere else, the isotropic conductivity should be employed.
All in all, a neat little demonstration of modeling a Lorentz force without using a Lorentz Velocity Node (see AC/DC's mef module).
Attachments:
Please login with a confirmed email address before reporting spam
Is there a possibility to have your Hall effect sensor simulation in COMSOL 5.2 ?
Thanks.
Ma Men.
Please login with a confirmed email address before reporting spam
Please help me
Best
Ali
Please login with a confirmed email address before reporting spam
Perhaps the instructions here (evgeni.org/oldfish/Top_nine_hints_for_working_with_Comsol#What_this_allows_you_to_do) or here
(femlab_users.yahoogroups.narkive.com/Cf9oJliO/comsol-users-how-to-open-a-file-made-with-a-new-version-with-the-previous-one)
could be of use. I don't know much about transferring models between versions of Comsol, but check it out, there may be an easy way.
Best,
Christian
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.