Search found 1 match

by Technip
Tue Mar 14, 2017 8:11 am
Forum: Reliability Analysis
Topic: Reliability
Replies: 11
Views: 42070

Re: Reliability - GFunEvaluator Error

Hi Guys,
I am looking for help on the code I have which include the Reliability Assessment.
the problem I have is invalid command GFunEvaluator when run the tcl code using source command. Sorry I could not find the way to attach the tcl file so I copy paste below. Any help on this appreciated.
Regards
Amer Ali
____________________________________________________________

# CREATE THE RELIABILITY MODEL BUILDER. NO FINITE ELEMENT MODEL BUILDER IS NECESSARY IN THIS EXAMPLE
reliability

#
# --- flowline
# (mm)
set fl_od_nom 311.0

#
set fl_oval_max 0.0075
set fl_oval_mean 0.00375
set fl_oval_sd 0.00125
#
set fl_oval_A_mean [expr $fl_od_nom * $fl_oval_mean]
set fl_oval_A_sd [expr $fl_od_nom * $fl_oval_sd]
#
# --- carrier
# (mm)
set cp_od_nom 434.5
set cp_wt_mean 21.75
set cp_wt_sd 0.725
#
set cp_oval_max 0.01
set cp_oval_mean 0.005
set cp_oval_sd 0.001667
#
set cp_oval_A_mean [expr $cp_od_nom * $cp_oval_mean]
set cp_oval_A_sd [expr $cp_od_nom * $cp_oval_sd]
#
# --- centraliser
#
set ct_wt_mean 34.25
set ct_wt_sd 0.0835
#
# --- weld bead
#
set bd_height_max 2.0
set bd_height_mean 0.667
set bd_height_sd 0.333
#
# --- misalignment
#
set ms_max 1.5
set ms_mean 0.5
set ms_sd 0.25
#
# CREATE RANDOM VARIABLES
# -tag- -type- -mean- -sd-
randomVariable 1 lognormal $cp_wt_mean $cp_wt_sd
randomVariable 2 lognormal $cp_wt_mean $cp_wt_sd
randomVariable 3 normal $fl_oval_A_mean $fl_oval_A_sd
randomVariable 4 normal $cp_oval_A_mean $cp_oval_A_sd
randomVariable 5 lognormal $ct_wt_mean $ct_wt_sd
randomVariable 6 lognormal $ct_wt_mean $ct_wt_sd
randomVariable 7 lognormal $bd_height_mean $bd_height_sd
randomVariable 8 lognormal $bd_height_mean $bd_height_sd
randomVariable 9 lognormal $ms_mean $ms_sd


## ............................ SPECIFY CORRELATION
correlate 5 6 0.5

set gap "$cp_od_nom - $fl_od_nom -{x_1} - {x_2} - {x_3} - {x_4} - {x_5} - {x_6} - {x_7} -{x_8} - {x_9}"
#
# -"expression"-
#
performanceFunction 1 "$gap"
#
# CREATE NECESSARY RELIABILITY ANALYSIS TOOLS
#
probabilityTransformation Nataf -print 1
reliabilityConvergenceCheck Standard -e1 1.0e-3 -e2 1.1e-2 -print 1
GFunEvaluator Basic
gradGEvaluator FiniteDifference -pert 1000
searchDirection iHLRF
meritFunctionCheck AdkZhang -multi 2.0 -add 10.0 -factor 0.5
stepSizeRule Armijo -maxNum 50 -base 0.5 -initial 0.01 2 -print 1
startPoint Mean
findDesignPoint StepSearch -maxNumIter 100

# =============================
# === RUN THE FORM ANALYSIS ===
# =============================

runFORMAnalysis FORM34t.out