brainstorming
OBobra/superpowers298k近 7 天新增 2,631 个 star
Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models. Use for software-independent O-grid planning or implementation in a selected preprocessor, including requests mentioning 钱币原理、圆柱网格、中心正方形、顶点切到圆周、结构化六面体网格, mapped square-to-circle partitions, or HEX8 meshes. Includes a generic planner and an Abaqus/CAE execution adapter; do not claim automated support in another CAE application without a matching adapter or proved live native-tool path.
Create a reviewable coin-style O-grid and accept it only after topology, mesh, and analysis checks pass in the selected CAE workflow.
Collect or infer only low-risk inputs:
R, length L, cylinder axis, units, and any interfaces or local refinement zones.If live access to the target CAE application is unavailable, generate a plan and preview, label them as unexecuted in that application, and do not claim that the mesh was created or validated there.
Use a circular cross-section with one centered, axis-aligned square. Connect each square vertex to the circle along the same 45-degree radial direction. Preserve these invariants:
0 < a < R/sqrt(2), where a is the square half-width.n_side on every square side and corresponding 90-degree outer arc.n_radial on all four vertex-to-circle connector edges.n_axial on all edges parallel to the cylinder axis.Read references/topology.md before selecting the square size or element counts.
scripts/plan_ogrid.py.scripts/abaqus_build_ogrid.py only for a clean, straight cylinder aligned with global Z; adapt the workflow for existing or differently oriented parts.Do not infer solver element codes from the generic HEX8 label. Report both the generic brick family and the exact target formulation actually assigned.
scripts/plan_ogrid.py.For live automation, prove the real application session with harmless inspection calls before mutation, save a checkpoint, and preserve raw tool output. A bridge response, generated file, or process return code alone is not mesh-quality or solver-validity evidence.
Create the software-independent plan:
python scripts/plan_ogrid.py --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24 --output-dir ogrid-plan
Dry-run the Abaqus adapter without importing Abaqus modules:
python scripts/abaqus_build_ogrid.py --dry-run --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24
Run the adapter inside Abaqus/CAE after reviewing the plan:
abaqus cae noGUI=scripts/abaqus_build_ogrid.py -- --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24 --cae-out cylinder_ogrid.cae
Treat the Abaqus builder as a starting point for a clean cylinder. Do not run it against a production model without adapting names, orientation, interfaces, and save path.
Return:
a/R.n_side, total circumferential count, n_radial, and n_axial.Never state “high quality” without attached measurements and a visual check of the four square-corner transition zones.
Use assets/coin-ogrid-topology.svg as the software-independent topology reference. Use assets/abaqus-live-smoke.png only as an Abaqus appearance example. Never infer quality metrics from images alone.
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
OBobra/superpowers298k近 7 天新增 2,631 个 star
MAmattpocock/skills288k近 7 天新增 10,178 个 star