We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
構造全般

構造全般

メッシュ内の各要素に関連付けられた、要素のRHSベクトルをデータベースファイルから抽出する方法はありますか。

Tagged:

    • FAQFAQ
      Participant

      下記方法で取得できます。 “! =========== 全要素の荷重ベクトルを抽出 =========== fini !/post1 esel,all !選択を全要素として初期化 esel,s,sfe,hflux,1!荷重が適用されている要素を選択 *get,num_e,elem,0,count !メッシュ内の要素数を取得 *get,e_min,elem,0,num,min !メッシュ内の最小節点数を取得 *set,index,1 !インデックスを1に初期化 *do,i,1,num_e,1 !メッシュ内の全要素に対するループを設定  /gopr  *set,curr_e,e_min !現在の要素数が最小要素数  *DMAT,RE,D,IMPORT,EMAT,EMATtest.emat,RHS,curr_e *EXPORT,RE,APDL,xxp%curr_e%,1,2 !配列をHB形式で外部ファイルにエクスポート  *cfopen,xxp%curr_e%,dat !エクスポート用のdatファイルを開く  *vwrite,xxp%curr_e%(1,1),xxp%curr_e%(1,2) !配列データをdatファイルに格納  (2(E15.6)) !エクスポートの数値形式を指定  *cfclos *get,e_min,elem,curr_e,nxth !現在の要素を増分  *set,index,index+1 !インデックスを増分 *enddo”