Author Topic: Problem with test dynamics example  (Read 23548 times)

tuyet

  • Jr. Member
  • **
  • Posts: 21
Problem with test dynamics example
« on: June 25, 2013, 02:04:26 AM »
Dear professor Taylor,
Dear Feap Admin,

I tested a dynamics example in Feappv.  This example ran well in Feappv version 2005.  However it cannot run in the new version of Feappv posted in your website.

There are two problems:

1. After the first inte command, I tried to plot mesh.  However Feappv quit the program immediately.

2. To solve the problem program the following command is used
batch         ! MACRO n.3: solve problem
dt,,.4
tran,newm      ! Transient analysis
loop,,200
loop,,4
time
loop,,10      ! Convergence loop
tang,,1
next
next
plot,wipe
plot,defo,1,1   ! Plot on deformed conf.
plot,fill      ! Plot filled mesh
plot,unde,,1   ! plot on undefor. conf.
plot,outl      ! Plot outlined mesh
next
end

But it has an error in output file:

**ERROR** Insufficient storage to allocate TANGS
           Required size =       17910
           Check data or choose other option.

This example also runs well in Feap version 8.2.

Could you please show me what is the problem of current version Feappv?

Thank you very much.  I am looking forward to hearing from you.

Best regards,

Tuyet

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with test dynamics example
« Reply #1 on: June 25, 2013, 06:20:29 AM »
Please post your input file so we can check what is happening.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with test dynamics example
« Reply #2 on: June 25, 2013, 06:51:49 AM »
1. I have tested  your batch program with my input file and it works fine.

2. Have you solved other problems (static ones ) with no problems?  If so, do a static solution
on your mesh to see if the allocation is O.K.

3. Did you use solution command "CHECk" to make sure mesh is o.k.?


tuyet

  • Jr. Member
  • **
  • Posts: 21
Re: Problem with test dynamics example
« Reply #3 on: June 25, 2013, 11:10:35 AM »
Thank you very much for your response. 
I attach here the input files: Imens, Imens.mac, Imens.msh.  This example was introduced by L. Petrini & A. Reali as benchmark example for feappv.

Here are some problems

1. Check mesh command: it is fine.

2 Plot mesh after TIE command: it is fine
   Plot mesh after
       batch ! MACRO n.1: check mesh
       noprint ! Reduce output printing
       plot,defa,off
       plot,pers
       plot,hide
       plot,fill
       end
       0
       2000,300,2000
       0,0,1

      end

+ works in Feap v8.2
+ does not work under running my project in microsoft studio 8 + Intel
+ works under the built Feappv.exe

3. Static case:
+ works in Feap v8.2
+ does not work under running ''Start debugging'' icon under my project in microsoft studio 8 + Intel
+ works under the built Feappv.exe

4. Dynamics case:
+ works in Feap v8.2
+ does not work under running ''Start debugging'' icon under my project in microsoft studio 8 + Intel as well as the built Feappv.exe

Thank you very much.

My best regards,

Tuyet

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with test dynamics example
« Reply #4 on: June 26, 2013, 04:10:25 PM »
There are two known errors in memory allocation that probably affect your solution.  One is for proportional loads (which is probably the one affecting you now) and the other for compressed profile which will affect eigen-computations, etc.

A new version for the program should be posted soon and hopefully will fix your problem.

tuyet

  • Jr. Member
  • **
  • Posts: 21
Re: Problem with test dynamics example
« Reply #5 on: June 27, 2013, 12:56:00 PM »
Thank you very much for your quick reply.

I am looking forward to the new version.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Problem with test dynamics example
« Reply #6 on: June 28, 2013, 03:12:05 PM »
Tuyet, a new version has been uploaded to the FEAPpv web page.

tuyet

  • Jr. Member
  • **
  • Posts: 21
Re: Problem with test dynamics example
« Reply #7 on: June 30, 2013, 02:08:57 PM »
Thank you very much for your updated code. 

You program runs all right with the test problem posted in Feappv website.  Unfortunately the program cannot run well for dynamics in my computer.  I ran program in

1. Windows Xp, Microsoft Visual Studio 8 + Intel Fortrans in the first computer, which has the sam problem as I solve you before:

   Computing solution at time  4.0000E-01: Total proportional load  4.0000E-01
   Individual factors:
      1 =  4.0000E-01   2 =  0.0000E+00   3 =  0.0000E+00
 **ERROR** Insufficient storage to allocate TANGS
           Required size =       17910
           Check data or choose other option.

2. Windows 7, Microsoft Visual Studio 8 + Intel Fortrans Second computer, which happens another problem:

  Computing solution at time  4.0000E-01: Total proportional load  4.0000E-01
   Individual factors:
      1 =  4.0000E-01   2 =  0.0000E+00   3 =  0.0000E+00

 *ERROR* DCHECK: Attempt to input  1 value(s).  Input is:
              1

  Inconsistency occurred from INPUTS in data file Imens.mac                                                                                                                       
  at or near record number    65.  Input record is:

  end                                                                           

  If this record is correct error may result from
  missing blank record before new command type.

I don't know what happens right now. 




Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with test dynamics example
« Reply #8 on: July 08, 2013, 04:59:27 PM »
Which input file are you using now? Send again please.

tuyet

  • Jr. Member
  • **
  • Posts: 21
Input files
« Reply #9 on: July 09, 2013, 12:11:21 PM »
Here are the attached files. Thank you very much.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Problem with test dynamics example
« Reply #10 on: July 10, 2013, 07:05:05 AM »
I am not able to test your program with a windows machine at this time.

The only thing I can see in your files relates to use of END records.  You have extra ones in the Imens.mac file (see attached).

I do not see how you can be getting the allocation problem unless you have a bad compile, that is you still have the old program being loaded.  Otherwise there is no way that I can understand receiving this message still.  I suggest you clean everything out, download the program again and recompile from the very beginning. 

tuyet

  • Jr. Member
  • **
  • Posts: 21
Both windows and Linux have problem with this example
« Reply #11 on: July 10, 2013, 03:53:40 PM »
Thank you very much.

WIndows: I tried to recompile the new feappv program in windows and use new Imens.mac.  It happens the same problem.

Linux: With the new feappv program,  the program immediately interrupted after input the mesh.  In the feappv screen, it appears

feappv: malloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
Aborted (core dumped)

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Problem with test dynamics example
« Reply #12 on: July 15, 2013, 12:27:10 AM »
tuyet,
I tried your problem on our Windows machine at it fails (though with a different error).
It seems that your problem is causing FEAPpv to generate a memory.  We will look into
it further and get back to you.

tuyet

  • Jr. Member
  • **
  • Posts: 21
Re: Problem with test dynamics example
« Reply #13 on: July 15, 2013, 04:11:29 AM »
Thank you very much, Feap Admin.

I am looking forward to hearing from you.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Problem with test dynamics example
« Reply #14 on: July 15, 2013, 03:56:32 PM »
A new version has been posted.  Your problem ran on our windows machine with the changes -- please give it a try now.