Skip to content

WIP: Split define_transport_coefficients#20

Open
bclyons12 wants to merge 13 commits intomasterfrom
split_derived
Open

WIP: Split define_transport_coefficients#20
bclyons12 wants to merge 13 commits intomasterfrom
split_derived

Conversation

@bclyons12
Copy link
Copy Markdown
Collaborator

Working to split the definition of various quantities into different steps. So far the structure is:

  1. define_pellet_source before kprad_ionize
    • Advances pellet location
    • Calculates volume of pellet distribution for normalization
    • Reads LP source from file
    • Calculate ne and temperatures
    • Calculates ne and Te at pellet
    • Calculates ablation rate
  2. define_transport_coefficients & define_sources before ludefall
    • Transport coefficients (only resistivity, kappa, viscosity, and visc_e)
    • Sources (density, momentum, & heat that used to be in define_transport_coefficients)
  3. derived_quantities after kprad_advect
    • Calls define_transport_coefficients again
    • Calculates other derived quantities
    • Calculates scalar diagnostics (not ablation rate anymore)

To-do:

  • Passes non-pellet regression tests
  • Change to pellet regression tests are sensible
  • Check for proper restarting
  • Check long time behavior for stability

1. define_pellet_source before kprad_ionize
    - Advances pellet location
    - Calculates volume of pellet distribution for normalization
    - Reads LP source from file
    - Calculate ne and temperatures
    - Calculates ne and Te at pellet
    - Calculates ablation rate
2. define_transport_coefficients & define_sources before ludefall
    - Transport coefficients (only resistivity, kappa, viscosity, and visc_e)
    - Sources (density, momentum, & heat that used to be in define_transport_coefficients)
3. derived_quantities after kprad_advect
    - Calls define_transport_coefficients again
    - Calculates other derived quantities
    - Calculates scalar diagnostics (not ablation rate anymore)
@nferraro nferraro closed this Sep 7, 2021
@nferraro nferraro deleted the split_derived branch September 7, 2021 17:32
@bclyons12 bclyons12 restored the split_derived branch September 7, 2021 18:52
@bclyons12 bclyons12 reopened this Sep 7, 2021
@changliu777 changliu777 force-pushed the master branch 2 times, most recently from 844e5f3 to 99aead8 Compare September 21, 2021 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants