شعار Composite Layup

Composite Layup

المجتمعشائع
Cai-aa
composite-layup

Define composite layup with ply angles, thickness, and count. Invoke when user asks to change ply angles, modify layup, or adjust ply count for curing simulation.

نظرة عامة

الناشرCai-aa
المستودعCAE-Agent-Hub
اسم المهارةcomposite-layup
النجوم
1K
التفريعات
130
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها Cai-aa على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Composite Layup في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Cai-aa/CAE-Agent-Hub/tree/main/Skill/abaqus/composite-curing-simulation/modeling/composite-layup
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cai-aa/CAE-Agent-Hub.git /tmp/CAE-Agent-Hub
mkdir -p .claude/skills
cp -r /tmp/CAE-Agent-Hub/Skill/abaqus/composite-curing-simulation/modeling/composite-layup .claude/skills/composite-layup
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Composite Layup في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Composite Layup تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Composite Layup بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Composite Layup Definition

This skill defines and modifies the composite layup for curing simulation. It covers ply angles, ply thickness, ply count, and the orientation system used by the *Solid Section, composite card in Abaqus.

Ply Definition Format

The composite layup is defined inside the P8 Part using *Solid Section, composite. Each ply is specified on a single data line with five fields:

*Solid Section, elset=CompositeLayup-1-1, composite, orientation=Ori-1, stack direction=3, layup=CompositeLayup-1
<thickness>, 3, COM, <angle>, Ply-<N>

Field Breakdown

FieldValueDescription
1thicknessPly thickness in model units (mm). E.g., 1. or 0.250
23Stack direction index (always 3 for this model)
3COMMaterial name (references *Material, name=COM with UMAT)
4anglePly angle in degrees. E.g., 0., 45., -45., 90.
5Ply-NPly label (N is the ply number, starting from 1)

All plies are listed consecutively under a single *Solid Section card. The element set (CompositeLayup-1-1) covers all elements in the composite part.

Example: 4-Ply Layup (1 mm each)

*Solid Section, elset=CompositeLayup-1-1, composite, orientation=Ori-1, stack direction=3, layup=CompositeLayup-1
1., 3, COM, 0., Ply-1
1., 3, COM, 0., Ply-2
1., 3, COM, 0., Ply-3
1., 3, COM, 0., Ply-4

Example: 8-Ply Layup (0.25 mm each)

*Solid Section, elset=CompositeLayup-1-1, composite, orientation=Ori-1, stack direction=3, layup=CompositeLayup-1
0.250, 3, COM, 0., Ply-1
0.250, 3, COM, 0., Ply-2
0.250, 3, COM, 0., Ply-3
0.250, 3, COM, 0., Ply-4
0.250, 3, COM, 0., Ply-5
0.250, 3, COM, 0., Ply-6
0.250, 3, COM, 0., Ply-7
0.250, 3, COM, 0., Ply-8

How to Change Ply Angles

Changing ply angles is a text-level edit. You modify the 4th field (angle in degrees) in each ply data line. No mesh regeneration is required.

Step-by-Step

  1. Locate the *Solid Section, composite block in the INP file.
  2. For each ply line, replace the 4th field with the desired angle.
  3. Save the INP file. The mesh and element connectivity remain unchanged.

Regex Pattern for Automated Replacement

When automating ply angle changes with Python, use the following regex pattern to replace a specific ply's angle:

python
import re

def change_ply_angle(content, ply_num, angle):
    """
    Replace the angle of a specific ply in the *Solid Section composite block.

    Args:
        content: Full INP file content as a string.
        ply_num: Ply number (integer, e.g., 1 for Ply-1).
        angle: New angle in degrees (float, e.g., 45.0).

    Returns:
        Updated INP content as a string.
    """
    pattern = r'(0\.250,\s*3,\s*COM,\s*)([0-9.\-]+)(,\s*Ply-' + str(ply_num) + ')'
    replacement = r'\g<1>' + str(float(angle)) + r'\g<3>'
    return re.sub(pattern, replacement, content)

Note: The regex above assumes 0.25 mm ply thickness (8-ply model). For a 4-ply model with 1 mm thickness, adjust the thickness portion of the pattern:

python
# For 4-ply model (1.0 mm per ply)
pattern = r'(1\.,\s*3,\s*COM,\s*)([0-9.\-]+)(,\s*Ply-' + str(ply_num) + ')'

Example Layup Sequences

[0]*8 Layup (all 0 degrees)
0.250, 3, COM, 0., Ply-1
0.250, 3, COM, 0., Ply-2
0.250, 3, COM, 0., Ply-3
0.250, 3, COM, 0., Ply-4
0.250, 3, COM, 0., Ply-5
0.250, 3, COM, 0., Ply-6
0.250, 3, COM, 0., Ply-7
0.250, 3, COM, 0., Ply-8
[45/-45]*4 Layup (alternating 45 and -45 degrees)
0.250, 3, COM, 45., Ply-1
0.250, 3, COM, -45., Ply-2
0.250, 3, COM, 45., Ply-3
0.250, 3, COM, -45., Ply-4
0.250, 3, COM, 45., Ply-5
0.250, 3, COM, -45., Ply-6
0.250, 3, COM, 45., Ply-7
0.250, 3, COM, -45., Ply-8
[90]*8 Layup (all 90 degrees)
0.250, 3, COM, 90., Ply-1
0.250, 3, COM, 90., Ply-2
0.250, 3, COM, 90., Ply-3
0.250, 3, COM, 90., Ply-4
0.250, 3, COM, 90., Ply-5
0.250, 3, COM, 90., Ply-6
0.250, 3, COM, 90., Ply-7
0.250, 3, COM, 90., Ply-8

How to Change Ply Count

Changing ply count is not a text-level edit. The number of through-thickness elements in the mesh must match the ply count. You cannot simply add or remove ply lines in the INP file, because the element connectivity and node layout are tied to the mesh topology.

Why Mesh Regeneration Is Required

Each ply corresponds to one layer of C3D8 elements through the thickness. The *Solid Section, composite card assigns one ply per element layer. If you add a ply line without adding a corresponding element layer, Abaqus will error because there are more plies than element layers. If you remove a ply line, elements will be left without a ply assignment.

Approach: Merge Strategy

When the reference INP has 4 plies but 8 plies are needed (or vice versa), use the merge strategy to swap the P8 Part from a pre-built model that already has the correct mesh.

  1. Source P8 model (correct ply count, e.g., P8_only_recipe_1.inp for 8 plies): Contains the correct through-thickness mesh and composite layup.

  2. Reference model (e.g., Job-0_0_0_0.inp): Contains the mold, contact, loads, and steps that should be preserved.

  3. Merge: Replace the reference model's P8 Part (nodes, elements, connectivity, composite layup) with the source model's P8 Part. Then update all assembly-level sets that reference P8 nodes or elements.

Key Updates Needed When Merging

  • Replace P8 Part: nodes, elements, connectivity, and *Solid Section, composite block
  • Update _PickedSet333 node/element ranges (e.g., 3025 to 5445 nodes, 2160 to 4320 elements)
  • Replace _com-surface_S1 elset (composite outer surface elements)
  • Replace __PickedSurf337_S2 elset (composite inner surface elements)
  • Replace _PickedSet334/335/336 nsets (reference points)
  • Match Set-2 nodes by coordinate matching (inner corner nodes for springback constraint)
  • Remove SET-EXPORT nset if present (reference-specific)

4-Ply vs 8-Ply Comparison

Property4-Ply Model8-Ply Model
Ply thickness1.0 mm each0.25 mm each
Total thickness4.0 mm2.0 mm
Through-thickness elements48
Total elements21604320
Total nodes30255445
In-plane nodes per layer605605
Ply angle granularityCoarse (4 angles)Fine (8 angles)
Mesh generationBuilt into reference INPRequires separate model

Note: The in-plane mesh (605 nodes per through-thickness layer) is shared between the 4-ply and 8-ply models. Only the through-thickness discretization differs.

Orientation Definition

The ply angles are interpreted relative to a local coordinate system defined by the *Orientation card. The orientation must be defined before the *Solid Section, composite card that references it.

Orientation Card

*Orientation, name=Ori-1, system=RECTANGULAR
<origin_x>, <origin_y>, <origin_z>,
<a1_x>, <a1_y>, <a1_z>,
<a2_x>, <a2_y>, <a2_z>
*Distribution Table, name=Ori-Table
ANGLES,
*Distribution, location=ELEMENT, table=Ori-Table
<elset_name>, <angle_offset>

Orientation Parameters

ParameterValueDescription
nameOri-1Orientation name (referenced by *Solid Section)
systemRECTANGULARRectangular coordinate system
Origin0., 0., 0.Origin of the local coordinate system
a-axisDefined per modelDirection of the local 1-axis (fiber reference direction)
b-axisDefined per modelDirection of the local 2-axis (transverse direction)

The stack direction (3rd field in *Solid Section) corresponds to the local 3-axis, which is the through-thickness direction. Ply angles are measured as rotations about this axis.

Distribution Table for Discrete Orientations

When different element sets need different orientation offsets, use a distribution table. The table maps element sets to angle offsets:

*Distribution Table, name=Ori-Table
ANGLES,
*Distribution, location=ELEMENT, table=Ori-Table
Ply-1-elset, 0.
Ply-2-elset, 0.
Ply-3-elset, 0.
Ply-4-elset, 0.

In this model, all element layers share the same base orientation (Ori-1). The ply-specific angles come from the 4th field in each *Solid Section, composite data line, not from the distribution table. The distribution table is used when the base orientation itself needs to vary by element set.

Common Pitfalls

  1. Ply count mismatch: Adding ply lines without corresponding element layers causes Abaqus errors. Always regenerate the mesh when changing ply count.
  2. Angle format: Angles must include a decimal point (e.g., 0. not 0, 45. not 45). Abaqus parses these as floating-point values.
  3. Stack direction: The stack direction is always 3 for this model. Changing it will misalign the ply assignment with the mesh.
  4. Material name: The material name in the ply line must match the *Material, name= card exactly (case-sensitive). For this model, it is COM.
  5. Ply numbering: Ply labels (Ply-1, Ply-2, ...) must be sequential and unique. Gaps or duplicates will cause errors.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Composite Layup؟

Define composite layup with ply angles, thickness, and count. Invoke when user asks to change ply angles, modify layup, or adjust ply count for curing simulation.

لماذا تستخدم Composite Layup على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Composite Layup عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Composite Layup في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Cai-aa/CAE-Agent-Hub/tree/main/Skill/abaqus/composite-curing-simulation/modeling/composite-layup. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Composite Layup؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Composite Layup؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Composite Layup معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Composite Layup مجانية؟

نعم. نشرها Cai-aa على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇