Skip to content

Stressdiag#202

Open
Scottyujia wants to merge 3 commits intomasterfrom
stressdiag
Open

Stressdiag#202
Scottyujia wants to merge 3 commits intomasterfrom
stressdiag

Conversation

@Scottyujia
Copy link
Collaborator

Purpose: The zonal flow dynamics is controlled by various turbulent stresses and the new features added are meant to calculate them.

Modifications:

  1. fields.fpp

Functions similar to get_dgdx are added. Flags like 'phi', 'apar' and 'bpar' can be passed into the functions to calculate d/dx and d/dy in Fourier space for phi, apar and bpar separately, instead of simply calculating derivatives of chi.

2.stella_diagnostics.f90

The calculations of stresses are added. In the part that calculates omega, I also added the calculation of dphidt which is needed in the post-processing.

3.stella_io.fpp

Write the stresses to the nedcdf file.

@GeorgiaActon
Copy link
Collaborator

Please merge the latest master into this before opening a pull request. This is based off of an old version of Stella, and is no longer compatible with the master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants