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

[IB method] Implemented new ghost point method #9

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Sep 3, 2024

  1. [IB method] Implemented new ghost point method following

    Ghias et al., JCP 225(1), 2007, with image point interpolation
    based on R. Franke, Mathematics of Computation 38(157), 1982.
    Image points currently have the same distance from IB surface
    as ghost points. In this commit, only Dirichlet boundary
    conditions supported! Includes test case for flow over 2D hill
    ("Witch of Agnesi"/"Agnesi hill") based on Lundquist et al.,
    Month. Meterol. Rev. 140(12), 2012,
    http://journals.ametsoc.org/doi/10.1175/MWR-D-11-00311.1
    
    Notes:
    - common_ops scatter/gather is incompatible with lists, therefore
      commented out dim-check.
    - To run Witch of Agnesi test case, be sure to initialize the
      Coriolis force as follows:
        _DEFAULT_LAT = 0.5497607357 # rad == 31.5 deg
        # Coriolis force coeff of 1e-4 rad/s from Lundquist et al., Month. Meterol.
        # Rev. 2010 for validation of IB methods corresponds to a latitude
        # defined by _REF_LAT
        _REF_LAT = 0.7555285998 # rad == 43.289 deg
        my_lat = _REF_LAT
        logging.warn(f'@@@ Using reference latitude of {my_lat} rad '
                     f'corresonding to {np.rad2deg(my_lat):.3f} deg.')
        self.coriolis_force_fn = cloud_utils.coriolis_force(my_lat, {
            'u': self.fire_utils.u_init,
            'v': self.fire_utils.v_init,
            'w': 0.0
        }, 2)
    ktoepperwien committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    87a3135 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    9aaed4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbc3fda View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d003cac View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. [IB method] Moved terrain-specific functions to terrain_utils,

    added Neumann boundary condition for scalars, and reformatted
    code.
    ktoepperwien committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    edad354 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Configuration menu
    Copy the full SHA
    9d3b40a View commit details
    Browse the repository at this point in the history