Skip to content

Commit

Permalink
Merge pull request #109 from bsaakash/master
Browse files Browse the repository at this point in the history
abs - updating the custom uq example files
  • Loading branch information
fmckenna authored Jun 14, 2024
2 parents 7ffe9aa + fa1a8c0 commit 2151ff1
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 145 deletions.
2 changes: 1 addition & 1 deletion Examples/qfem-0017/src/UQpySimpleExample.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"type" : "ComboBox",
"name" : "Sampling Method",
"values" : ["LHS"]
"values" : ["MCS"]
},
{
"type" : "LineEdit",
Expand Down
75 changes: 50 additions & 25 deletions Examples/qfem-0017/src/input.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,49 @@
{
"Applications": {
"FEM": {
"Application": "OpenSees",
"ApplicationData": {
"MS_Path": "{Current_Dir}/.",
"PS_Path": "{Current_Dir}/.",
"mainScript": "TrussModel.tcl",
"postprocessScript": "TrussPost.tcl"
}
},
"UQ": {
"Application": "Other-UQ",
"Application": "Custom-UQ",
"ApplicationData": {
}
}
},
"EDP": [
{
"name": "Node_3_Disp_2"
"length": 1,
"name": "Node_3_Disp_2",
"type": "scalar"
}
],
"FEM": {
},
"UQ": {
"Config File": "{Current_Dir}/UQpySimpleExample.json",
"Parameters": [
{
"name": "Sampling Method",
"type": "ComboBox",
"value": "LHS",
"value": "MCS",
"values": [
"LHS"
"MCS"
]
},
{
"name": "Number of Samples",
"type": "SpinBox",
"value": 50
"type": "LineEdit",
"value": "50"
},
{
"name": "Seed",
"type": "LineEdit",
"value": "1"
},
{
"name": "Number of Concurrent Tasks",
Expand All @@ -40,27 +58,34 @@
{
"name": "Cores per Task",
"type": "SpinBox",
"value": 1
"value": 8
},
{
"name": "UQ Driver",
"type": "RVLineEdit",
"type": "LineEdit",
"value": "UQpy"
}
],
"uqEngine": "CustomUQ"
},
"fem": {
"dir": "{Current_Dir}/.",
"inputFile": "{Current_Dir}/TrussModel.tcl",
"mainInput": "TrussModel.tcl",
"mainPostprocessScript": "TrussPost.tcl",
"numInputs": 1,
"postprocessScript": "{Current_Dir}/TrussPost.tcl",
"program": "OpenSees"
]
},
"localAppDir": "C:/Users/yisan/Desktop/Development/quoFEM/backend",
"python": "C:/Users/yisan/AppData/Local/Programs/Python/Python38/python.exe",
"correlationMatrix": [
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1,
0,
0,
0,
0,
1
],
"localAppDir": "/Users/aakash/SimCenter/SimCenterBackendApplications",
"randomVariables": [
{
"distribution": "Uniform",
Expand Down Expand Up @@ -103,8 +128,8 @@
"variableClass": "Uncertain"
}
],
"remoteAppDir": "/home1/00477/tg457427/SimCenterBackendApplications/v2.3.0",
"uqResults": {
},
"workingDir": "C:/Users/yisan/Documents/quoFEM/LocalWorkDir"
"remoteAppDir": "/Users/aakash/SimCenter/SimCenterBackendApplications",
"runDir": "/Users/aakash/Documents/quoFEM/LocalWorkDir/tmp.SimCenter",
"runType": "runningLocal",
"workingDir": "/Users/aakash/Documents/quoFEM/LocalWorkDir"
}
119 changes: 0 additions & 119 deletions Examples/qfem-0017/src/scInput.json

This file was deleted.

0 comments on commit 2151ff1

Please sign in to comment.