Jump to content

Search the Community

Showing results for tags 'link variables'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation and Licensing
    • Modeling & Visualisation
    • Solvers & Optimization
    • Multi Body Simulation
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版(Altair Student Edition)

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests


Organization

Found 1 result

  1. Hi, I'm using abaqus as a slover. There are two models which should be optimize synchronously, so some variables were linked. -------------------------------- Acitive Label Varname Expression 1 com1_1 m_1_varname_1 1 com2_1 m_2_varname_1 m_1_varname_1 -------------------------------- But when the "evaluate" was conducted, there are errors occured: -------------------------------- 13 Error : Scalar value expected for ( com2_1 (m_2_varname_1) ) 14 Warning: Could not set the value of variable ( com2_1 (m_2_varname_1) ) in model ( Model 2 (m_2) ) -------------------------------- I'm wondering whether the slover script didn't support the two models link variables? -------------------------------- #!/usr/bin/env python """ Example script to run abaqus """ # import statements import os import platform import subprocess import sys # user edits------------------------------------------------------------------- # set abaqus path use forward slashes (/) abaqus_exe = 'C:/SIMULIA/Abaqus/Commands/abq6121.bat' # set abaqus arguments abaqus_arguments = 'job=' + sys.argv[1] + ' ' + 'memory=20000Mb cpus=36 interactive' # set log file name logFile = 'logFile.txt' # ----------------------------------------------------------------------------- # open log file f = open('logFile.txt', 'w') # get environment information plat = platform.system() hst_altair_home = '' strEnvVal = os.getenv('HST_ALTAIR_HOME') if strEnvVal: hst_altair_home = strEnvVal else: f.write('%EXA_xx-e-env, Environment variable not defined ( HST_ALTAIR_HOME )') abaqus_exe = os.path.normpath(abaqus_exe) lstCommands = [abaqus_exe, abaqus_arguments] # echo log information f.write('platform: ' + plat + '\n') f.write('hst_altair_home: ' + hst_altair_home + '\n') f.write('abaqus command: ' + abaqus_exe + '\n') #execute the command f.write('Running the command:\n' + ' '.join(lstCommands) + '\n') p1 = subprocess.Popen(' '.join(lstCommands), stdout=subprocess.PIPE , stderr=subprocess.PIPE) # log the standard out and error f.write('\nStandard out' + '\n' + p1.communicate()[0] + '\n') f.write('\nStandard error' + '\n' + p1.communicate()[1] + '\n') # close log file f.close() # End of file:
×
×
  • Create New...