Recent Posts

Pages: 1 ... 8 9 [10]
91
Thank you for using the SimCenter forum. The symptoms you described are fairly typical of the case where Google API Key is valid, but the APIs required for the current version of BRAILS are not enabled for API Key's use.

Utilizing all capabilities of the current version of BRAILS requires three APIs: 1) Street View Static API, 2) Maps Static API, and 3) Geocoding API. You will need to enable all of these APIs for the API Key you created.

The easiest way to enable these APIs is:
1) Go to https://console.cloud.google.com/
2) Select the project for which the API key was created (please see the attached image for the location of this button)
3) Locate the search bar on the top of the page (please see the attached image), enter "APIs and Services", then click the result under Products and Pages.
4) At the APIs and Services page, click on the Enable APIs and Services button, then find and select the three APIs listed above.

These steps should address the API Key issue.

One last thing, BRAILS, by default, searches your folder of images before it downloads the images required for your region. Given in your case, some of the images for your region were already erroneously downloaded, you may still run into image input issues after performing the above changes. To prevent this from happening, please 1) either manually delete the previously downloaded images your folder of images, or 2) call CityBuilder such that reDownloadImgs flag is enabled, i.e., CityBuilder(..........,reDownloadImgs = True).

I hope this helps!
92
Hello, I am currently trying to use the CityBuilder module to download satellite images using my Google API Key. When I run the module it creates a folder of images (.png extensions), however, when I try to view them on my desktop, it says 'It appears we don't support this file type'.

Additionally, my cityBuilder.build() command fails with this error: 'UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x000001A6BA66AEA0>'

This is my first time using a Google Maps API, so any help would be appreciated, thank you!
93
Hydrodynamic Engineering (Hydro-UQ) / Re: Depth averaged equations
« Last post by govi56 on March 03, 2022, 04:19:01 PM »
That was very helpful Ajay Sir
95
Hydrodynamic Engineering (Hydro-UQ) / Depth averaged equations
« Last post by govi56 on March 03, 2022, 11:59:11 AM »
Hello Sir

could you please share the youtube link of the videos regarding the derivation of depth averaged equations from N-S Equations as done by Prof. Lavareque (It was mentioned in the first video of Hydro UQ seminar)

Thank you

Govind
96
Virtual office hours with UQ developers at the NHERI SimCenter

Anyone who wants to talk with the UQ developers in the SimCenter, Dr. Bangalore Satish Aakash and Dr. Sang-ri Yi, is welcome to drop by at the weekly UQ developersí meeting.

If you would like to
  • get hands-on troubleshooting guidance
  • discuss topics about UQ in natural hazard applications
  • give ideas to improve quoFEM (ranging from the graphical user interface to backend algorithms)
  • discuss details of the UQ algorithms in SimCenter tools
  • suggest a new feature, especially if you would like to shape the idea together with the developers
  • learn how to plug in a UQ algorithm into quoFEM
or if you have any questions that are related to quoFEM or UQ capabilities of the other SimCenter tools, you are invited to visit. You may think of it as an informal office hour.

Time: Every Friday 12 - 1pm (PT)*
Zoom meeting link: click here

* Any cancellation will be announced by updating this post. Unless otherwise announced, we will be there every week.


Update: The office hour on 05/20 is canceled
97
Users of quoFEM are welcome to share their example files by replying to this post.
  • Contributor
    • Option 1
      • Click [reply] button to share
      • Requirement: A single zipped folder that contains all the required files and data (if any) along with the quoFEM input file (.json file)*
      • Requirement: A brief summary of the analysis
      • Requirement (if any): Special instruction to run analysis, eg. need a license of a FEM software
      • Recommended: Information on how to cite this work
      • Recommended: A detailed description of the model or references to literature detailing the model
      • Recommended: Expected runtime of the whole analysis, ie. how long are the users expect to wait after clicking the run button (eg. several seconds, minutes, hours, days)
    • Option2
      • Upload your files and description to another platform (eg. DesignSafe data depot or GitHub) and post the link here. We believe this option will help the users of your files to give stronger credit to your work. For example, DesignSafe allows you to formally publish a simulation model by providing a Digital Object Identifier (DOI) number.

  • User : Unzip the folder, find and load the quoFEM Input file (.json file), hit the run button (Unless differently instructed by the contributor).

* Note: quoFEM Input file (.json file) can be saved by clicking [file-save as] button at the quoFEM menu bar. Make sure to save the Input file (.json) directly in the folder where your FEM inputs are located, and not copy it after saving it in another directory (this is to have relative file paths). See quoFEM\Examples\qfem-0001\src folder or other example folders to see how an example can be shared as a single folder.
98
Educational Applications / Re: Braced Frame Modeling
« Last post by fmk on February 27, 2022, 12:10:25 PM »
I see you found the relevant son files you need. As you will see from the file extension they are json. You can easily read the data and write it out in python, e.g.:
Code: [Select]
# Python program to read json file & print an array in it                           

import json

# Open input & output files                                                         
inFile = open('NCBF1_HSS6x6.json')
outFile = open('defo.txt', 'w')

# load input file & get the json element axialDef                                     
data = json.load(inFile)
testData = data['test']
axialDef = testData['axialDef']

# print data                                                                         
for dataPoint in axialDef:
    outFile.write(str(dataPoint)+"\n")

# close files                                                                       
inFile.close()
outFile.close()

you can also use Matlab if you prefer, look at jsondecode. looks to be more of a pain than python:
https://www.mathworks.com/matlabcentral/answers/474980-extract-info-from-json-file-by-matlab
99
Educational Applications / Braced Frame Modeling
« Last post by ngirmay3 on February 27, 2022, 02:21:46 AM »
Hello! Would it be possible to get a data copy of the applied displacement history for NCBF1_HSS6x6.json and TCBF3_W8X28.json files the Brace Frame Modeling tool. We want to compare how other commercial software perform in capturing hysteretic response of braces compared to BFM and wanted to use the same applied displacement history if possible.



   
100
Installation / Re: quoFEM Installation Issue
« Last post by kkirk on February 21, 2022, 07:30:26 PM »
Same here, I downloaded the '2/20/22 8:53 AM' quoFEM for Windows and it's working. Thanks!
Pages: 1 ... 8 9 [10]