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

2009年1月23日 星期五

[COMSOL_Users] Digest Number 1543

COMSOL_Users

Messages In This Digest (9 Messages)

1a.
high ratio meshing From: hdphuc85
1b.
Re: high ratio meshing From: Remi Audfray
2a.
Re: version 3.5 and now 3.5a From: Steven Conrad
2b.
Re: version 3.5 and now 3.5a From: niklas_rom
2c.
Re: version 3.5 and now 3.5a From: Bernard Mcgarvey
3a.
Smoothed Heaviside function. From: gavin
3b.
Smoothed Heaviside function. From: gavin
4a.
Re: minimum element quality From: laur_medi
5.
Time averaging in COMSOL From: Omar Al-Abbasi

Messages

1a.

high ratio meshing

Posted by: "hdphuc85" hdphuc85@yahoo.com   hdphuc85

Thu Jan 22, 2009 5:11 pm (PST)

Hi all,
I am trying to mesh a 3D tube. The base of the tube is a square of
2e-9m on each side, and the length of the tube is 2e-6m. With a high
ratio of 1/1000 like this, I found it difficult to mesh the tube. It
gave me error message all the time I tried to mesh it to better mesh.
I was only able to mesh it with the global free mesh mode of "normal".
Any specification of the maximum element size will give me an error
message. Does anyone have some experience on this? Please share.
Thank you.
Ph

1b.

Re: high ratio meshing

Posted by: "Remi Audfray" raudfray@yahoo.com   raudfray

Thu Jan 22, 2009 5:38 pm (PST)

Hi,

The best way to mesh this type of model is to use an extruded mesh. The idea is to mesh the face on one end of the tube, and then can extrude this mesh to the whole tube. This can be done using the 'swept mesh' tool in COMSOL 3.5.

I hope that helps,

Rémi

--- On Thu, 1/22/09, hdphuc85 <hdphuc85@yahoo.com> wrote:
From: hdphuc85 <hdphuc85@yahoo.com>
Subject: [COMSOL_Users] high ratio meshing
To: COMSOL_Users@yahoogroups.com
Date: Thursday, January 22, 2009, 8:50 PM

Hi all,

I am trying to mesh a 3D tube. The base of the tube is a square of

2e-9m on each side, and the length of the tube is 2e-6m. With a high

ratio of 1/1000 like this, I found it difficult to mesh the tube. It

gave me error message all the time I tried to mesh it to better mesh.

I was only able to mesh it with the global free mesh mode of "normal".

Any specification of the maximum element size will give me an error

message. Does anyone have some experience on this? Please share.

Thank you.

Ph











2a.

Re: version 3.5 and now 3.5a

Posted by: "Steven Conrad" sconrad@lsuhsc.edu   saconrad01

Thu Jan 22, 2009 10:00 pm (PST)


Domenico,

I have done this by embedding points and lines in a 3d geometry, which
then gives access to the data on these domains during postprocessing. I
presume this could be extended to a path in 3d space, but I've never
tried it.

Steve Conrad

--- In COMSOL_Users@yahoogroups.com, "domenico_lahaye" <d.lahaye@...>
wrote:
>
> Hi Pierre,
>
> This is to reassure you that you are not the only one
> using the AC/DC module in version 3.5. I am not aware
> of the details of your models. I am however actually
> quite happy with it as in version 3.5 I manage to do
> things I was not able to in version 3.4 (transient
> simulation of a kind of transformer in 3D, with good
> agreements with measurements).
>
> Best wishes, Domenico Lahaye.
>
>
> --- In COMSOL_Users@yahoogroups.com, "pierre Infelta"
> pierre.infelta@ wrote:
> >
> > I am desperate to see COMSOL do anything to fix the problems with
> > version 3.5.
> > I reported a bug in 3.5 . Using the AC/DC model, I solve a rather
> > simple problem, where i use a function to define a currentsource.
> > In 3.4,I have a program that works wonderfully. I get voltage and
> > integrated current that do make a lot of sense and actually
> > corresponds very well with some of our experimental results.
> >
> > I run the same progam in 3.5 and the results are all wrong,
erroneous
> > voltage maps, erroneous integrated current....
> > I reported this problem end of october 2008.
> > I finally got version 3.5a which is supposed to resolve a number of
> > issues. It does not fix my problem.
> > I feel like I am the only one using the AC/DC module.
> > If you use this module with 3.5 or 3.5a, your results may be
completely
> > wrong!!!!
> > HOPE THAT COMSOL FIXES THIS THING!!
> >
>

2b.

Re: version 3.5 and now 3.5a

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

Fri Jan 23, 2009 8:14 am (PST)

That problem was unrelated to the the AC/DC module. The best way to
circumvent it is to define the expression in Options->Expressions.
There is a detailed workaround instruction here:
http://www.comsol.com/support/knowledgebase/1039/

Also, to avoid any misunderstandings: there is full backward
compatibility between 3.4 and 3.5.

kind regards,
Niklas Rom, COMSOL

--- In COMSOL_Users@yahoogroups.com, "domenico_lahaye" <d.lahaye@...>
wrote:
>
> Hi Pierre,
>
> This is to reassure you that you are not the only one
> using the AC/DC module in version 3.5. I am not aware
> of the details of your models. I am however actually
> quite happy with it as in version 3.5 I manage to do
> things I was not able to in version 3.4 (transient
> simulation of a kind of transformer in 3D, with good
> agreements with measurements).
>
> Best wishes, Domenico Lahaye.
>
>
> --- In COMSOL_Users@yahoogroups.com, "pierre Infelta"
> <pierre.infelta@> wrote:
> >
> > I am desperate to see COMSOL do anything to fix the problems with
> > version 3.5.
> > I reported a bug in 3.5 . Using the AC/DC model, I solve a rather
> > simple problem, where i use a function to define a currentsource.
> > In 3.4,I have a program that works wonderfully. I get voltage and
> > integrated current that do make a lot of sense and actually
> > corresponds very well with some of our experimental results.
> >
> > I run the same progam in 3.5 and the results are all wrong, erroneous
> > voltage maps, erroneous integrated current....
> > I reported this problem end of october 2008.
> > I finally got version 3.5a which is supposed to resolve a number of
> > issues. It does not fix my problem.
> > I feel like I am the only one using the AC/DC module.
> > If you use this module with 3.5 or 3.5a, your results may be
completely
> > wrong!!!!
> > HOPE THAT COMSOL FIXES THIS THING!!
> >
>

2c.

Re: version 3.5 and now 3.5a

Posted by: "Bernard Mcgarvey" mcgarvey.bernard@att.net   bernardmcgarvey

Fri Jan 23, 2009 8:14 am (PST)

Steve, can you embed points/lines without changing the mesh? - and if so, how does one do it?
 Bernard McGarvey, Ph.D.

________________________________
From: Steven Conrad <sconrad@lsuhsc.edu>
To: COMSOL_Users@yahoogroups.com
Sent: Thursday, January 22, 2009 9:45:49 PM
Subject: [COMSOL_Users] Re: version 3.5 and now 3.5a

Domenico,

I have done this by embedding points and lines in a 3d geometry, which
then gives access to the data on these domains during postprocessing. I
presume this could be extended to a path in 3d space, but I've never
tried it.

Steve Conrad

--- In COMSOL_Users@ yahoogroups. com, "domenico_lahaye" <d.lahaye@.. .>
wrote:
>
> Hi Pierre,
>
> This is to reassure you that you are not the only one
> using the AC/DC module in version 3.5. I am not aware
> of the details of your models. I am however actually
> quite happy with it as in version 3.5 I manage to do
> things I was not able to in version 3.4 (transient
> simulation of a kind of transformer in 3D, with good
> agreements with measurements) .
>
> Best wishes, Domenico Lahaye.
>
>
> --- In COMSOL_Users@ yahoogroups. com, "pierre Infelta"
> pierre.infelta@ wrote:
> >
> > I am desperate to see COMSOL do anything to fix the problems with
> > version 3.5.
> > I reported a bug in 3.5 . Using the AC/DC model, I solve a rather
> > simple problem, where i use a function to define a currentsource.
> > In 3.4,I have a program that works wonderfully. I get voltage and
> > integrated current that do make a lot of sense and actually
> > corresponds very well with some of our experimental results.
> >
> > I run the same progam in 3.5 and the results are all wrong,
erroneous
> > voltage maps, erroneous integrated current....
> > I reported this problem end of october 2008.
> > I finally got version 3.5a which is supposed to resolve a number of
> > issues. It does not fix my problem.
> > I feel like I am the only one using the AC/DC module.
> > If you use this module with 3.5 or 3.5a, your results may be
completely
> > wrong!!!!
> > HOPE THAT COMSOL FIXES THIS THING!!
> >
>

3a.

Smoothed Heaviside function.

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

Fri Jan 23, 2009 8:08 am (PST)

Hi guys,

I have a cosine function dependent on the time t. The value of cosine changes much with different size of time step which means that the solution also change much. This is not good for my case. I am thinking use a function like flc1hs to get my consine value but not to much dependent size of time step. But I know flc1hs function just gives range between 1 to 0 by using flc1hs(cos(t/T), 0.01) with period T. Actually, I need a range from 1 to -1. Could anybody give any suggetions or ideas?

I appreciate.

Regards,
Gavin

__________________________________________________________
好玩贺卡等你å',邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
3b.

Smoothed Heaviside function.

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

Fri Jan 23, 2009 8:14 am (PST)

Hi guys,

I have a cosine function dependent on the time t on a boundary. But the
value of cosine changes much with different size of time step which
means that the solution also change much. This is not good for my case.
I am thinking use a function like flc1hs to get my consine value but
not to much dependent size of time step. I know flc1hs function
just gives range between 1 to 0 by using flc1hs(cos(t/T), 0.01) with
period T. Actually, I need a range from 1 to -1. Could anybody give any
suggestions or ideas?

I appreciate.

Regards,
Gavin

__________________________________________________________
好玩贺卡等你å',邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
4a.

Re: minimum element quality

Posted by: "laur_medi" tobi_wag@web.de   laur_medi

Fri Jan 23, 2009 8:14 am (PST)

--- In COMSOL_Users@yahoogroups.com, Alex MN <alemns@...> wrote:
>
>
> Guys,From the "Mesh Statistics" Menu, does someone here knows how
the "minimum element quality" is calculated? I've been told that it
should not be less than 0.01, but I'm getting one order of magnitude
lower values (~1e-4). Also, the same for "element volume ratio", how
is it calculated ?....for this one I'm getting 1e-5.I have to say that
my geometries have huge aspect ratios (few "cm" in the x,y-direction
and few "nm" in the z-direction), it's a 3D model. I've replied one
post here few days ago about that, but had no answer...and I posted
here few weeks ago...had couple of answers that help me a little bit
but still didn't solve my problem. My issue is that my simulations are
mesh-dependent.I notice one user complaining about having different
results when using Comsol 3.4 and 3.5 for the AC/DC module. I use the
conductive media DC all the time and used to work with version 3.2 and
now 3.5. Indeed, I noticed a small difference in my results, but not
much and I'm just ignoring right now until I resolve my other
issue.Any comments/suggestions will be highly appreciated!Thanks
> __________________________________________________________
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/windows/windowslive/
>
Hi!
I am not sure how the mesh quality is calculated, but as far as I know
it is just geometric ratio. If you have for example a boundary layer
mesh in a flow calculation where the extension in X is larger than in
Y direction (in 2D), the mesh quality will be low. Due to greater
changes in velocity the flow needs to be resolved finer perpendicular
to a wall (here in Y direction) than along the wall (here in X
direction) the pour elements quality is not a problem. So, if from a
physical point of view this kind of ration seams reasonable, I think
it should be ok.
Best regards

5.

Time averaging in COMSOL

Posted by: "Omar Al-Abbasi" omabbasi@gmail.com   omabbasi911

Fri Jan 23, 2009 8:14 am (PST)

Hi everyone,

I am solving a transient fluid flow problem in a closed channel. I want to
get the averaged velocity field of the domain over the entire time.
Is there away to do it using the GUI.

Appreciating any suggestions.

Omar
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Biz Resources

Y! Small Business

Articles, tools,

forms, and more.

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

沒有留言: