Author Topic: FEAP problem with regarding input file  (Read 4066 times)

nima_ikm

  • Jr. Member
  • **
  • Posts: 33
FEAP problem with regarding input file
« on: July 30, 2015, 03:05:25 AM »
Hello,

Thank you for considering to my post. I am working MultiScale approach, which the program frame is written in Matlab. However, each Finite element problem is done in FEAP (by calling through Matlab). Matlab, provide new input file for FEAP and FEAP reading new input file at each iteration. Unfortunately, I found one limitation which in my work is important. The problem is as follows:
At the 7th iteration of MultiScale, my new input file includes the following new traction that  FEAP needs to read that (this is written as a text file for FEAP):

node,0,Fx,Fy
2,0,-9.5829341590026e-05,0.00015174457031264
9,0,0.0010038184638037,0.00015782016175384
8,0,-0.00052199855973845,-0.00054783950181636
7,0,0.0021897190944022,0.0017952957126089
1,0,-0.00045520965689994,-0.001185096142868

Interestingly, the output file of FEAP is as follows:

     Nodal Forces       

      node    1 Force    2 Force
         1 -4.552E-04 -1.185E-03
         2 -9.583E+00  1.517E-04
         7  2.190E-03  1.795E-03
         8 -5.220E-04 -5.478E-04
         9  1.004E-03  1.578E-04

which means that FEAP is not able to read ' -9.5829341590026e-05 ' and change it to '-9.583E+00' . It take long time for me to find this kind of problem. Because at the beginning this number is not too small and FEAP it works fine. If it is possible help me to overcome this kind of issue (I don't really like to round off my number).

I believe this kind of limitation should not be exist, that make no sense to me. However, maybe I am wrong. I would be really appreciate  for your kind help..

Thanks alot
« Last Edit: July 30, 2015, 05:21:03 AM by nima_ikm »

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2649
Re: FEAP problem with regarding input file
« Reply #1 on: July 30, 2015, 06:03:35 AM »
Feap processes field widths with no more than 15 characters plus a separator (a blank or a comma).  You can try to reset the parameters in the tinput routine (they are currently set to 15), however, you may then experience other problems if you have a lot of data on a single line.  It would be better to force matlab to format the output to conform to feap requirements.  For the example you posted it would not affect overall results as the solution is dominated by the larger forces. 

nima_ikm

  • Jr. Member
  • **
  • Posts: 33
Re: FEAP problem with regarding input file
« Reply #2 on: July 30, 2015, 08:07:15 AM »
Dear Professor Taylor,

Thank you very much for your kind answer and your solution.

Best regards