Skip to content
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

V0.0.3 release #50

Merged
merged 70 commits into from
Jun 18, 2021
Merged

V0.0.3 release #50

merged 70 commits into from
Jun 18, 2021

Conversation

veto1024
Copy link
Collaborator

Merging 0.0.3 development to Master.

veto1024 and others added 30 commits September 3, 2018 16:05
Author: Jonathan R.

Commit of an updated Beam Deposition module. The following changes were added:

* Included ability to run beamdep.py as a stand alone script. The input is the data from shot 118890.1560. The values are hard coded in a debug version of the Core class and Inp class. These debug versions are classes defined within beamdep.py. The profiles are found in a debug file in ./inputs/ generated using an np.savetxt command of the ion and electron densities and temperatures.

* Deposition profiles have always been significantly off. When integrating over dPdr for all 3 beam types, we consistently underestimated the total power. This was addressed by multiplying by the integral of H(r) until we can figure out why this is necessary.

* Debug dictionary added to be able to plot various quantities of interest to see how changes to the code affect the results.
# Conflicts:
#	.idea/gt3-dev.iml
#	.idea/misc.xml
Date: 2/26/2019
Time: 20:32

More work
Date: 2/27/2019
Time: 12:09pm

Including debug functions in radial transport to verify source terms, fluxes, etc. are reasonable. Can be triggered by passing debugFlag=True to radialtransport. The neutrals calculation and related calculations (e.g., Sion) can also be deactivated by passing neutFlag=False to radialtransport.
Date: 2/27/2019
Time: 12:09pm

Including debug functions in radial transport to verify source terms, fluxes, etc. are reasonable. Can be triggered by passing debugFlag=True to radialtransport. The neutrals calculation and related calculations (e.g., Sion) can also be deactivated by passing neutFlag=False to radialtransport.

gt3.py now includes modules that let you interactively create input files from commandline. The input files are saved to the input folder as togt3_shotnum_timeid. See the code comments. The main entrance to the interactive mode is gt3Prep. You should provide the shot id, timeid, and run id, as well as the filename. The "quiet" parameter disables interactive file generation and tells the code to look for an input file. If no input file is found, program exits. This will be helpful when/if we want to run gt3 on many shots at once and we want the code to not bug us.
Radial transport dev. Merging in Nick's changes to radial transport.
Date: 8/27/2019
Time: 11:06pm
GT3 Radial Transport Branch 8/27 commit
Date: 05/18/2020
Time: 11:28AM

Minor error handling modifications.
Consolidated cross section calculations
Moved some files around
Added helper plotters in Core
Consolidated a few RadialTransport calculations
Added new GT3TestBase class to TestBase module
Added plotting routines to RadialTransport
Added mode flag to getGT3Test method
…than the main GT3 code if needed.

Updated and added some Core plotting routines.
Removed some unnecessary input variables
Deleted Neutrals.Functions that were not necessary
Attached core/inp objects to neutrals object for referencing
… Beams.py

Added additional plotting routines to Core
Added some explicit float to values to ensure they are calculated as floats if import division is not set.
Remvoed NeutPatcy in favor or implementing method in Core
Removed Test python files
Removed Chi class
Added IOL Comparison utility
Added an interpolator for d3d data that are a bit wonky.
veto1024 and others added 29 commits October 20, 2020 09:49
Extended unit testing to plots

Signed-off-by: Jonathan R <veto1024@gmail.com>
Added GT3 Test Class unit test

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
Impurity radiation now runs before Neutrals calculation to provide radiative cooling to radial transport.

Signed-off-by: Jonathan R <veto1024@gmail.com>
Improved exception handling in Neutrals in case Triangle is not found.

Signed-off-by: Jonathan R <veto1024@gmail.com>
… runs correctly.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…adial_transport to force NBI/Neutrals to rerun. Added Lz interpolators to MANIFEST.in

Signed-off-by: Jonathan R <veto1024@gmail.com>

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…ng routines

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…oDProfile classes that provide all the plotting, derivative, scale length, FSA, etc. functionality.

Removed per-module plotting routines in favor of OneDProfile/TwoDProfile's plotting functionality.

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…lue, take L, and broadcast it to 2D.

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…. Passing wall to velocity profiles. Moved the gamma and qheat calculations to the RadialTransport class and removed files. Updated unittests.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…t object.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…ethods for calculating gamma/Q as instance variables.

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…updated using update functions. Particle/Heat flux differential methods are updated to take in a splineVerify keyword to verify the splines are fitting correctly.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…lues of the asymmetry coefficients.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…ry coefficients.

Signed-off-by: Jonathan R <veto1024@gmail.com>
Signed-off-by: Jonathan R <veto1024@gmail.com>
…ectorialBase was not computing correct total velocities.

Signed-off-by: Jonathan R <veto1024@gmail.com>
…rom pertrubation theory

Signed-off-by: Jonathan R <veto1024@gmail.com>
…rom pertrubation theory

Signed-off-by: Jonathan R <veto1024@gmail.com>
@rogue26 rogue26 merged commit 1b27d6c into master Jun 18, 2021
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