Skip to Content.
Sympa Menu

opal - Re: [Opal] number of macroparticles per grid size

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] number of macroparticles per grid size


Chronological Thread  
  • From: Adelmann Andreas <andreas.adelmann AT psi.ch>
  • To: Dragos Constantin <dragos.constantin AT gmail.com>
  • Cc: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: Re: [Opal] number of macroparticles per grid size
  • Date: Wed, 15 May 2024 05:57:05 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 20.250.76.7) smtp.rcpttodomain=gmail.com smtp.mailfrom=psi.ch; dmarc=pass (p=none sp=none pct=100) action=none header.from=psi.ch; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QfL0oIIOTyjiplUNGc/RNmYCIZTByjCYEPQITZu3CJc=; b=Z41icBFSzGmtcQfZgTS0p+ZV5j6Y4Fnn2tfHz6C/wUr8ImmECmotApjLzB7d8mJT6/1Cy0yDhDkufazemcYWt0L8EO/+6vRWE+2TfSPdZEt3ob+HDOAqBKYcEO6QRKwYW1TSM5CO3KAWjmht13d4dpqhKVNeyNNprW48qEu+ipg/BH0zGJ/hXIUMik+UCIhsKLcmnys1RvxL3Rs1OinfU7s2Kx0r7HZ4q3aEzwe54YW/2yFYGX9hNBPiPe+046Icrzh7tMtjd5KG2/PTFgIUonpBkrzsgR4QIoL6/gzpOMRtes+NmgIwB1cq5RlimQ+OARqYVC4bZ5VzakPk75pGPg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CYmgAL4y7zc9ueXUcacROzDerP4X64qgxzNSlYh0tbwebDs5Voinn5UDijFgjmLDc2DOn2dJ+OrIGkIz/BxGjtgRrMe6FhRllwe/eeDTYNRCJ9xfd2kkO1t3fDY6XKFAu00KQHgdPqQY3TP762aGSUY3REjuEqvInY3mFmf8jWb+apMtGocs1W8lR6BG/Lk4WztoyObVpE54B7W6CSu52WvOb6si2attDB/HEYfvCdILpdv5S74iOJzrrCqCcbk/F+B3vMRedpR6vg2CNb4yFqyATg9flpPG2MxfFYUzipivhPjHE6VYIhxX+wSBiEINzFSAOC6l2L9Dv3IOeU8pzQ==
  • Authentication-results: mc3.ethz.ch; iprev=pass (mail-switzerlandnorthazon11020002.outbound.protection.outlook.com) smtp.remote-ip=52.101.186.2; spf=pass smtp.mailfrom=psi.ch; dkim=pass header.d=psi.ch header.s=selector2 header.a=rsa-sha256; dmarc=pass header.from=psi.ch
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;

Hi Dragos if you cont between 5 and 10 particles per gridcell you 
are on the good side. However it depends what you are interested in
and hence a convergence study is maybe in order. Also we have a 
paper on noise published that give some insides: https://www.sciencedirect.com/science/article/pii/S2590055221000111



Cheers A
------
Dr. sc. math. Andreas (Andy) Adelmann
Paul Scherrer Institut OHSA/D17 CH-5232 Villigen PSI
Phone Office: xx41 56 310 42 33 Fax: xx41 56 310 31 91
Zoom ID: 470-582-4086 Password: AdA
Zoom Link: https://ethz.zoom.us/j/4705824086?pwd=dFcvT1pMMGY0bHg0dTNncUNZZTJkZz09

-------------------------------------------------------
Friday: ETH HPK G 28   +41 44 633 3076
============================================
The more exotic, the more abstract the knowledge, 
the more profound will be its consequences.
Leon Lederman 
============================================

On 14 May 2024, at 20:38, Dragos Constantin <dragos.constantin AT gmail.com> wrote:

Hi All,

This issue relates to the relationship between the number of macroparticles
and the grid size. (I know that at least the number of macroparticles must be
bigger than the grid size.)

When I setup a simulation model I use a small number of macroparticles with a
relattively small grid size. For example:

REAL N_PARTICLES = 1e4;

REAL MXX = 2^3;
REAL MYY = 2^3;
REAL MTT = 2^7;

So in this case I have ~1.22 macroparticles per grid voxel. I definitely want
to increase the number of particles, the question is do I have to increase the
grid resolution as well? If yes, what is a good choice for the number of
macroparticles/grid voxel?

Thanks,
Dragos




Archive powered by MHonArc 2.6.24.

Top of Page