Workbench之八 配置ABAQUS
Workbench之八 配置ABAQUS
支持ABAQUS6.14版
安裝ABAQUS后,必須配置文件以進(jìn)行后處理:
ANSYS_INSTALL_DIR\v212\aisol\WBAddins\AbaqusAddin\config.xml
使用純文本編輯器編輯該文件,且需安裝特定版本:<AbaqusVersion version="6.14-3">
如果安裝了ABAQUS的多個(gè)版本,配置用于Workbench的版本需首先出現(xiàn)在PATH環(huán)境變量中。
假設(shè)ABAQUS安裝在C:\SIMULIA\Abaqus,版本6.14-3,則PATH環(huán)境變量必須包含:
• C:\SIMULIA\Abaqus\Commands
• C:\SIMULIA\Abaqus\6.14-3\code\bin
• C:\SIMULIA\Abaqus\6.14-3\tools\SMApy\python2.7\Lib
如果安裝的ABAQUS版本與配置文件config.xml不一致,后處理時(shí)Mechanical將報(bào)錯(cuò)。
1. ABAQUS結(jié)果儲(chǔ)存配置文件
可使用XML配置文件準(zhǔn)確控制ABAQUS求解器輸出的結(jié)果。該文件使用ABAQUS控制代碼定義何種結(jié)果將寫入結(jié)果文件,通過結(jié)果類型和種類區(qū)分,配置文件位于:
ANSYS_INSTALL_DIR\v212\aisol\WBAddins\AbaqusAddin\AbaqusArchiveSettings.xml.
Mechanical啟動(dòng)時(shí)讀取配置文件,如果在Mechanical運(yùn)行期間配置文件發(fā)生改變,必須重啟Mechanical以反映該變化。
配置文件XML根元素是<AbaqusArchiveSettings version="1">,其子節(jié)點(diǎn)代表分析類型,唯一的子節(jié)點(diǎn)是<Analysis>,屬性為:
name (type string)
分析類型:
• struct
• eigen
• thermal
<Analysis>可帶子節(jié)點(diǎn)<Output>,包含下述屬性
type (type string)
可選類型,用于定制求解器輸入文件代碼:
• nodal
• elemental
• contact
• energy
• radiation
<Output>節(jié)點(diǎn)帶子節(jié)點(diǎn)<Codes>,包含下述屬性:
value (type string)
ABAQUS代碼列表,以空格分隔。通常使用整數(shù)列表,可正可負(fù)。
position (type string)
用于匹配位置的單元結(jié)果,或者使用無位置結(jié)果
category (type string)
可選,由用戶決定是否激活.
• stress
• strain
• thermal
• contact
求解進(jìn)行和建立求解器輸入文件時(shí),Mechanical搜尋配置文件中正確的<Analysis>代碼,確定寫入輸入文件的SAI代碼。搜尋分析類型,線性或非線性,下表描述了映射關(guān)系:
Workbench Analysis Type |
Option |
<Analysis>Node Used |
Static Structural (Samcef) |
Linear |
default |
Nonlinear |
non_linear |
|
Transient Structural (Samcef) |
Linear |
default |
Nonlinear |
non_linear |
|
Modal (Samcef) |
Linear |
modal |
Nonlinear |
non_linear |
|
Harmonic Response (Samcef) |
- |
harmonic |
Eigenvalue Buckling (Samcef) |
- |
No SAI code written |
Steady-State Thermal (Samcef) |
- |
thermal |
Transient Thermal (Samcef) |
- |
thermal |
1.1. ABAQUS后處理配置文件
為從Workbench界面中的ABAQUS求解器進(jìn)行后處理,使用XML文件在Workbench和ABAQUS之間映射結(jié)果。XML文件定義了所有與相關(guān)數(shù)據(jù)關(guān)聯(lián)的結(jié)果代碼,并列出相應(yīng)的ABAQUS代碼。配置文件位于:
ANSYS_INSTALL_DIR\v212\aisol\WBAddins\AbaqusAddin\VkiAbaqusResultCodes.xml.
在Mechanical后處理ABAQUS數(shù)據(jù)時(shí)讀入配置文件,如果在Mechanical運(yùn)行時(shí)該文件發(fā)生改變,必須重啟Mechanical以反映該變化
下述例程描述了配置文件的結(jié)構(gòu):
<Result result_name="U" result_id="101" data_type="nodal" out_unit="length" style="vector"
num_comp="5" comp_labels="XYZLABELS" description="Deformations(XYZs)">
<Solver name="Abaqus">
<Code name="U" />
</Solver>
<vki vki_root_name="D" />
</Result>
提供了以下信息:
• Mechanical標(biāo)識(shí)符ID101標(biāo)識(shí)的Workbench代碼“U”,是一個(gè)節(jié)點(diǎn)結(jié)果,代表長(zhǎng)度
• 結(jié)果以向量形式表示,有5個(gè)元素,是XYZLABLES組的一部分
• 結(jié)果相應(yīng)于vki結(jié)果”D”,來自于ABAQUS代碼”U”
XML結(jié)果對(duì)象有下述屬性:
result_name (type string)
結(jié)果的Workbench名,標(biāo)準(zhǔn)Mechanical名是保留的。
result_id (type integer)
結(jié)果的Workbench ID,標(biāo)準(zhǔn)Mechanical ID是保留的;用戶標(biāo)識(shí)始于100000,至于1000000,大于1000000的數(shù)字保留內(nèi)部使用
data_type (type string enumerate)
結(jié)果類型:
• nodal
• elem_nodal
• elemental
out_unit (type string enumerate)
結(jié)果單位類型:
• o_units
• acceleration
• angle
• angular_velocity
• area
• capacitance
• charge
• charge_density
• conductivity
• current
• current_density
• density
• displacement
• electric_conductivity
• electric_field
• electric_flux_density
• electric_resistivity
• energy
• film_coeff
• force
• force_intensity
• frequency
• heat_flux
• heat_generation
• heat_rate
• inductance
• inverse_stress
• length
• magnetic_field_intensity
• magnetic_flux
• magnetic_flux_density
• mass
• moment
• moment_inertia
• permeability
• permittivity
• poisson
• power
• pressure
• relative_permeability
• relative_permittivity
• section_modulus
• specific_heat
• specific_weight
• shear_strain
• stiffness
• strain
• stress
• strength
• thermal_expansion
• temperature
• time
• velocity
• voltage
• volume
• gasket_stiffness
• moment_inertia_mass
• psd_acceleration
• psd_acceleration_grav
• psd_displacement
• psd_velocity
• rotational_damping
• rotational_stiffness
• translational_damping
• angular_acceleration
• seedbeck_coefficient
• decay_constant
• fracture_energy
• shock_velocity
• energy_density_mass
• electric_conductance_per_unit_area
• psd_stress
• psd_strain
• psd_force
• psd_moment
• psd_pressure
• force_per_angular_unit
• impulse
• impulse_per_angular_unit
• temperature_difference
• material_impedance
• rs_acceleration
• rs_acceleration_grav
• rs_displacement
• rs_velocity
• warping_factor
• thermal_conductance
• inverse_length
• inverse_angle
• thermal_capacitance
• normalized_value
• mass_flow_rate
• unitless
• stress_intensity_factor
• sqrt_length
• energy_per_volume
• thermal_gradient
style (type string enumerate)
結(jié)果值的形式:
• scalar
• vector
• tensor
• tensor_strain
• euler_angles
• coordinate
• shear_moment_diagram
num_comp (type integer)
分量數(shù),在1-comp_labels之間
comp_labels (type string enumerate)
分量標(biāo)簽:
• XYZLABELS
• STRESSLABELS
• CONTACTLABELS
• BEAMLABELS
• GASKETLABELS
• NLLABELS
• MISCLABELS
• SENGLABELS
• SPRINGLABELS
• BEAM188LABELS
• RADIOSITYLABELS
• EULERLABELS
• BEAMRXLABELS
• THERMALMASSLABELS
• SHELLMBPLABELS
• SLASHPNUMLABELS
• CINTLABELS
• PRIN_S_LABELS
• PDMG_LABELS
• PFC_LABELS
• CDM_LABELS
• CONTDEBONDLABELS
• BEARINGLABELS
• BLANKLABELS
is_membrane (type boolean)
若定義此屬性且其值為true,僅當(dāng)模型有“膜”時(shí)才添加結(jié)果。
is_six_dof (type boolean)
可選,僅適用于Mechanical “R”和“M”類型結(jié)果
description (type string)
自由文本
<Solver> 節(jié)點(diǎn)指向?qū)傩?/span>name使用的求解器名。所有<Code>子節(jié)點(diǎn)代碼關(guān)聯(lián)于Workbench中本求解器的結(jié)果。其代碼為字母數(shù)字串,由屬性name引用。可以為同一個(gè)求解器定義幾個(gè)代碼。
<vki>節(jié)點(diǎn)是匹配求解器結(jié)果的另一個(gè)方法,包含下列屬性:
vki_root_name (type string)
vki根名在API文檔中描述.
vki_aux_name (type string)
僅當(dāng)vki_root_name設(shè)置為UNKNOWN時(shí)使用,與未知vki類型匹配結(jié)果
注:對(duì)于特定結(jié)果,如果求解器數(shù)據(jù)和vki數(shù)據(jù)均已完成,Mechanical將優(yōu)先嘗試匹配vki代碼;如果沒有找到,繼續(xù)匹配求解器代碼。例如,讀取結(jié)果文件時(shí),找到vki數(shù)據(jù)集E_ELAST,以及求解器數(shù)據(jù)EE;Mechanical搜尋帶vki根名E_ELAST的Workbench結(jié)果;如果沒有找到,則搜索帶Abaqus代碼EE的Workbench結(jié)果。
限制
• 如果配置文件XML丟失或格式不正確,不產(chǎn)生任何結(jié)果
• 若結(jié)果的語法非法(丟失XML組元,非法屬性),結(jié)果不可用
• 工作期間若任何結(jié)果配置文件改變,Mechanical必須重啟
下述結(jié)果不出現(xiàn)在XML文件中,因其特性不兼容:
• SERR-不與VKI或ABAQUS關(guān)聯(lián)。SERR適用于S和SVOLU有定義的場(chǎng)合。
NDIR, EDIR-不與VKI或ABAQUS關(guān)聯(lián)。NDIR, EDIR適用于模型包含殼的場(chǎng)合。
工程師必備
- 項(xiàng)目客服
- 培訓(xùn)客服
- 平臺(tái)客服
TOP




















