不知火舞的被虐|伊人天伊人天天综合网|博洛尼亚天气|任你懆这里只有精品4|久久美日韩精品久久|掌中之物漫画免费阅读观看|0丨d老妇

NodeSet

關注
創建者:achinadog 創建時間:2021-02-16
NodeSet圖1

NodeSet的實例教程

# -*-coding:UTF-8-*- from odbAccess import * from math import sqrt # 打開ODB文件 odbName = session.viewports[session.currentViewportName].odbDisplay.name odb = session.odbs[odbName] assembly = odb.rootAssembly # 打印所有節點集的名稱 print("All node sets in the model:") for nodeSetName in assembly.nodeSets.keys(): print(nodeSetName) # 選擇步驟和增量 stepName = 'Step-1' # 替換為你的實際步驟名稱 lastFrame = odb.steps[stepName].frames[-1] # 初始化最大位移合量變量 maxDisplacementMagnitude = 0 # 遍歷所有節點 # 我將頂面節點設置為set-up for node in assembly.nodeSets['SET-UP'].nodes[0]: # 獲取節點的位移輸出(這里假設輸出變量為U,即位移) displacement = lastFrame.fieldOutputs['U'].getSubset(region=node).values[0] # 計算位移合量 displacementMagnitude = sqrt(displacement.data[0]**2 + displacement.data[1]**2 + displacement.data[2]**2)
展開
0.000 0.000 0 *DATABASE_GLSTAT 1.0000E-7 0 0 1 *DATABASE_MATSUM 1.0000E-7 0 0 1 *DATABASE_RBDOUT 1.0000E-7 0 0 1 *DATABASE_RCFORC 1.0000E-7 0 0 1 *DATABASE_TPRINT 1.0000E-7 0 0 1 *DATABASE_BINARY_D3PLOT $# dt lcdt beam npltc psetid 1.0000E-7 0 0 0 0 *DATABASE_BINARY_D3THDT $# dt lcdt beam npltc psetid 1.0000E-7 0 0 0 0 *DATABASE_EXTENT_BINARY $# neiph neips maxint strflg sigflg epsflg rltflg engflg 0 0 3 1 1 1 1 1 $# cmpflg ieverp beamip dcomp shge stssz n3thdt ialemat 0 0 0 1 1 1 2 1 $# nintsld pkp_sen sclp unused msscl therm intout nodout 0 0 1.000000 0 0 *BOUNDARY_PRESCRIBED_MOTION_RIGID $# pid dof vad lcid sf vid death birth 2 1 0 1 1.000000 01.0000E+28 0.000 *BOUNDARY_SPC_SET $# nsid cid dofx dofy dofz dofrx dofry dofrz 1 0 1 1 1 1 1 1 *SET_NODE_LIST_TITLE NODESET
展開
標簽的開始和結束不能用雙重“_” 下面是一個使用了引號和沒有使用引號的例子: *ELEMENT, TYPE=SPRINGA, ELSET="One element" 1,1,2 *SPRING, ELSET="One element" 1.0E-5, *NSET, ELSET="One element", NSET=NODESET *BOUNDARY nodeset,1,2 4.數據行重復: 數據行可以重復,也就是說每行數據可以有一行響應的變量也可以有幾行。同樣也可以有多行數據行,對應各自的變量行.如: *ELASTIC, TYPE=ISOTROPIC 200.E3, 0.3, 20. 150.E3, 0.35, 400. 80.E3, 0.42, 700. 定義了一個零件的材料性質,均質,線彈性,在不同應力下的揚式模量和泊松比. 三、從外存儲器中引入模型或者歷史數據 The *INCLUDE option can be used to specify an external file that contains a portion of the ABAQUS input file. This file can include model and history definition data, comment lines, and other *INCLUDE references. When the option is encountered, ABAQUS will immediately process the input data within the file specified by the INPUT parameter.
展開
### python腳本提取解釋 # 導入模塊 from odbAccess import * from abaqusConstants import * from odbMaterial import * from odbSection import * import math # 打開odb文件 odb = openOdb(path=r'G:\CABLE_CON\TEXT2\Job-1.odb') Step_1=odb.steps['Step-1'] # 鎖定目標繩索 region = Step_1.historyRegions['Element ASSEMBLY.1'] xy1=region.historyOutputs['CTF1'].data[300] # 取最后一幀數據,并將括號刪掉 s=str(xy1) s = s.replace("(", "") s = s.replace(")", "") # 將繩力輸出到 F1.txt 文件 disFile=open('F1.txt','w') disFile.write(s) disFile.close() # 取最后一幀數據 lastFrame=Step_1.frames[-1] Zuobiao=lastFrame.fieldOutputs['COORD'] Regioncare=odb.rootAssembly.nodeSets['RP'] Coor1=Zuobiao.getSubset(region=Regioncare) Zuobiao_x=Coor1.values[0].data[0] Zuobiao_y=Coor1.values[0].data[1] Zuobiao_z=Coor1.values[0].data[2] Zhuanjiao=lastFrame.fieldOutputs
展開
LoadEx - Uniform 類型 在向指定的NodeSet施加相同方向的力時使用。力被施加到節點上。 如果將100N應用到20個節點上,則總計20000N的力被施加。 2. LoadEx - Relative 類型 向指定的節點施加力,力的方向由連接基準節點和目標節點的方向向量確定。 用于基于特定節點應用不同方向均勻大小的力。 3. Pressure 當您想在指定的面上指定一個值為“壓力”時使用。 由于壓力,按指定的Patch大小施加的力的大小可能會有所不同。 例如,如果在mm,N單位系中,將100 N/mm^2的Pressure應用于總面積為100 mm^2的Patch Set,則總計10000N的力。
展開
NodeSet圖2

NodeSet的最新內容

節點集1,判斷類型,終止閾值,單循環目標值</p><p>NodeSet2, AbsMax, 0.012, 0.006&nbsp;&nbsp;! 節點集2,判斷類型,終止閾值,單循環目標值</p><p>... !
Click on XYdata and ODB field output Click on position: Unique Nodal Click on displacement U3 Click on Elements Nodesets
class="ql-syntax" spellcheck="false">from odbAccess import openOdb odb_path = r"E:\Abaqus work directory\abc.odb" my_odb = openOdb(path=odb_path) assembly = my_odb.rootAssembly if'SET1' in assembly.nodeSets.keys
nodeSetName) # 選擇步驟和增量 stepName = 'Step-1' # 替換為你的實際步驟名稱 lastFrame = odb.steps[stepName].frames[-1] # 初始化最大位移合量變量 maxDisplacementMagnitude = 0 # 遍歷所有節點 # 我將頂面節點設置為set-up for node in assembly.nodeSets
(): &nbsp; &nbsp; node_set = my_odb.rootAssembly.nodeSets[node_set_name] &nbsp; &nbsp; print("Node Set: {}".format(node_set_name)) </pre><div contenteditable="false" width="100%"> <figure class="
LoadEx - Uniform 類型 在向指定的NodeSet施加相同方向的力時使用。力被施加到節點上。 如果將100N應用到20個節點上,則總計20000N的力被施加。 2. LoadEx - Relative 類型 向指定的節點施加力,力的方向由連接基準節點和目標節點的方向向量確定。
$# sid da1 da2 da3 da4 1 0.000 0.000 0.000 0.000 $# nid1 nid2 nid3 nid4 nid5 nid6 nid7 nid8 *BOUNDARY_SPC_SET $# nsid cid dofx dofy dofz dofrx dofry dofrz 2 0 0 0 1 1 1 0 *SET_NODE_LIST_TITLE NODESET
s.replace("(", "") s = s.replace(")", "") disFile=open('F1.txt','w') disFile.write(s) disFile.close() lastFrame=Step_1.frames[-1] Zuobiao=lastFrame.fieldOutputs['COORD'] Regioncare=odb.rootAssembly.nodeSets
s.replace("(", "") s = s.replace(")", "") disFile=open('F1.txt','w') disFile.write(s) disFile.close() lastFrame=Step_1.frames[-1] Zuobiao=lastFrame.fieldOutputs['COORD'] Regioncare=odb.rootAssembly.nodeSets
", "") # 將繩力輸出到 F1.txt 文件 disFile=open('F1.txt','w') disFile.write(s) disFile.close() # 取最后一幀數據 lastFrame=Step_1.frames[-1] Zuobiao=lastFrame.fieldOutputs['COORD'] Regioncare=odb.rootAssembly.nodeSets