Innovation Intelligence®
End of Internship Presentation
Yanhao Zhu
Software Development Intern
Aug 2, 2016
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(2)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Overview
• Projects done
• Skills acquired
• Suggestions
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(3)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Projects Done
1. MotionSolve help system
2. Validation method for graphic classes
3. Nuqa test
4. Composite Class
5. Regular expression convertor
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(4)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MotionSolve help system
• Documentation proofread
 Replace deprecated code
 Add missing properties
 Reference manual for Dv,Rv
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(5)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MotionSolve help system
• Python inline help system
Class Demo(SolverObject):
a = Double()
b = Bool ()
……
a.addDocString(tr(‘Property a of Demo’))
b.addDocString(tr(‘Property b of Demo’))
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(6)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
MotionSolve help system
• Tutorial Examples
 Single pendulum
 Bouncing ball
 LuGre composite
 Slotted link
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(7)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Validation method for graphic classes
• Criterion:
 Pass the validation if the graphic is physically correct and each dimension is
positive
 Send a warning if the graphic is physically correct but at least one dimension
is zero
 Send an error if the the graphic is not physically correct
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(8)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Validation method for graphic classes
• Test script with pytest
 Issue: cannot distinguish the case where warning is sent
 Solution: Overwrite the Validator class
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(9)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Nuqa test
• Task: figure out the regression
 Remove the model for which lexicon api doesn’t run
 Generate api_sendoff function calls for comparison
 Issue: minor numerical difference in marker position and orientation
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(10)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Composite class
• Improve the way that property values are updated
 Replace setChildDataValue with updateChildren
 Retain setChildDataValue for complex model
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(11)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Composite class
• Convert machinery scripts from mslexicon to msolve
 Run the model with same parameters as in mslexicon for verification
 Demonstrate the ability to change the property value during simulation
Property
value
changed
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(12)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Regular expression convertor
• Msolve mslexicon class/function comparison
 extract_mslexicon and extract_modelpy to extract information
 compare to generate three list: ‘lexicon_only’, ‘modelpy_only’ and
‘common_different’
 output_file
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(13)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Regular expression convertor
• Output file:
Section one
Section two
Section three
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(14)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Skills acquired
• MBD projects
• Composition of CAE software
• Hands on python experience as a developer
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(15)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Suggestions
• Be assigned someone to contact for each team
 Incorrect mesh for complex geometry
• Longer internship
 Interface that calls multiple solvers
 Parallelize the finite difference method in optimization and do some
application
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
(16)
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.
Thank you!

final presentation

  • 1.
    Innovation Intelligence® End ofInternship Presentation Yanhao Zhu Software Development Intern Aug 2, 2016
  • 2.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (2) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Overview • Projects done • Skills acquired • Suggestions
  • 3.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (3) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Projects Done 1. MotionSolve help system 2. Validation method for graphic classes 3. Nuqa test 4. Composite Class 5. Regular expression convertor
  • 4.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (4) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. MotionSolve help system • Documentation proofread  Replace deprecated code  Add missing properties  Reference manual for Dv,Rv
  • 5.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (5) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. MotionSolve help system • Python inline help system Class Demo(SolverObject): a = Double() b = Bool () …… a.addDocString(tr(‘Property a of Demo’)) b.addDocString(tr(‘Property b of Demo’))
  • 6.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (6) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. MotionSolve help system • Tutorial Examples  Single pendulum  Bouncing ball  LuGre composite  Slotted link
  • 7.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (7) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Validation method for graphic classes • Criterion:  Pass the validation if the graphic is physically correct and each dimension is positive  Send a warning if the graphic is physically correct but at least one dimension is zero  Send an error if the the graphic is not physically correct
  • 8.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (8) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Validation method for graphic classes • Test script with pytest  Issue: cannot distinguish the case where warning is sent  Solution: Overwrite the Validator class
  • 9.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (9) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Nuqa test • Task: figure out the regression  Remove the model for which lexicon api doesn’t run  Generate api_sendoff function calls for comparison  Issue: minor numerical difference in marker position and orientation
  • 10.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (10) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Composite class • Improve the way that property values are updated  Replace setChildDataValue with updateChildren  Retain setChildDataValue for complex model
  • 11.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (11) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Composite class • Convert machinery scripts from mslexicon to msolve  Run the model with same parameters as in mslexicon for verification  Demonstrate the ability to change the property value during simulation Property value changed
  • 12.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (12) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Regular expression convertor • Msolve mslexicon class/function comparison  extract_mslexicon and extract_modelpy to extract information  compare to generate three list: ‘lexicon_only’, ‘modelpy_only’ and ‘common_different’  output_file
  • 13.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (13) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Regular expression convertor • Output file: Section one Section two Section three
  • 14.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (14) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Skills acquired • MBD projects • Composition of CAE software • Hands on python experience as a developer
  • 15.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (15) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Suggestions • Be assigned someone to contact for each team  Incorrect mesh for complex geometry • Longer internship  Interface that calls multiple solvers  Parallelize the finite difference method in optimization and do some application
  • 16.
    Copyright © 2012Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. (16) Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Thank you!