531 lines
23 KiB
Plaintext
531 lines
23 KiB
Plaintext
|
|
fatal: not a git repository (or any of the parent directories): .git
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
ATOMIZER - INTERACTIVE OPTIMIZATION SETUP
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Welcome to Atomizer! I'll help you set up your optimization.
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] First, I need to know about your model files.
|
||
|
|
|
||
|
|
|
||
|
|
[User] I have a bracket model:
|
||
|
|
|
||
|
|
- Part file: tests\Bracket.prt
|
||
|
|
- Simulation file: tests\Bracket_sim1.sim
|
||
|
|
|
||
|
|
[Atomizer] Great! Let me initialize the Setup Wizard to analyze your model...
|
||
|
|
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
STEP 1: MODEL INTROSPECTION
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] I'm reading your NX model to find available design parameters...
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Found 4 expressions in your model:
|
||
|
|
|
||
|
|
- support_angle: 32.0 degrees
|
||
|
|
- tip_thickness: 24.0 mm
|
||
|
|
- p3: 10.0 mm
|
||
|
|
- support_blend_radius: 10.0 mm
|
||
|
|
|
||
|
|
[Atomizer] Which parameters would you like to use as design variables?
|
||
|
|
|
||
|
|
|
||
|
|
[User] I want to optimize tip_thickness and support_angle
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Perfect! Now, what's your optimization goal?
|
||
|
|
|
||
|
|
|
||
|
|
[User] I want to maximize displacement while keeping stress below
|
||
|
|
|
||
|
|
a safety factor of 4. The material is Aluminum 6061-T6.
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
STEP 2: BASELINE SIMULATION
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] To validate your setup, I need to run ONE baseline simulation.
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] This will generate an OP2 file that I can analyze to ensure
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] the extraction pipeline will work correctly.
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Running baseline simulation with current parameter values...
|
||
|
|
|
||
|
|
|
||
|
|
[NX SOLVER] Starting simulation...
|
||
|
|
Input file: Bracket_sim1.sim
|
||
|
|
Working dir: tests
|
||
|
|
Mode: Journal
|
||
|
|
Deleted 3 old result file(s) to force fresh solve
|
||
|
|
[JOURNAL OUTPUT]
|
||
|
|
Mesh-Based Errors Summary
|
||
|
|
-------------------------
|
||
|
|
|
||
|
|
Total: 0 errors and 0 warnings
|
||
|
|
|
||
|
|
|
||
|
|
Material-Based Errors Summary
|
||
|
|
-----------------------------
|
||
|
|
|
||
|
|
Total: 0 errors and 0 warnings
|
||
|
|
|
||
|
|
|
||
|
|
Solution-Based Errors Summary
|
||
|
|
-----------------------------
|
||
|
|
|
||
|
|
Iterative Solver Option
|
||
|
|
More than 80 percent of the elements in this model are 3D elements.
|
||
|
|
It is therefore recommended that you turn ON the Element Iterative Solver in the "Edit
|
||
|
|
Solution" dialog.
|
||
|
|
|
||
|
|
Total: 0 errors and 0 warnings
|
||
|
|
|
||
|
|
|
||
|
|
Load/BC-Based Errors Summary
|
||
|
|
----------------------------
|
||
|
|
|
||
|
|
Total: 0 errors and 0 warnings
|
||
|
|
|
||
|
|
|
||
|
|
Nastran Model Setup Check completed
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Starting Nastran Exporter
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing file
|
||
|
|
c:\Users\antoi\Documents\Atomaste\Atomizer\tests\bracket_sim1-solution_1.dat
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing SIMCENTER NASTRAN 2412.0 compatible deck
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Nastran System section
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing File Management section
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Executive Control section
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Case Control section
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Bulk Data section
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Nodes
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Elements
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Physical Properties
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Materials
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Degree-of-Freedom Sets
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Loads and Constraints
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Writing Coordinate Systems
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Validating Solution Setup
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Summary of Bulk Data cards written
|
||
|
|
|
||
|
|
+----------+----------+
|
||
|
|
| NAME | NUMBER |
|
||
|
|
+----------+----------+
|
||
|
|
| CHEXA | 306 |
|
||
|
|
| CPENTA | 10 |
|
||
|
|
| FORCE | 3 |
|
||
|
|
| GRID | 585 |
|
||
|
|
| MAT1 | 1 |
|
||
|
|
| MATT1 | 1 |
|
||
|
|
| PARAM | 6 |
|
||
|
|
| PSOLID | 1 |
|
||
|
|
| SPC | 51 |
|
||
|
|
| TABLEM1 | 3 |
|
||
|
|
+----------+----------+
|
||
|
|
|
||
|
|
*** 20:33:59 ***
|
||
|
|
Nastran Deck Successfully Written
|
||
|
|
|
||
|
|
[JOURNAL] Opening simulation: c:\Users\antoi\Documents\Atomaste\Atomizer\tests\Bracket_sim1.sim
|
||
|
|
[JOURNAL] Checking for open parts...
|
||
|
|
[JOURNAL] Opening simulation fresh from disk...
|
||
|
|
[JOURNAL] STEP 1: Updating Bracket.prt geometry...
|
||
|
|
[JOURNAL] Rebuilding geometry with new expression values...
|
||
|
|
[JOURNAL] Bracket geometry updated (0 errors)
|
||
|
|
[JOURNAL] STEP 2: Opening Bracket_fem1.fem...
|
||
|
|
[JOURNAL] Updating FE Model...
|
||
|
|
[JOURNAL] FE Model updated with new geometry!
|
||
|
|
[JOURNAL] STEP 3: Switching back to sim part...
|
||
|
|
[JOURNAL] Switched back to sim part
|
||
|
|
[JOURNAL] Starting solve...
|
||
|
|
[JOURNAL] Solve submitted!
|
||
|
|
[JOURNAL] Solutions solved: -1779619210
|
||
|
|
[JOURNAL] Solutions failed: 32764
|
||
|
|
[JOURNAL] Solutions skipped: 1218183744
|
||
|
|
[JOURNAL] Saving simulation to ensure output files are written...
|
||
|
|
[JOURNAL] Save complete!
|
||
|
|
[JOURNAL ERRORS]
|
||
|
|
Journal execution results for c:\Users\antoi\Documents\Atomaste\Atomizer\tests\_temp_solve_journal.py...
|
||
|
|
Syntax errors:
|
||
|
|
Line 0: Traceback (most recent call last):
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\tests\_temp_solve_journal.py", line 247, in <module>
|
||
|
|
sys.exit(0 if success else 1)
|
||
|
|
[NX SOLVER] Waiting for solve to complete...
|
||
|
|
[NX SOLVER] Output files detected after 0.5s
|
||
|
|
[NX SOLVER] Complete in 4.3s
|
||
|
|
[NX SOLVER] Results: bracket_sim1-solution_1.op2
|
||
|
|
|
||
|
|
[Atomizer] Baseline simulation complete! OP2 file: bracket_sim1-solution_1.op2
|
||
|
|
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
STEP 3: OP2 INTROSPECTION
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Now I'll analyze the OP2 file to see what's actually in there...
|
||
|
|
|
||
|
|
DEBUG: op2.py:614 combine=True
|
||
|
|
DEBUG: op2.py:615 -------- reading op2 with read_mode=1 (array sizing) --------
|
||
|
|
INFO: op2_scalar.py:1960 op2_filename = 'tests\\bracket_sim1-solution_1.op2'
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_reader.py:403 mode='nx' version='2412'
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:634 -------- reading op2 with read_mode=2 (array filling) --------
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:932 combine_results
|
||
|
|
DEBUG: op2.py:648 finished reading op2
|
||
|
|
|
||
|
|
[Atomizer] Here's what I found in your OP2 file:
|
||
|
|
|
||
|
|
- Element types with stress: CHEXA, CPENTA
|
||
|
|
- Available results: displacement, stress
|
||
|
|
- Number of elements: 0
|
||
|
|
- Number of nodes: 0
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
STEP 4: LLM-GUIDED CONFIGURATION
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Based on your goal and the OP2 contents, here's what I recommend:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] OBJECTIVE:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Maximize displacement (minimize negative displacement)
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] EXTRACTIONS:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Extract displacement from OP2
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Extract stress from CHEXA elements
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] (I detected these element types in your model)
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] CALCULATIONS:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Calculate safety factor: SF = 276 MPa / max_stress
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Negate displacement for minimization
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] CONSTRAINT:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - Enforce SF >= 4.0 with penalty
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] DESIGN VARIABLES:
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - tip_thickness: 24.0 mm (suggest range: 15-25 mm)
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] - support_angle: 32.0 degrees (suggest range: 20-40 deg)
|
||
|
|
|
||
|
|
|
||
|
|
[User] That looks good! Let's use those ranges.
|
||
|
|
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
STEP 5: PIPELINE VALIDATION (DRY RUN)
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Before running 20-30 optimization trials, let me validate that
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] EVERYTHING works correctly with your baseline OP2 file...
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer]
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] Running dry-run validation...
|
||
|
|
|
||
|
|
DEBUG: op2.py:614 combine=True
|
||
|
|
DEBUG: op2.py:615 -------- reading op2 with read_mode=1 (array sizing) --------
|
||
|
|
INFO: op2_scalar.py:1960 op2_filename = 'tests\\bracket_sim1-solution_1.op2'
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_reader.py:403 mode='nx' version='2412'
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:634 -------- reading op2 with read_mode=2 (array filling) --------
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:932 combine_results
|
||
|
|
DEBUG: op2.py:648 finished reading op2
|
||
|
|
DEBUG: op2.py:614 combine=True
|
||
|
|
DEBUG: op2.py:615 -------- reading op2 with read_mode=1 (array sizing) --------
|
||
|
|
INFO: op2_scalar.py:1960 op2_filename = 'tests\\bracket_sim1-solution_1.op2'
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
Extraction failed: extract_solid_stress - No ctetra stress results in OP2
|
||
|
|
\u274c extract_solid_stress: No ctetra stress results in OP2
|
||
|
|
\u274c calculate_safety_factor: name 'max_von_mises' is not defined
|
||
|
|
Required input 'min_force' not found in context
|
||
|
|
Hook 'ratio_hook' failed: Missing required input: min_force
|
||
|
|
Traceback (most recent call last):
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\hooks.py", line 72, in execute
|
||
|
|
result = self.function(context)
|
||
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\post_calculation\min_to_avg_ratio_hook.py", line 38, in ratio_hook
|
||
|
|
raise ValueError(f"Missing required input: min_force")
|
||
|
|
ValueError: Missing required input: min_force
|
||
|
|
Hook 'ratio_hook' failed: Missing required input: min_force
|
||
|
|
Required input 'max_stress' not found in context
|
||
|
|
Hook 'safety_factor_hook' failed: Missing required input: max_stress
|
||
|
|
Traceback (most recent call last):
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\hooks.py", line 72, in execute
|
||
|
|
result = self.function(context)
|
||
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\post_calculation\safety_factor_hook.py", line 38, in safety_factor_hook
|
||
|
|
raise ValueError(f"Missing required input: max_stress")
|
||
|
|
ValueError: Missing required input: max_stress
|
||
|
|
Hook 'safety_factor_hook' failed: Missing required input: max_stress
|
||
|
|
Required input 'norm_stress' not found in context
|
||
|
|
Hook 'weighted_objective_hook' failed: Missing required input: norm_stress
|
||
|
|
Traceback (most recent call last):
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\hooks.py", line 72, in execute
|
||
|
|
result = self.function(context)
|
||
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\optimization_engine\plugins\post_calculation\weighted_objective_test.py", line 38, in weighted_objective_hook
|
||
|
|
raise ValueError(f"Missing required input: norm_stress")
|
||
|
|
ValueError: Missing required input: norm_stress
|
||
|
|
Hook 'weighted_objective_hook' failed: Missing required input: norm_stress
|
||
|
|
\u26a0\ufe0f No explicit objective, using: max_displacement
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_reader.py:403 mode='nx' version='2412'
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:634 -------- reading op2 with read_mode=2 (array filling) --------
|
||
|
|
DEBUG: op2_reader.py:323 date = (11, 16, 25)
|
||
|
|
WARNING: version.py:88 nx version='2412' is not supported
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'IBULK' (explicit bulk data)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'ICASE' (explicit case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'CASECC' (case control)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'PVT0' (PARAM cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPL' (grid point list)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GPDT' (grid point locations)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EPT' (property cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'MPT' (material cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM2' (element cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM3' (constraint cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM4' (load cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'GEOM1' (grid/coord cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BGPDT' (grid points in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'DIT' (TABLEx cards)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'EQEXIN' (internal/external ids)
|
||
|
|
DEBUG: op2_reader.py:672 eqexin idata=(101, 585, 0, 0, 0, 0, 0)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OQG1' (spc/mpc forces)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'BOUGV1' (g-set U in cid=0 frame)
|
||
|
|
DEBUG: op2_scalar.py:2173 table_name=b'OES1' (linear stress)
|
||
|
|
DEBUG: oes.py:2840 numwide_real=193
|
||
|
|
DEBUG: oes.py:2840 numwide_real=151
|
||
|
|
DEBUG: op2.py:932 combine_results
|
||
|
|
DEBUG: op2.py:648 finished reading op2
|
||
|
|
|
||
|
|
[Wizard] VALIDATION RESULTS:
|
||
|
|
[Wizard] [OK] extractor: ['max_displacement', 'max_disp_node', 'max_disp_x', 'max_disp_y', 'max_disp_z']
|
||
|
|
[Wizard] [FAIL] extractor: No ctetra stress results in OP2
|
||
|
|
[Wizard] [FAIL] calculation: name 'max_von_mises' is not defined
|
||
|
|
[Wizard] [OK] calculation: Created ['neg_displacement']
|
||
|
|
[Wizard] [OK] hook: 3 results
|
||
|
|
[Wizard] [OK] objective: 0.36178338527679443
|
||
|
|
|
||
|
|
|
||
|
|
================================================================================
|
||
|
|
VALIDATION FAILED!
|
||
|
|
================================================================================
|
||
|
|
|
||
|
|
|
||
|
|
[Atomizer] The validation found issues that need to be fixed:
|
||
|
|
|
||
|
|
|
||
|
|
Traceback (most recent call last):
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\tests\interactive_optimization_setup.py", line 324, in <module>
|
||
|
|
main()
|
||
|
|
File "c:\Users\antoi\Documents\Atomaste\Atomizer\tests\interactive_optimization_setup.py", line 316, in main
|
||
|
|
print(f" [ERROR] {result.message}")
|
||
|
|
File "C:\Users\antoi\anaconda3\envs\test_env\Lib\encodings\cp1252.py", line 19, in encode
|
||
|
|
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
|
||
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
UnicodeEncodeError: 'charmap' codec can't encode character '\u274c' in position 19: character maps to <undefined>
|