Messages In This Digest (10 Messages)
- 1a.
- convergence problem From: dibyadeep
- 2a.
- Re: comsol moving mesh From: David Hopkins
- 2b.
- Re: comsol moving mesh From: alan agurto
- 3a.
- Re: A Problem about connecting COMSOL to SolidWorks, Error 2058 From: rickmorgans
- 5a.
- scale the geometry From: Maxim Vedenev
- 6.
- Basics: How to enter transient excitations and non-linear materials? From: tud_suchanek
- 7.
- simply support From: Chigo Lana
- 8.
- Comsol to Matlab From: emmanuel akowuah
Messages
- 1a.
-
convergence problem
Posted by: "dibyadeep" dibyadeep@gmail.com dibyadeep
Thu Jan 15, 2009 4:59 pm (PST)
Hii all,
I am trying to solve a linear pde equation, with exponential boundary
conditions. The equations are essentially a highly simplified version
of my actual set.
pde: del^2(phi)=0
bc1:V=0
bc2:V=0
bc3:V=5
bc4:-k*d(phi)/d(n)=i0* (exp(a1*V) -exp(-a2* V))
It is the fourth boundary condition which is causing the problem. When
I solve the equation with the default number of Newton steps it never
converges. I was able to solve the problem accurately, but had to
increase the number of steps to 500.
Is there anyother way to solve such problems? The actual set is much
more involved and complicated, so I am a bit concerned that if such a
simple equation takes so long to solve, how long a more complicated
set of equations might take.
I have dealt with COMSOL for quite a bit, but I never dealt with
non-linear problems and problems with such complicated couplings. It
would be great if some of you could atleast advice me on what path to
take, otherwise I fear I might have to ditch COMSOL and go for the
hard way of directly coding and using some numerical scheme to solve
the equations.
Sincerely
Dibyadeep
- 2a.
-
Re: comsol moving mesh
Posted by: "David Hopkins" dahopkins429@gmail.com dahopkins429
Thu Jan 15, 2009 4:59 pm (PST)
Could the scripts be posted here? I have a problem where there are
small deformation but large displacements.
Sincerely,
Dave Hopkins
On Thu, Jan 15, 2009 at 2:02 PM, Sebastien Boisseau
<boisseau.sebastien@gmail.com > wrote:
> Hello.
>
> ALE only works with small displacements... if you have big displacements,
> you will have to use scripts...
> I don't know what is your problem but if it is due to big displacements, i
> can send you an example of scripts that uses ALE.
> Best regards.
> On Thu, Jan 15, 2009 at 18:59, alan agurto <agoya2003@yahoo.com > wrote:
>>
>> Hi Chavan
>>
>> I also need some help about moving mesh.
>> I want to simulate a magnetic coupling dynamically, I want to monitor
>> speeds, torques and loads. If you can provide more info or tutoriall I would
>> really apretiate.
>>
>> Thanks in advance
>>
>> Alan
>>
>> --- El jue 15-ene-09, dhwajal chavan <dhwajal@yahoo.co.uk > escribió:
>>
>> De: dhwajal chavan <dhwajal@yahoo.co.uk >
>> Asunto: Re: [COMSOL_Users] comsol moving mesh
>> A: COMSOL_Users@yahoogroups. com
>> Fecha: jueves, 15 enero, 2009, 6:44 am
>>
>> Hi Mosoud,
>>
>> You can refer to the "Cantilever Beam" Tutorial of COMSOL MEMS module. Its
>> nicely explained over there. I have done some similar modeling with
>> different geometry. Let me know if you need the tutorial or have some
>> specific questions.
>>
>> All the best..
>>
>> Dhwajal
>>
>> masoud fakhrabadi <masoud_sf1363@ yahoo.com> wrote:
>>
>> Dear group members,
>>
>> I have problem in moving mesh)ALE method) in comsol.
>> Is there anybody to help me?
>>
>> Regards,
>>
>>
>>
>> _____________________ _________ __
>> ¡Todo sobre la Liga Mexicana de fútbol!
>> Estadisticas, resultados, calendario, fotos y más:
>> http://espanol.sports.yahoo. com/
>
>
- 2b.
-
Re: comsol moving mesh
Posted by: "alan agurto" agoya2003@yahoo.com agoya2003
Thu Jan 15, 2009 4:59 pm (PST)
Hi Sebastien
I am sending my model of 8 pole radial magnetic coupling.
I want to simulate a magnetic coupling dynamically to monitor speeds, transient torque and loads. The igner ring of magnet is the driver member and the outer one is the driving member. In subdomain setting for ALE, I have forced to rotate counterclockwise (CCW) the igner member, but I do not know how to set outer member to move under magnetic force.
I am sending you my model in case you can suggest something.
Thanks in advance
Alan
--- El jue 15-ene-09, Sebastien Boisseau <boisseau.sebastien@gmail.com > escribió:
De: Sebastien Boisseau <boisseau.sebastien@gmail.com >
Asunto: Re: [COMSOL_Users] comsol moving mesh
A: COMSOL_Users@yahoogroups. com
Fecha: jueves, 15 enero, 2009, 2:02 pm
Hello.
ALE only works with small displacements. .. if you have big displacements, you will have to use scripts...
I don't know what is your problem but if it is due to big displacements, i can send you an example of scripts that uses ALE.
Best regards.
On Thu, Jan 15, 2009 at 18:59, alan agurto <agoya2003@yahoo. com> wrote:
Hi Chavan
I also need some help about moving mesh.
I want to simulate a magnetic coupling dynamically, I want to monitor speeds, torques and loads. If you can provide more info or tutoriall I would really apretiate.
Thanks in advance
Alan
--- El jue 15-ene-09, dhwajal chavan <dhwajal@yahoo. co.uk> escribió:
De: dhwajal chavan <dhwajal@yahoo. co.uk>
Asunto: Re: [COMSOL_Users] comsol moving mesh
A: COMSOL_Users@ yahoogroups. com
Fecha: jueves, 15 enero, 2009, 6:44 am
Hi Mosoud,
You can refer to the "Cantilever Beam" Tutorial of COMSOL MEMS module. Its nicely explained over there. I have done some similar modeling with different geometry. Let me know if you need the tutorial or have some specific questions.
All the best..
Dhwajal
masoud fakhrabadi <masoud_sf1363@ yahoo.com> wrote:
Dear group members,
I have problem in moving mesh)ALE method) in comsol.
Is there anybody to help me?
Regards,
¡Todo sobre la Liga Mexicana de fútbol!
Estadisticas, resultados, calendario, fotos y más:
http://espanol. sports.yahoo. com/
¡Todo sobre la Liga Mexicana de fútbol! Estadisticas, resultados, calendario, fotos y más:<
http://espanol.sports.yahoo. com/
- 3a.
-
Re: A Problem about connecting COMSOL to SolidWorks, Error 2058
Posted by: "rickmorgans" rick.morgans@gmail.com rickmorgans
Thu Jan 15, 2009 4:59 pm (PST)
Check out solution 1033 in the comsol knowledge base, although it says
it is fixed for 3.5.
The problem in 3.4 was its a permissions issue with vista, and you
have to open a command window with administrative rights, and register
the dll by hand...
regsvr32 C:\comsol34\lib\win64\ flswinterface. dll
Get onto comsol support - I found them really helpful and fast in
solving the 3.4 issue for me.
Rick
--- In COMSOL_Users@yahoogroups. , "winter_marc8" <winter_marc8@com ...>
wrote:
>
> I got the same problem on Vista x64 SP1, Solidworks 2009 SP1, Comsol
> 3.5. The Add-In is shown in Solidworks and all check marks set
> there. The error persists. Both applications are installed on
d:\...\
>
> I believe another install won't change much, since the path
> solidworks->comsol add-in seems correct.
>
> Anything, beyond: "do what's written in the manual".
>
> --- In COMSOL_Users@yahoogroups. , "tlm7790" <tlmerrill@> wrote:com
> >
> > Solution via Comsol Support:
> > ===================== ========= ========= ========= ========= =========
> >
> > I believe that you need to install the Solidworks add-in. Please
> see
> > the following chapter in the the "Installation and Operations
> Guide"
> > manual for a description on how to install it:
> >
> > "Installing COMSOL on Windows"
> >
> > and the section
> >
> > "Adding the SolidWorks Live Connection to the CAD Import Module"
> >
> >
> > ===================== ========= ========= ========= ========= ========
> >
> > --- In COMSOL_Users@yahoogroups. , vahid reza adinehcom
> > <vahid_river@> wrote:
> > >
> > > Hello
> > > I have a problem. I can't make a live connection between
> COMSOL
> > and SolidWorks.
> > > The error number is :
> > > Error: 2058
> > > Failed to connect to SolidWorks.
> > >
> > > And Details:
> > > Exception:
> > > com.femlab.jni.FlNativeExceptio n: Failed to connect to
> SolidWorks
> > > Messages:
> > > Failed to connect to SolidWorks
> > > Stack trace:
> > > at solidworksimport.cpp, row 27, ()
> > > at com.femlab.geom.SolidWorksImport .createSolidWork sImport
> (Native
> > Method)
> > > at com.femlab.geom.SolidWorksImport .<init>(SourceFi le:45)
> > > at com.femlab.commands.i.evalOnServer( SourceFile: 102)
> > > at com.femlab.commands.FlCommand. runServerCode( SourceFile: 299)
> > > at com.femlab.server.ServerProxy. eval(SourceFile: 181)
> > > at com.femlab.commands.FlCommand. a(SourceFile: 327)
> > > at com.femlab.commands.FlCommand. eval(SourceFile: 172)
> > > at com.femlab.commands.k.a(SourceFile: 113)
> > > at com.femlab.gui.actions.FileActi on.a(SourceFile: 1114)
> > > at com.femlab.gui.actions.b. a(SourceFile: 1045)
> > > at com.femlab.gui.FlProgressThread .run(SourceFile: 62)
> > >
> > > Please Help me to solve this problem.
> > > BEST REGARDS.
> > >
> > >
> > > --------------------- --------- ---
> > > Choose the right car based on your needs. Check out Yahoo!
> Autos
> > new Car Finder tool.
> > >
> >
>
- 4.
-
Passing "a big number of" arguments/variables between Matlab & CMPh
Posted by: "Antti" antti.pohjoranta@hut.fi pohjoranta
Fri Jan 16, 2009 7:46 am (PST)
Hello all,
I searched for a while for messages written about the subject, but
none seemed to address this particular question; a handy way of
passing several (e.g. 20) function arguments between Matlab and Comsol
Multiphysics.
The GUI of CMP is super when defining complex (or even not so complex)
geometries and PDEs in these geometries/models. Matlab then again is
great when you want to do something fancy with the data and variables
of your Comsol model. Usually you calculate something in CMP with a
Matlab function by "starting CMP with Matlab" and calling the Matlab
function from Comsol, including the the necessary Comsol model
variables in the function arguments. This is ok and easy if the number
of arguments are moderate, but when you want to pass e.g. 15
coefficients or constants used in your Comsol model to a Matlab
function, maintaining the model becomes tedious.
If somebody here knows of a nice way to pass that bunch of arguments
over between Matlab and Comsol, I'd be more than glad to hear? For
instance, does Comsol (the GUI) somehow support using cell arrays or
structs to bundle up those arguments?
Many thanks for any help,
Antti Pohjoranta
Helsinki, Finland
- 5a.
-
scale the geometry
Posted by: "Maxim Vedenev" vedenev@yahoo.com vedenev
Fri Jan 16, 2009 7:47 am (PST)
Comsol has speciall button "scale" for geometry scaling on the left panel. Select all geomtry and push this button. Mesh scaling not scale geometry it is just different mehses on the same geometry
--------------------- --------- ------
Maxim Vedenev, Matlab+Comsol freelancer
http://simulations.narod.ru/ comsol
- 6.
-
Basics: How to enter transient excitations and non-linear materials?
Posted by: "tud_suchanek" suchanek@hst.tu-darmstadt.de tud_suchanek
Fri Jan 16, 2009 7:47 am (PST)
Hi everyone!
Since I'm very new to COMSOL, my questions might seem rather trivial.
I've just started to test COMSOL and already followed the Quick Start
Tutorial from the manual which already helped me a lot in
understanding COMSOL and enabled me to create a very basic model of
the problem I'd like to solve. Simply put, I want to inject electric
current into a defined geometry of materials and solve for the
distribution of the electric potential that results from the product
of impedance and current.
I've already done successfully that in a DC simulation and a
time-harmonic simulation, but I also want to do this with a transient
excitation, which brings me to my first question:
1. How can I define an arbitrary transient signal for an electric
(current) port? Both an analytical or a numerical (i.e. a table of
sample values) would be fine.
The second question regards the material itself. The material is
supposed to have an electrical conductivity sigma that depends on the
local gradient of the electric potential (which I want to solve for -
see above).
2. How can I define a material property that depends on a solver
variable? I'd prefer to have a table of values (i.e. a table that
assigns discrete material values to solver variable values) with an
automatic interpolation between the discrete values - magnetic
remanence of iron would be a good example for this.
And the third question:
3. Is it possible to draw geometries that are dependend on variables,
so that I can use them for a parametric solution? For example plot the
electric potential on a certain point over the varying length of an
object in the geometry?
Any help is appreciated - thanks in advance!
Kind regards,
Sebastian Suchanek
- 7.
-
simply support
Posted by: "Chigo Lana" chigolana@yahoo.com chigolana
Fri Jan 16, 2009 7:47 am (PST)
Dear All Users
Hello
I want to create a simply support boundary condition in 3D, Is there any one whom could guide me how I can do that?
Thank you
Best Regards
Lana
- 8.
-
Comsol to Matlab
Posted by: "emmanuel akowuah" mekoahh@yahoo.com mekoahh
Fri Jan 16, 2009 8:56 am (PST)
Hello everyone,
I am trying to connect comsol to matlab to enable me solve a problem which requires several iteration. I am currently developing the code. The problem I have is that I do not have a way to access postprocessing data. For example, I am dealing with an eigen value problems and I want a way to store the solution at each stage in a variable in matlab.
Could any one please help?
Thanks
Find cheap products online!!
- 9.
-
script:how to use previous solution in equation coefficients for nex
Posted by: "g79la" giacomopo@yahoo.it g79la
Fri Jan 16, 2009 10:51 am (PST)
Hi everybody,
I'm new to CMP and I'm trying to solve the following problem. For simplicity let's say that the
governing equation is:
div(c*grad(u))=f
with some BC on u.
I have no problem in setting up the BVP with a script (I use Matlab btw) but now what I would
like to do is iterate the solution changing fem.f as a function of the previous solution. Is this
possible?
Thanks in advance for your help,
Giacomo
Need to Reply?
Click one of the "Reply" links to respond to a specific message in the Daily Digest.
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Individual | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
沒有留言:
張貼留言