HyperSizer Support Forum
Software Use => Scripting => Topic started by: Sebastian on June 26, 2014, 05:06:56 AM
-
Hello,
While switching to HS7.0.53 from 7.0.35, I ran into the following error.
When calling "Project.UpdateFEM()" within python, hypersizer stops with a run time error (see image). I also attached the log file that is listed. Using Ansys everything works fine.
I am running win7 64bit and python 2.7 using win32com to interface with Hypersizer. I installed the 64bit version of hypersier but it was installed to "C:\Program Files (x86)\HyperSizer". Is this normal?
best regards
Sebastian
-
Hi Sebastian,
There's a parsing error in the delis.bdf around line 269. It's trying to read the name of the bulk data entry ("GRID" vs "CQUAD4" etc.), but it is probably blank. There may be an issue with line continuations or tabs. Can you post a snippet of the bdf file around line 269 - just several BDF entries before and after line 269?
Thanks,
Ryan
-
Hi Ryan,
thanks for your reply. Yes there is a line break before this command. The full file is in the attachements renamed as *.txt.
best regards
Sebastian
-
Hi Sebastian,
There's a bug when reading lines that have blank continuation characters when the data in the line is completely blank. We have fixed this issue for the next release.
For a workaround you can add the explicit '+' continuation character to the subsequent lines of the PBAR entries. Another option is to set at least one of the blank fields in the 2nd line to "0.0".
$<-01--><--02--><--03--><--04--><--05--><--06--><--07--><--08--><--09--><--10-->
PBAR 2701012 1 2.200-052.533-095.333-097.867-09 +
+ +
+ 1.034-25
-Ryan
-
Hi Ryan,
thank you! This worked!
best regards,
Sebastian