[Carpet] Carpet an 2D
Erik Schnetter
schnetter at cct.lsu.edu
Tue Sep 26 17:17:31 CEST 2006
On Sep 26, 2006, at 04:23:45, Thorsten Kellermann wrote:
> Hy Guys
>
> During developing a 2D Code, which is using Cactus and Carpet, some
> questions came up.
>
> I set up a grid in x and z direction plus one point for the y
> direction
> plus a number (2 or 3) for the ghostsize. My question is now, is
> Carpet be
> able to handle a calculation in this x-z plane with one point for
> the y
> axis or not ???
Yes, Carpet should be able to handle this situation. However, you
have to describe the domain carefully, i.e., in such a way that the
refined levels also consist of a single grid point, plus ghost
zones. We have done some calculations like this with Cartoon.
Wolfgang Kastaun has tried similar setups (see the Carpet mailing
list archive, "1D Setups with Carpet", January and February 2006),
but he reported problems. He tried to use 0 boundary zones. (You
call them ghost zones above, but they should be called boundary zones
or symmetry zones in Cactus; the difference is that their number is
taken from a different parameter.) With 2 or 3 boundary zones you
should be fine.
Try using CoordBase to set up your grid. If you want to use
Cartoon2D, then you would use settings like
domainsize = "minmax"
spacing = "gridspacing"
ymin = 0
ymax = 0
dy = 0.4 # or whatever you use in the other directions
boundary_size_y_lower = 3 # the same as the number of ghost zones
boundary_size_y_upper = 3
boundary_shiftout_y_lower = 1
boundary_shiftout_y_upper = 1
-erik
--
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/developers/attachments/20060926/88a02da5/attachment.pgp
More information about the developers
mailing list