Two aligned wind turbine example case#313
Draft
ia267 wants to merge 5 commits into
Draft
Conversation
7933e0b to
0b7249a
Compare
d2d578a to
fb3db44
Compare
fb3db44 to
c29a3b2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Created the flow case for the wind turbine example, including an interface for the turbine models (to be implemented later and only contains a dummy model for now).
changes
turbine_model_t- abstract interface for turbine forcing models, with methodsinit,update,project_forces,write_output. Ships with a no-op dummy (turbine_dummy_t, also theiturbine=0model) so the case runs before any real model exists.wind_turbinecase - uniform inflow / convective outflow in x, using a polymorphicturbine_model_t. The case owns the turbine object and is the only place theiturbineswitch appears (at allocation time); after that it calls the polymorphic turbine with no branching.c_nuandnu0_nufor thecompact6-hyperviscousscheme. This is the implicit LES the two_turbines case uses ( Incompact3djles=4) - implicit numerical dissipation, not an explicit SGS model (the explicit Smagorinsky LES issue is Add Smagorinsky LES with wall damping #321). These params are optional.Closes #309