-
Notifications
You must be signed in to change notification settings - Fork 9
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
ktoepperwien
wants to merge
6
commits into
google-research:main
Choose a base branch
from
ktoepperwien:ib_ghost_point_method
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[IB method] Implemented new ghost point method #9
ktoepperwien
wants to merge
6
commits into
google-research:main
from
ktoepperwien:ib_ghost_point_method
Commits on Sep 3, 2024
-
[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)
Configuration menu - View commit details
-
Copy full SHA for 87a3135 - Browse repository at this point
Copy the full SHA 87a3135View commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9aaed4d - Browse repository at this point
Copy the full SHA 9aaed4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbc3fda - Browse repository at this point
Copy the full SHA dbc3fdaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d003cac - Browse repository at this point
Copy the full SHA d003cacView commit details
Commits on Sep 10, 2024
-
[IB method] Moved terrain-specific functions to terrain_utils,
added Neumann boundary condition for scalars, and reformatted code.
Configuration menu - View commit details
-
Copy full SHA for edad354 - Browse repository at this point
Copy the full SHA edad354View commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9d3b40a - Browse repository at this point
Copy the full SHA 9d3b40aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.