Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2d cirular domain modeling aiming to mimic the intersection of LAPD #198

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

liangwang0734
Copy link
Collaborator

@liangwang0734 liangwang0734 commented Sep 11, 2023

Using the Cornerific Tapered2 Mapping from this paper, originally brought to me by @manauref

  • This is 2d only to see how the grid performs.

  • The time step size seems to scale as 1/N^2 instead of 1/N, where N=Nx=Ny is the grid number.

    • I don't quite understand why.
    • This might not matter for 3d extension since dz is guaranteed to scale as 1/N.
  • The results have slightly strange matters near bad cells (on the diagonal corners) but overall are OK.

  • Friction is allowed but not enabled by default. See the occurrences of the has_collision option and the associated collision frequency table.

  • The mapping looks like the following (with color lines to help indicating mapped lines):

indexCornerific Tapered2 Mapping
  • The Ex and Bz from a 128x128 run look like the following:
    03-frame30-ExBz

@manauref
Copy link
Collaborator

manauref commented Sep 11, 2023 via email

@ammarhakim
Copy link
Owner

This looks very nice. I wonder if what is going is that the cells near the "corners" are getting so squished that their local area scales as 1/N^2, leading to a more stringent time-step limit that one would expect. I guess this is equivalent to saying that we now moved the small sized cell from the center to the edges but kept the time-step restriction still the same.

@ammarhakim ammarhakim merged commit fda9530 into main Sep 12, 2023
2 checks passed
@JunoRavin JunoRavin deleted the square2circle branch July 23, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants