-
Notifications
You must be signed in to change notification settings - Fork 184
Refactoring classes and properties - part 4 #832
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
Conversation
|
Including @akeeste last comments on the previous PR for tracking, will add to and further comment here. @kmruehl I've just finished reviewing the latest pull request, thanks for all of the effort here! I've left additional comments below. If you want assistance in implementing any of the changes or have questions on below happy to chat. A few more comments on our refactoring: Wave Class
Simulation Class
Body Class
Simulation Class
Cable Class
PTO/Constraint Class
Class setAccess and getAccess resolved with #838:
Help / documentation:
Other Comments
|
|
A few more
|
|
@H0R5E why are doc builds failing? |
|
@nathanmtom and @akeeste all of your feedback has been addressed and included in this PR. There are a few instances where I made some revisions to the suggested property names, and/or suggested we update the documentation instead of the property name. I'm not sure why the docs are building, but I plan to merge this with dev shortly and open a new PR to address the outstanding documentation tasks. |
This PR is a continuation of #803 and #822 and #828
Objectives:
pto.locversusmooring.refstruct(body.morison)simu.yawtobody.yawWave Class
waves.etaImporttowaves.waveImporttowaves.elevationImportwaves.spectrumDataFiletowaves.waveSpectrumFiletowaves.spectrumFilewaves.etaDataFiletowaves.waveElevationFiletowaves.elevationFilewaves.plotEtatowaves.plotElevationwaves.waveDirtowaves.waveDirectiontowaves.directionwaves.waveSpreadtowaves.spreadbetatothetato match online documentationwaves.deepWaterWavetowaves.deepWaterwaves.currentproperties to structure, similar to morison element,waves.currentOptiontowaves.current.optionwaves.currentDepthtowaves.current.depthwaves.currentDirectiontowaves.current.directionwaves.currentSpeedtowaves.current.speedwaves.bemstructurewaves.numFreqtowaves.freqNumtowaves.bem.countwaves.freqDisctowaves.bem.optionwaves.freqRangetowave.bem.rangewaves.markerproperties to structurewaves.markerLoctowaves.marker.loctowaves.marker.locationwaves.markerSizetowaves.marker.sizewaves.markerStyletowaves.marker.stylewaves.markerproperties to structure in Frames Librarywaves.Ttowaves.periodwaves.Htowaves.heightwaves.Atowaves.amplitudewaves.Stowaves.spectrumwaves.Pwtowaves.powerwaves.wtowaves.omegawaves.dwtowaves.dOmegawaves.ktowaves.wavenumberSimulation Class
simu.writetxttosimu.writeTexttosimu.saveTextwaves.waveStatisticsDataLoadtosimu.mcrExcelFile(formerly Wave Class)simu.mcrCaseFiletosimu.mcrMatFilesimu.dtMEtosimu.morisonDtsimu.CTTimetosimu.cicTimesimu.dtCItosimu.cicDtsimu.CITimetosimu.cicEndTimesimu.CIkttosimu.cicLengthsimu.ssCalctosimu.stateSpacesimu.setupSimutosimu.simuSetuptosimu.setupsimu.paraviewproperties to structure, similar to morison element, note: test that sub-properties are testedsimu.dtParaviewtosimu.paraviewDttosimu.paraview.dtsimu.StartTimeParaviewtosimu.paraviewStartTimetosimu.paraview.startTimesimu.EndTimeParaviewtosimu.paraviewEndTimetosimu.paraview.endTimesimu.pathParaviewVideotosimu.paraviewDirectorytosimu.paraview.pathsimu.numWecBodiestosimu.body.numHydroBodiessimu.pressureDistosimu.pressuresimu.simulationDatetosimu.datesimu.adjMassWeightFuntosimu.adjMassFactorsimu.autoRateTranBlktosimu.rateTransitionsimu.zeroCrossConttosimu.zeroCrosssimu.numIntMidTimeStepsremovedparallelComputing_dirtopctDirNOTE this is not in the simulationClass, but maybe it should besimu.gtosimu.gravityBody Class
body.dof_starttobody.dofStartbody.dof_endtobody.dofEndbody.dof_gbmtobody.dofGBMtobody.gbmDOFbody.nlHydrotobody.nonlinearHydrobody.lenJtobody.dofCoupledtobody.b2bDOFbody.meanDriftForcetobody.meanDriftbody.bodyparaviewtobody.paraviewBodytobody.paraviewbody.flexHydroBodytobody.flexBodytobody.flexbody.nhBodytobody.nonHydroBodytobody.nonHydrobody.hydroDataBodyNumtobody.hydroBodyTotaltobody.hydroTotalNOTE Do we even use this?body.viscDragtobody.viscousDragtobody.quadDragbody.userDefinedExcIRFtobody.excitationIRFsimu.yawandsimu.yawThreshto bodyClasssimu.yawtobody.yaw.optionsimu.yawThrestobody.yaw.thresholdbody.bodyNumbertobody.numberbody.bodyTotaltobody.totalbody.bodyGeometrytobody.geometryfrom @nathanmtom
quadDrag.DragtoquadDrag.dragmorisonElement.characteristicAreatomorisonElement.areaquadDrag.characteristicAreatoquadDrag.areadispVoltodisplacedVolumetovolumebody.initDisp.initLinDisptobody.initDisp.initLinearDisptobody.initial.displacementbody.initDisp.initAngularDispAngletobody.initial.anglebody.initDisp.initAngularDispAxistobody.initial.axiscgtocenterGravitycbtocenterBuoyancymomOfInertiatointertiaCable Class
cable.ctocable.dampingcable.ktocable.stiffnesscable.viscDragtocable.viscousDragtocable.quadDragcable.cableNumtocable.numbercable.loctocable.locationfrom @nathanmtom
cable.dispVoltocable.displacedVolumetocable.volumecable.quadDrag.characteristicAreatoquadDrag.areacable.quadDrag.DragtoquadDrag.dragcable.initDisp.initLinDisptocable.initDisp.initLinearDisptocable.initial.displacementcable.initDisp.initAngularDispAngletocable.initial.anglecable.initDisp.initAngularDispAxistocable.initial.axiscable.L0tocable.unstretchedLengthtpcable.lengthcable.bodyMasstocable.masscable.bodyInertiatocable.momOfInertiatocable.intertiacable.baseandcable.followerstructurecable.cb1tocable.centerBuoyancyBasetocable.baseCbtocable.base.centerBuoyancycable.cg1tocable.centerGravityBasetocable.baseCgtocable.base.centerGravitycable.rotloc1tocable.rotationLocation1tocable.baseLocationto tocable.base.locationcable.baseConnectionNametocable.base.namecable.cb2tocable.centerBuoyancyFollowertocable.followerCbtocable.follower.centerBuoyancycable.cg2tocable.centerGravityFollowertocable.followerCgtocable.follower.centerGravitycable.rotloc2tocable.rotationLocation2tocable.followerLocationtocable.follower.locationcable.followerConnectionNametocable.follower.nameConstraint Class
constraint.loctoconstraint.locationconstraint.constraintNumtoconstraint.numberfrom @nathanmtom
constraint.initDisp.initLinDisptoconstraint.initDisp.initLinearDisptoconstraint..initial.displacementPTO Class
pto.loctopto.locationpto.ctopto.dampingpto.ktopto.stiffnesspto.ptoNumtopto.numberfrom @nathanmtom
pto.initDisp.initLinDisptopto.initDisp.initLinearDisptopto.initial.displacementMooring Class
mooring.reftomooring.loctomooring.locationmooring.loctomooring.orientation(internal)mooring.mooringNumtomooring.numberfrom @nathanmtom
mooring.initDisp.initLinDisptomooring.initDisp.initLinearDisptomooring.initial.displacementmooring.initDisp.initAngularDispAngletomooring.initial.anglemooring.initDisp.initAngularDispAxistomooring.initial.axisSource/Functions/BEMIO
waveNumbertocalcWaveNumberspectralMomenttocalcSpectralMomentNotes
waves.bemsis specified in the input file, but not forwaves.bem.options. This can be addressed by adding some additional checks to thecheckinputsmethod of each class with a structure.TestPassiveYawRegressiontest failurewecSimPCTissuepctDirto simulationClass? No, decided to leave it as it since it's a modification of caseDir