Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading data in an external file

Status
Not open for further replies.

andrearrd

New member
Mar 12, 2004
38
AU
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
 
Replies continue below

Recommended for you

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
 
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

 
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
 
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top