Automated file and system units management and readjusted design variable starting points#3
Open
JVTFEM wants to merge 5 commits into
Open
Automated file and system units management and readjusted design variable starting points#3JVTFEM wants to merge 5 commits into
JVTFEM wants to merge 5 commits into
Conversation
Automatic csv updater
This allows for csv data files to be used in the code
New update allows the file to detect the units of the .dat file and apply the correct scale factors
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.
File management:
The updated optimization file management system allows for the experimental data file to be automatically converted from .csv to .dat in the required format for the code to run in its current state. Perhaps an update in the future to the analysis file will be next, update will allow the analysis file to ignore the header.
Automated systems units management:
The updated units management allows the code to be able to auto-detect the units that the model was programmed in to allow for the correct scaling of the design variables.
Readjusted design variable starting points:
The previous design variable starting points had the variables x[0] and x[1] being set to equal values. This resulted in the system having an assumed poisons ratio of -0.5 which is a poor starting point for the analysis. The updated starting points now have the value of x[1] being equal to x[0]/3, this change now results in an assumed poisons ratio of 0.5. These new starting points are likely closer to the model's actual material properties and was shown to require 30% fewer function calls and iterations when attempting to fit the data set.