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

2009年1月19日 星期一

[COMSOL_Users] Digest Number 1539

Messages In This Digest (6 Messages)

Messages

1.

Interpolation a function with time.

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

Sun Jan 18, 2009 12:00 pm (PST)

Hi Guys,

I have data which it is a function with time.
For example,

Time (hours)           data
0           1
6           0
12         -1
18         -0
24          1

I already put these number in the table of interpolation. But I was told that the error as belows when I call this function by name data(t).

The error:
Error: 6080
Interpolation grid axis values must be sorted in ascending order in each dimension.

In fact, as above data shown, I've  already sorted it as ascending. But why is it still error? Is the data possible interpolated with time t? I appreciate any suggestions from you.

Gavin

__________________________________________________________
好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/
2.

propagation constant

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

Mon Jan 19, 2009 5:53 am (PST)

Hi all,

In rf module, for the port boundary condition how the propagation
constant is being calculated? Is it with eigenvalue analysis or
different formulation. It isn't clear in the documentation or I
couldn't find anyway.

Thanks

3a.

Question about: save as a .M data

Posted by: "xiaolong ma" joytuhh@yahoo.de   joytuhh

Mon Jan 19, 2009 7:59 am (PST)

Dear all,
 
If a model is saved in .m form, all steps will be registered in the .m data. The data is then very complex and unclear. For a large model with much steps (sometimes many try steps) the data could be too big. So my question is, if I can get a simple data with only the end situation of my model. For example, with ABAQUS an input data can be achieved with the follwing informations: Geometry (point, element and element types), boundary conditions, initial conditions, solver and plot. It's just the last situation of the model. alle the intermediate steps are not registerd, which are also not important for the solving.

Another advantage of the ABAQUS input data is: it just save the geometry information, not the steps, with which I have gotten the geometry. For example, it shows in the data: point: n, x, y, z, not the draw information. Is it also possible to get such input data with comsol?
 
Do anyone has an idea about it?
 
Best regards
 
Lars Ma

3b.

Re: Question about: save as a .M data

Posted by: "Sebastien Boisseau" boisseau.sebastien@gmail.com   seb1085

Mon Jan 19, 2009 9:24 am (PST)

Hello.

First, you can try to "reset model" in "file" before saving : it writes only
the important steps in the .m file.

Hope it helps.

On Mon, Jan 19, 2009 at 16:27, xiaolong ma <joytuhh@yahoo.de> wrote:

> Dear all,
>
> If a model is saved in .m form, all steps will be registered in the .m
> data. The data is then very complex and unclear. For a large model with much
> steps (sometimes many try steps) the data could be too big. So my question
> is, if I can get a simple data with only the end situation of my model. For
> example, with ABAQUS an input data can be achieved with the follwing
> informations: Geometry (point, element and element types), boundary
> conditions, initial conditions, solver and plot. It's just the last
> situation of the model. alle the intermediate steps are not registerd, which
> are also not important for the solving.
>
> Another advantage of the ABAQUS input data is: it just save the geometry
> information, not the steps, with which I have gotten the geometry. For
> example, it shows in the data: point: n, x, y, z, not the draw information.
> Is it also possible to get such input data with comsol?
>
> Do anyone has an idea about it?
>
> Best regards
>
> Lars Ma
>
>
>
3c.

Re: Question about: save as a .M data

Posted by: "xiaolong ma" joytuhh@yahoo.de   joytuhh

Mon Jan 19, 2009 12:40 pm (PST)

Thanks a lot. It's exactly the solution for my first questions, after which I have searched.

--- Sebastien Boisseau <boisseau.sebastien@gmail.com> schrieb am Mo, 19.1.2009:

Von: Sebastien Boisseau <boisseau.sebastien@gmail.com>
Betreff: Re: [COMSOL_Users] Question about: save as a .M data
An: COMSOL_Users@yahoogroups.com
Datum: Montag, 19. Januar 2009, 17:16

Hello.
 
First, you can try to "reset model" in "file" before saving : it writes only the important steps in the .m file.
 
Hope it helps.

 
On Mon, Jan 19, 2009 at 16:27, xiaolong ma <joytuhh@yahoo. de> wrote:

Dear all,
 
If a model is saved in .m form, all steps will be registered in the .m data. The data is then very complex and unclear. For a large model with much steps (sometimes many try steps) the data could be too big. So my question is, if I can get a simple data with only the end situation of my model. For example, with ABAQUS an input data can be achieved with the follwing informations: Geometry (point, element and element types), boundary conditions, initial conditions, solver and plot. It's just the last situation of the model. alle the intermediate steps are not registerd, which are also not important for the solving.

Another advantage of the ABAQUS input data is: it just save the geometry information, not the steps, with which I have gotten the geometry. For example, it shows in the data: point: n, x, y, z, not the draw information. Is it also possible to get such input data with comsol?
 
Do anyone has an idea about it?
 
Best regards
 
Lars Ma

4a.

Re: Basics: How to enter transient excitations and non-linear materi

Posted by: "tud_suchanek" suchanek@hst.tu-darmstadt.de   tud_suchanek

Mon Jan 19, 2009 9:24 am (PST)

--- In COMSOL_Users@yahoogroups.com, "tud_suchanek" <suchanek@...>

Hi everyone!

> [...]
> 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).
> [...]

OK, after some more RTFM I figured that one out myself: There's a good
description of the steps that have to be done in the COMSOL User Guide
from page 236 onward.
For other reader who might be interested in that: I created a new
function via "Options" menu -> "Functions...", chose "Interpolation"
from "Table" and named the function "sigma". In the subdomain dialog
box, I entered "sigma(normE_emdc)" in the sigma-field of the subdomain
in question. That's it.

I guess the transient excitation question from my original post can be
solved in much the same way, but I'll experiment with that another day.

That leaves my third question about the parametric geometry unanswered
so far. Any hints on that one?

Kind regards,

S. Suchanek

Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Sell Online

Start selling with

our award-winning

e-commerce tools.

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

沒有留言: