SimCenter Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
SimCenter Forum
»
Research in Natural Hazards Engineering [Archived]
»
Wind Engineering (WE-UQ)
»
pset doesn't work for certain parameters
« previous
next »
Print
Pages: [
1
]
Author
Topic: pset doesn't work for certain parameters (Read 18438 times)
azing
Newbie
Posts: 33
pset doesn't work for certain parameters
«
on:
May 31, 2021, 04:28:50 PM »
Hi,
I don't know why the pset command doesn't work for me for setting up certain parameters (My, theta_p, and theta_pc in the IMK material). They don't appear in the list of random variables in WE-UQ's user interface.
Logged
azing
Newbie
Posts: 33
Re: pset doesn't work for certain parameters
«
Reply #1 on:
May 31, 2021, 05:30:16 PM »
well, I added them manually, and they are sampled properly for the simulations.
Logged
fmk
Administrator
Full Member
Posts: 233
Re: pset doesn't work for certain parameters
«
Reply #2 on:
June 01, 2021, 04:36:44 PM »
Can you post the script so I can see why the UI is not picking up the variables. thanks.
Logged
azing
Newbie
Posts: 33
Re: pset doesn't work for certain parameters
«
Reply #3 on:
June 01, 2021, 05:06:42 PM »
Thank you so much, please find attached the files.
Logged
fmk
Administrator
Full Member
Posts: 233
Re: pset doesn't work for certain parameters
«
Reply #4 on:
June 02, 2021, 04:55:47 AM »
I have updated the source code .. the problem is the tabs in the pset line of your ALL.tcl .. as we originally were using the following regular expression:
pset[ ]+[A-Z_a-z0-9]+[ ]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it could only handle spaces on the line .. i have updated the src code to handle tabs now as well.
pset[ \t]+[A-Z_a-z0-9]+[ \t]+[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?
it will be in next release (anything above version 2.2.0). Thanks for pointing it out.
In the meantime you can of course avoid the problem by removing tabs from a pset line in your script.
«
Last Edit: June 03, 2021, 04:11:08 PM by fmk
»
Logged
azing
Newbie
Posts: 33
Re: pset doesn't work for certain parameters
«
Reply #5 on:
June 03, 2021, 01:09:46 AM »
Great, thank you!
Logged
recapinjure
Newbie
Posts: 6
Re: pset doesn't work for certain parameters
«
Reply #6 on:
September 21, 2023, 06:44:27 AM »
Thank you for providing such useful information
slope
Logged
poofeggar
Newbie
Posts: 1
Re: pset doesn't work for certain parameters
«
Reply #7 on:
September 26, 2023, 10:06:37 AM »
This question is often asked and difficult to answer. Thank you for sharing this. Collect lots of information.
«
Last Edit: March 14, 2024, 08:39:53 AM by poofeggar
»
Logged
geometry dash lite
Print
Pages: [
1
]
« previous
next »
SimCenter Forum
»
Research in Natural Hazards Engineering [Archived]
»
Wind Engineering (WE-UQ)
»
pset doesn't work for certain parameters