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

2008年12月30日 星期二

[COMSOL_Users] Digest Number 1520

Messages In This Digest (10 Messages)

1a.
Re: coaxial cable and connector modeling help From: Predrag
2a.
Re: Same old _ out of memory From: freelsjd32289
3a.
Re: Modelization of an EHD (electrostatic precipitator) From: 2391096
4.
How to plot a customized curve in COMSOL? From: puzhang0702
5.
Problem changing from 2D to 3D From: fabriziomoretti38
6.
(no subject) From: umakaviyaeee
7a.
modelling coil From: Luca Puviani
7b.
Re: modelling coil From: shinoy
8.
Successful models From: Slava
9.
R: [COMSOL_Users] modelling coil From: bmw3@inwind.it

Messages

1a.

Re: coaxial cable and connector modeling help

Posted by: "Predrag" psunjka@yahoo.com   psunjka

Mon Dec 29, 2008 8:04 pm (PST)

--- In COMSOL_Users@yahoogroups.com, "mingflai" <mingflai@...> wrote:
>
> Hi there,
>
> I'm a newbie to COMSOL. I'm trying to create a simple coaxial cable
> model and connector model with COMSOL and don't know where to start.
> Does anyone have some sample and instruction to get me started. I do
> really appericate the help.
>
> Ming
>
Hello Ming,

did you have any luck with your model? I have to build a similar model
(coaxial>>>connector>>>antenna>>>waveguide), and still learning the
process. Fortunately, COMSOL included a similar model in their
library, but the explanation itself is very brief and doesn't go into
details. If you have anything to share, it will be very appreciated.

Predrag

2a.

Re: Same old _ out of memory

Posted by: "freelsjd32289" freelsjd@ornl.gov   freelsjd32289

Mon Dec 29, 2008 8:04 pm (PST)

--- In COMSOL_Users@yahoogroups.com, "freelsjd32289" <freelsjd@...> wrote:
>
> --- In COMSOL_Users@yahoogroups.com, "ta_wan2006" <ta_wan2006@> wrote:
> >
> > I hate to say that-- when the solver pop up #### out of memory. It is
> > realy made me mad about that. I have been used many commercial
> > software. The most and frequently to see the small reply window "####
> > out of memory" should be Comsol. Is the user problems or the software-
> > itself problem?
> >
>
> 32bit or 64bit ?
>
> what kind of solver are you using ?
>

See the following help available to registered COMSOL users:

http://www.comsol.com/support/knowledgebase/1030/

Solution Number: 1030
Title: Error message: "Out of memory"
Platform: All Platforms
Applies to: All Products
Versions: 3.3, 3.4
Created: April 29, 2008
Last Modified: August 15, 2008
Categories: Solver, Postprocessing, Error Messages
Keywords: memory, geometry, mesh
Description

The error message "Out of memory" occurs mostly on 32-bit platforms,
due to the inherent limit in memory address space. We recommend a
64-bit system (for example Windows XP 64-bit Edition, Vista 64-bit or
a 64-bit Linux version) for any user with sizable models. For those
users who are still restricted to a 32-bit platform, this Knowledge
Base solution will give some guidance how to get the most out of your
system.
Introduction

A 32-bit processor system (for example Windows XP) can potentially
allocate up to 4 GB of memory, but in most practical cases only 1.5 GB
due to operating system footprint. This is regardless of how big you
set the swap space. Some 32-bit operating systems require special
settings to be able to use high amounts of memory.
Software Settings

There are several ways of increasing the available memory for the solvers.
Tuning the Java heap size

Of the available memory (RAM and virtual memory), one section, the
Java heap, is reserved for Java and will be used for graphics and
postprocessing. The rest will be available for meshing and solving. If
the out-of-memory message appears during the solution progress, you
can decrease the Java heap size. If you get out-of-memory during
postprocessing, increase the Java heap.

On Windows, modify the file COMSOL34/bin/comsol.opts and on
Sun/Linux/Mac OSX, modify the file COMSOL34/bin/comsol. Change the
line MAXHEAP=256m to for example MAXHEAP=128m. You need to restart
COMSOL for the change to apply.
Running client-server mode

Sometimes it can be favorable to run client/server mode because a
separate server has less memory fragmentation problems. If you want to
change the Java heap on a COMSOL server, follow the intstructions
above but modify the MAXHEAPSERVER line instead.
Running COMSOL with MATLAB

Similarly, if you run out of memory while saving an mph-file from the
COMSOL with MATLAB, change the value of the MAXHEAPSERVER line.
Virtual Memory and Swap Space for 32-bit architecture

Increasing the swap file size on the system is only interesting if you
can live with the notable slowness in operation that occurs as soon as
the hard disk swapping starts. In many cases, hard disk swapping is
not an option.

In Windows XP, you only have 2 GB of virtual address space available
initially for a user process. This memory space is also sometimes
fragmented by shared libraries. On Linux, Sun, and Mac, you typically
get between 3-4 GB of virtual address space available for your
process. This address space is usually not fragmented.
3 GB switch

COMSOL Multiphysics supports the option in Windows XP Professional and
Windows 2003 Server to have 3 GB of virtual address space available
for user processes. This reduces the available address space for the
operating system to 1 GB. To access it you must boot the system using
an additional boot parameter. The following example shows how to
enable application memory tuning by adding the /3GB parameter in the
boot.ini file:

Caution: Only add the /3GB switch, shown in boldface below. Do not
copy the full lines below into your boot.ini, since the parameter
values may be different for different systems. Please note that the
file boot.ini is critical to booting your system. If you change the
partition numbers, your computer will fail to boot and you cannot
recover the system without a system restore disk.

To open the boot.ini file on Windows XP Professional, right-click My
Computer, select the Advanced tab, go to the lower section Startup and
Recovery, click Settings. In the new dialog box, click Edit.

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="????" /3GB

The "????" above can be the name of your operating system for example
"Microsoft Windows XP Professional".

Some users report that Vista 32-bit also can benefit from a 3 GB
setting. This is not tested by us. To change the setting, run the
command bcdedit /set IncreaseUserVa 3072 as an administrator at the
command prompt. To turn off the 3 GB switch, run bcdedit /deletevalue
IncreaseUserVa.
A Note about Memory Monitoring on 32-bit systems

Especially in 3D modelling, extensive memory usage urges some extra
precautions. The "Out of Memory"-problem occurs whenever COMSOL
Multiphysics tries to allocate an array which does not fit
sequentially in memory. It is common on 32-bit systems that the amount
of available memory seems large enough for the array—but there may
exist no continuous block of that size due to fragmentation. If you
for example look in the task manager of Windows, this may have the
effect that you can't see any high memory allocation, and get "out of
memory" anyway.

The "Memory Usage" column in the Windows task manager can also be
misleading, because it only shows the currently swapped portion. A
better indicator of total usage can be found like this (Win2000,
WinNT, Win XP, Windows Vista):

1. Press Ctrl-Alt-Delete to bring up the Task Manager.
2. Go to the "processes" tab.
3. From the View menu, choose Select Columns.
4. Select the Virtual Memory Size (in Windows Vista: "Commit Size")
check box.
5. Now find the comsol.exe process that corresponds to the COMSOL
Multiphysics process in the process list and look in the "VM Size"
column. This shows a better value for the actual memory used.

See also: Knowledge Base solution 866 for hardware tips, Knowledge
Base solution 830 about memory intensive models.

3a.

Re: Modelization of an EHD (electrostatic precipitator)

Posted by: "2391096" junchung12@hotmail.com   2391096

Mon Dec 29, 2008 8:04 pm (PST)

hi,
wish that everyone a happy new year~~
the setting of charge transport- Boundary condition, I still can't
simulate successful~~
so I want to ask if anyone could give me advices? or any mph. file to
teach me!!
please~~


--- In COMSOL_Users@yahoogroups.com, "negoias_andrei"
<negoias_andrei@...> wrote:
>
>
> Hi,
> I have the same problem. I red the article "Modeling of corona-induced
> electrohydrodynamic flow with COMSOL multiphysics" and i tried to
> couple all the three physical process: Electrostatics mode for
electric
> potential, PDE - Coefficient Form for charge transport
> equation, Incompressible Navier-Stokes for fluid dynamics equations
> The problem seems to be with the charge transport- Boundary condition.
> I would appreciate it if you give me any suggestion or advice
> regarding to this problem.
>

4.

How to plot a customized curve in COMSOL?

Posted by: "puzhang0702" PuZHANG0702@gmail.com   puzhang0702

Tue Dec 30, 2008 6:08 am (PST)

Dear all,

I need to plot a customized curve (not provided by the drawing tools),
but how can I accomplish this?

I think there may be two ideas: 1, use script to plot; 2, plot the
curve elsewhere (like in Matlab), then import it.

But I still don't know how to implement the above immature ideas.
Would u pls offer me some ways?

Thanks a lot!

5.

Problem changing from 2D to 3D

Posted by: "fabriziomoretti38" fabriziomoretti38@yahoo.es   fabriziomoretti38

Tue Dec 30, 2008 6:08 am (PST)

Hi. I have done some models in 2d with general heat transfer coupled
with weakly compressible Navier Stokes to simulate free convection and
radiation. I obtained some results that seem to be plausible, but when
I try to do the same models in 3d I don´t get any result. I use
transient solvers but time step value is 0 and doesn´t changes.
Someone can give me a solution or a trick to solve this problem.
Thanks.

6.

(no subject)

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

Tue Dec 30, 2008 6:08 am (PST)

Hi,
I am a under graduate student in electrical and electronics
stream.Do you think FEMLAB is ideal to model a fuel cell?Is it
available as a free download?

7a.

modelling coil

Posted by: "Luca Puviani" moamhedatta@yahoo.it   moamhedatta

Tue Dec 30, 2008 6:59 am (PST)

Hi everybody,

I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?

bye bye
happy new year
andrea

7b.

Re: modelling coil

Posted by: "shinoy" shinoy_iitd@yahoo.co.in   shinoy_iitd

Tue Dec 30, 2008 7:35 am (PST)

hi every one,
i think we can model the number of turns with current density.ie we can give the ampere turns and the total area of the conductor. ie number of turns multiplied by area of wire.With which we will able 2 model.But only thing i feel is that the resistance calculation may not be correct.Remaining other parameters will be.Like inductance u use the number of turns 2 compute.The force wont change.The voltage induced can be found using the E term.
 
regards
Shinoy

--- On Tue, 30/12/08, Luca Puviani <moamhedatta@yahoo.it> wrote:

From: Luca Puviani <moamhedatta@yahoo.it>
Subject: [COMSOL_Users] modelling coil
To: COMSOL_Users@yahoogroups.com
Date: Tuesday, 30 December, 2008, 8:25 PM

Hi everybody,

I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?

bye bye
happy new year
andrea

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

Successful models

Posted by: "Slava" for_slava@yahoo.com   for_slava

Tue Dec 30, 2008 10:25 am (PST)

I think it would be good if everybody who was successful with modeling
publish the results on http://comsol.com/community/exchange/ as COMSOL
file.

9.

R: [COMSOL_Users] modelling coil

Posted by: "bmw3@inwind.it" bmw3@inwind.it   fabiulei

Tue Dec 30, 2008 10:45 am (PST)


It depends what you need to calculate. If you are interested to magnetic field Bx and By oe energy is ok ,if you are interested in time armonic or eddy current losses it is better to change approach.

Bye Bye

Fabiulei
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->-->
----Messaggio originale----Da: moamhedatta@yahoo.itData: 30/12/2008 15.55A: <COMSOL_Users@yahoogroups.com>Ogg: [COMSOL_Users] modelling coil

Hi everybody,I have to modelling a coil in 3D. How can I modelling the number of turns? Is it not very "imprecise" setting only the corrent density like in the tutorials?bye byehappy new yearandrea

-->--> -->-->

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

沒有留言: