純脆方便自己管理四處回文的部落格

2008年11月24日 星期一

[COMSOL_Users] Digest Number 1493

COMSOL_Users

Messages In This Digest (5 Messages)

Messages

1a.

Re: Integration over time

Posted by: "niklas_rom" niklas@comsol.com   niklas_rom

Mon Nov 24, 2008 9:01 am (PST)

Hi Trung, see knowledge base solution 913
http://www.comsol.com/support/knowledgebase/913/

Niklas Rom
niklas@comsol.com
COMSOL
--- In COMSOL_Users@yahoogroups.com, "trungduck" <trungduck@...> wrote:
>
> I have read somewhere in previous topics about integration over time
> but I really need some specific instructions. The problem is simple, I
> need to compute the integration of a flow over time along a boundary.
> In short, I'm after integration from 0 to t of (N*V*dt) along a
> boundary (a line) where N is concentration and V velocity. Any help
> will be much appreciated.
>
> Thanks
> Trung
>

2.

Diffusion potential and NP eq. in COMSOL

Posted by: "bantam61" bantam61@yahoo.co.uk   bantam61

Mon Nov 24, 2008 9:05 am (PST)

Dear COMSOL users

I am using the Nernst-Planck model (with electroneutrality
assumption) of the Chem. Eng. module for the first time. To get
familiar with it, I started with a simple system: The simulation of
the liquid junction potential (or diffusion potential) between two
electrolyte solutions. This is a simple 1-dimensional problem.

My simulation results for different concentrations and/or for
different kind of electrolyte salts are qualitative in agreement with
analytical approximations, that is if I change the concentrations or
mobilities (diffusion coefficients) of the ions, my simulated
potentials are changing in the right direction. However, the
potential values are wrong. Here are three examples

Electrolyte 1 Electrolyte 2 Sim. Pot./V Calc. Pot./V
1.0 M HCl 1.0 M KCl -27.90E-8 -26.85E-3
1.0 M KCl 0.1 M KCl -1.15E-8 -1.12E-3
0.1M KCl 1.0 M KCl 1.15E-8 1.12E-3

For calculated potentials I used the Henderson equation. The
calculated potentials also agree with data taken from the literature.
There is a 5 order of magnitude difference between COMSOL simulations
and the calculations using an explicit formula. I am using SI units
throughout the simulations and can not find any error regarding
dimensions.

I am using the time dependent (transient) NP model. However, the
steady state is reached very quickly. I am starting with linear
concentration profiles for the ionic species in the subdomain, simply
connecting the boundary concentrations at both ends with a straight
line.

If someone has dealt with a similar problem, maybe he/she can help
me? I can send the mph file (COMSOL 3.5). If more details are needed,
please ask.

Best regards
Joe

3.

Linux - COMSOL starting with MATLAB

Posted by: "Lude(k Pešek" pesek@it.cas.cz   ludek_pesek

Mon Nov 24, 2008 9:05 am (PST)


Dear Comsol users,

I am struggling with linkage of COMSOL and MATLAB applications under
Linux. It looks like that at the start after creating classpath.txt in
home directory Matlab doesn't start and gives the next error message:

[comsol@zdislava ~]$ comsol matlab
cat: /.VERSION: No such file or directory
libmwblas: load error:
/usr/matlab/bin/glnxa64/../../sys/os/glnxa64/libirc.so: cannot restore
segment prot after reloc: Permission denied
terminate called after throwing an instance of 'std::runtime_error'
what(): /usr/matlab/bin/glnxa64/../../sys/os/glnxa64/libirc.so:
cannot restore segment prot after reloc: Permission denied
/usr/local/bin/comsol: line 1027: 31940 Aborted ${MLCMD}
${MLARGS} ${MLR} "${MLRUN}"
[comsol@zdislava ~]$

Probably there is some problem with comunication between COMSOL and
MATLAB in JAVA envirenment.

Has anybody an experience with that and give me hint how to overcome
this problem?
We use COMSOL 3.4 version and the latest MATLAB2008b under Linux RedHat
Enterprise 5 (64bit machine).
Thank you in advance for any help.

Ludek Pesek.

----------

/usr/local/comsol34/plugins/jar/aco.jar
/usr/local/comsol34/plugins/jar/api.jar
/usr/local/comsol34/plugins/jar/cad.jar
/usr/local/comsol34/plugins/jar/cfd.jar
/usr/local/comsol34/plugins/jar/chem.jar
/usr/local/comsol34/plugins/jar/commands.jar
/usr/local/comsol34/plugins/jar/controls.jar
/usr/local/comsol34/plugins/jar/em.jar
/usr/local/comsol34/plugins/jar/es.jar
/usr/local/comsol34/plugins/jar/geom.jar
/usr/local/comsol34/plugins/jar/gui.jar
/usr/local/comsol34/plugins/jar/heat.jar
/usr/local/comsol34/plugins/jar/help.jar
/usr/local/comsol34/plugins/jar/icons.jar
/usr/local/comsol34/plugins/jar/jline.jar
/usr/local/comsol34/plugins/jar/jni.jar
/usr/local/comsol34/plugins/jar/mems.jar
/usr/local/comsol34/plugins/jar/mesh.jar
/usr/local/comsol34/plugins/jar/opt.jar
/usr/local/comsol34/plugins/jar/parser.jar
/usr/local/comsol34/plugins/jar/poi.jar
/usr/local/comsol34/plugins/jar/post.jar
/usr/local/comsol34/plugins/jar/print.jar
/usr/local/comsol34/plugins/jar/reaction.jar
/usr/local/comsol34/plugins/jar/report.jar
/usr/local/comsol34/plugins/jar/script.jar
/usr/local/comsol34/plugins/jar/server.jar
/usr/local/comsol34/plugins/jar/simulation.jar
/usr/local/comsol34/plugins/jar/sme.jar
/usr/local/comsol34/plugins/jar/solver.jar
/usr/local/comsol34/plugins/jar/symbols.jar
/usr/local/comsol34/plugins/jar/util.jar
/usr/local/comsol34/plugins/jar/view.jar
/usr/local/comsol34/plugins/jar/xfiles.jar
/usr/local/comsol34/plugins/jar/xmesh.jar
4a.

Direct (Pardiso) solver - Automatic shutdown of COMSOL

Posted by: "Alex Pandian" ghost_of_the_dracula@yahoo.co.in   ghost_of_the_dracula

Mon Nov 24, 2008 9:06 am (PST)

Hello,

I have been trying to use the DIRECT PARDISO solver tfor my COMSOL 3.4 simulations. I am facing the problem of automatic shut down of the software upon trying to run the simulation. Whereas convergence is the problem with the other solvers, Direct PARDISO is creating this problem.

I was wondering if anyone else is in the simular situation, if so what could be done to rectify this problem !?

Thanks,
Arvind

Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
4b.

»Ø¸´£º [COMSOL_Users] Direct (Pardiso) solver - Automatic shutdow

Posted by: "gavin" liugx_2@yahoo.com.cn   liugx_2

Mon Nov 24, 2008 10:27 am (PST)

Hi Arvind,

Is there any message when the software shut down?

I do not know how many grids you have. If it is not too much, maybe you can try the solver UMFPACK, It looks like also can use multi cores.

Good luck
Gavin

--- 08å¹´11月25日,å'¨äºŒ, Alex Pandian <ghost_of_the_dracula@yahoo.co.in> 写é":
å'件人: Alex Pandian <ghost_of_the_dracula@yahoo.co.in>
主题: [COMSOL_Users] Direct (Pardiso) solver - Automatic shutdown of COMSOL
æ"¶ä»¶äºº: COMSOL_Users@yahoogroups.com
日期: 2008,1125,å'¨äºŒ,12:18上午

Hello,

I have been trying to use the DIRECT PARDISO solver tfor my COMSOL 3.4 simulations. I am facing the problem of automatic shut down of the software upon trying to run the simulation. Whereas convergence is the problem with the other solvers, Direct PARDISO is creating this problem.

I was wondering if anyone else is in the simular situation, if so what could be done to rectify this problem !?

Thanks,
Arvind

Add more friends to your messenger and enjoy! Invite them now.












__________________________________________________________
好玩贺卡等你å',邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Sell Online

Start selling with

our award-winning

e-commerce tools.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Need to Reply?

Click one of the "Reply" links to respond to a specific message in the Daily Digest.

Create New Topic | Visit Your Group on the Web

沒有留言: