Skip to content

Updating the Boundary Conditions of Model during run #3602

Answered by glwagner
RicksterB57 asked this question in Helpdesk
Discussion options

You must be logged in to vote

I implemented something just like this here: https://github.com/glwagner/TropicalTurbulantics.jl/blob/main/tropical_turbulence_setup.jl

Check out the function interp_bc. that function is incorporated into a boundary condition here:

https://github.com/glwagner/TropicalTurbulantics.jl/blob/8b5e882a3ea7b72d4cdc7cdbb9cde14f59d1d105/tropical_turbulence_setup.jl#L214

Note that interp_bc applies to interpolating any time-series at a point. There is also interp_forcing, which additionally depends on the vertical index k (this applies to a horizontally uniform but vertically-varying forcing, such as lateral flux divergences derived from a GCM).

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@RicksterB57
Comment options

@glwagner
Comment options

@glwagner
Comment options

Answer selected by glwagner
@RicksterB57
Comment options

@glwagner
Comment options

@glwagner
Comment options

@RicksterB57
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants