×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Reading data in an external file

Reading data in an external file

Reading data in an external file

(OP)
Hi everyone.
I am trying to read data from an external file into my ABAQUS input file.  i have read up on the *INCLUDE, INPUT= option and understand its function.  However, my problem is this:  I have a DSLOAD, and the input file is as follows:

*DSLOAD
__PICKEDSURF33, EDNOR, 0.175

Now, instead of 0.175 as my load magnitude, I want to read a value in form an external file.  How would I do that??
Ive tried reading in the whole second line, ie have the following:


*DSLOAD
*INCLUDE, INPUT=file

where file (which I can create each time changing the load magnitude as needed) contains   __PICKEDSURF33, EDNOR, 0.175  but then i get an error saying the DSLOAD option needs a surface name.

Thank for your help,

Andrea

RE: Reading data in an external file

Andrea - have you tried including the whole *DSLOAD card within the file you are *INPUTing?

CODE


...
model data
...

*INPUT,file=test.dat


CODE

--------
test.dat
--------

*DSLOAD
__PICKEDSURF33, EDNOR, 0.175

Otherwise, try your first option above but make sure there are no spaces above the __PICKEDSURF33, EDNOR, 0.175 (the spaces will be used by ABAQUS and treated as zero entry).


------------
See FAQ569-1083 for details on how to make best use of Eng-Tips.com

RE: Reading data in an external file

(OP)
Hi Drej, thanks for your answer.
Are you sure about the *INPUT line?? It is not an ABAQUS keyword.  I have had no success in solving my problem.  I have tried reading form an external file in the *NODE line,
by having *NODE, INPUT=nodes and having my node definition in the file named "nodes" and everything works.  I have had no success as far tas the DSLOAD line goes, and also i tried specifying the layup of a composite solid shell section from and external files and i get an input file error when trying to raed this too.  any ideas??
Thanks,
Andrea

RE: Reading data in an external file

It should be *INCLUDE not *INPUT (am mixing my ANSYS/ABAQUS command: /INPUT=ANSYS, *INCLUDE=ABAQUS).

CODE


*INCLUDE, INPUT=test.dat

--------
test.dat
--------

CODE

*DSLOAD
__PICKEDSURF33, EDNOR, 0.175


------------
See FAQ569-1083 for details on how to make best use of Eng-Tips.com

RE: Reading data in an external file

(OP)
Thanks for that but it only works partially.  Its strange cos using the *INCLUDE, FILE= line works when I put the composite stacking sequence definition in an external file and then read it in after the shell section definition.  However for the DSLOAD option it doesnt work (just says that I need a surface name, even though its there).

Thanks again,
Andrea

RE: Reading data in an external file

Hi andrearrd,

I dont know whether this would help you or not cause I am just a begineer in Abaqus.
When I had to give different loads in CLOAD option I used amplitude function. Ofcourse amp is related to time but I think you can call a input file in another input file.

let me tell u wat i did,
*INCLUDE, INPUT=CLOADF
then again
CLOADF contains funtions calling amplitude fn.
Like
*INCLUDE, INPUT=AMP1
etc.
There  by I have defined different load values for different times.

Hope this helps and sorry if I had confused u,
Maddy.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources