Material property curve export\import

Post Reply
Telec
Posts: 30
Joined: Sun Oct 11, 2020 8:27 am

Material property curve export\import

Post by Telec » Mon Nov 09, 2020 8:58 am

Hi, is there a way to export the material curves from STKO, as we see them in the TEST phase? In order to be able to reconstruct them externally in excel.
Or similarly, is there a way to insert a material curves into STKO based on points entered by the user?
Thanks

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Material property curve export\import

Post by STKO Team » Mon Nov 09, 2020 9:35 am

Hi, is there a way to export the material curves from STKO, as we see them in the TEST phase?
Not in the current version, but it will be in the next one.
In the meantime, here is a workaround:
Replace these files
tester.zip
(18.16 KiB) Downloaded 259 times
in C:\Program Files\STKO\external_solvers\opensees\physical_properties\utils\tester
(You will need Admin privileges for this)

From now on, when you run a material Tester you will find and output.txt file in
  • C:\Users\<Your PC User Name>\AppData\Local\ASDEA Software Technology\STKO\Tester1D (for uniaxial materials)
  • C:\Users\<Your PC User Name>\AppData\Local\ASDEA Software Technology\STKO\TesterND (for ND materials)
Note: the AppData is a hidden directory, you need to show Hidden directories.
The columns in those files are:
1) percentage of the test (from 0 to 1)
2) strain (1 component for uniaxial, 3 or 6 for ND)
3) stress (1 component for uniaxial, 3 or 6 for ND)

mmc
Posts: 83
Joined: Tue Apr 28, 2020 3:09 pm

Re: Material property curve export\import

Post by mmc » Tue Mar 23, 2021 11:35 am

Hi!
I had the previous version of the software and downloaded the new version (STKO-2.0.1). I couldnt obtain the output file when performing a material tester with none of the versions. I updated the files with the ones attached in this post and then the material tester created the file.
The date of the previous files were older than these new ones.

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Material property curve export\import

Post by STKO Team » Tue Mar 23, 2021 3:47 pm

If you don't want the output file to be deleted automatically, you need to comment the highlighted line in the files
C:\Program Files\STKO\external_solvers\opensees\physical_properties\utils\tester\Tester1D.py (and TesterND.py for 3D materials)
Immagine 2021-03-23 164554.png
Immagine 2021-03-23 164554.png (46.14 KiB) Viewed 3724 times

darmawan
Posts: 23
Joined: Sat Jan 09, 2021 2:48 pm

Re: Material property curve export\import

Post by darmawan » Wed Mar 31, 2021 8:13 am

STKO Team wrote:
Mon Nov 09, 2020 9:35 am
Hi, is there a way to export the material curves from STKO, as we see them in the TEST phase?
Not in the current version, but it will be in the next one.
In the meantime, here is a workaround:
Replace these files
tester.zip
in C:\Program Files\STKO\external_solvers\opensees\physical_properties\utils\tester
(You will need Admin privileges for this)

From now on, when you run a material Tester you will find and output.txt file in
  • C:\Users\<Your PC User Name>\AppData\Local\ASDEA Software Technology\STKO\Tester1D (for uniaxial materials)
  • C:\Users\<Your PC User Name>\AppData\Local\ASDEA Software Technology\STKO\TesterND (for ND materials)
Note: the AppData is a hidden directory, you need to show Hidden directories.
The columns in those files are:
1) percentage of the test (from 0 to 1)
2) strain (1 component for uniaxial, 3 or 6 for ND)
3) stress (1 component for uniaxial, 3 or 6 for ND)
I tried to follow this instruction, but it did not work work.
I have replace the file tester.zip. When I tried to test my material, there was not a output.txt in the directory.
Attachments
Screenshot_29.png
Screenshot_29.png (159.92 KiB) Viewed 3692 times
Screenshot_28.png
Screenshot_28.png (85.8 KiB) Viewed 3692 times

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Material property curve export\import

Post by STKO Team » Wed Mar 31, 2021 10:38 am

I tried to follow this instruction, but it did not work work.
It should have worked.
However, now we have a better solution, it will be available in the next (V 2.0.2) STKO version.

In the meantime, I attach here 3 modified python files (zipped) to be extracted in:
C:\Program Files\STKO\external_solvers\opensees\physical_properties\utils\tester
replacing the existing ones (Tester1D.py, TesterND.py and GuiUtils.py)
tester.zip
(17.33 KiB) Downloaded 247 times

Immagine 2021-03-31 123723.png
Immagine 2021-03-31 123723.png (121.73 KiB) Viewed 3688 times

darmawan
Posts: 23
Joined: Sat Jan 09, 2021 2:48 pm

Re: Material property curve export\import

Post by darmawan » Wed Mar 31, 2021 3:13 pm

STKO Team wrote:
Wed Mar 31, 2021 10:38 am
I tried to follow this instruction, but it did not work work.
It should have worked.
However, now we have a better solution, it will be available in the next (V 2.0.2) STKO version.

In the meantime, I attach here 3 modified python files (zipped) to be extracted in:
C:\Program Files\STKO\external_solvers\opensees\physical_properties\utils\tester
replacing the existing ones (Tester1D.py, TesterND.py and GuiUtils.py)

tester.zip



Immagine 2021-03-31 123723.png
It works. Thanks, STKO!

STKO Team
Posts: 3066
Joined: Tue Oct 29, 2019 8:45 am

Re: Material property curve export\import

Post by STKO Team » Thu Apr 01, 2021 9:58 am

You're welcome, good luck with your modeling!

Post Reply