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


Reading & comparing Input files

Reading & comparing Input files

Reading & comparing Input files

I am calculating the stress intensity factor for cracked models. General procedure for modeling crack using Abaqus example with photo here Link

In My model, The program runs correctly for one case (crack length =x). for other cases when the crack length increased, I got unexpected & inaccurate results: The assigned seam crack did not open through its whole length. Changing the mesh, the part (near crack tip, or near the edge) that open, and the length of the opened seam change. simply the whole seam crack should open. There is no error by Abaqus (should be there is an error for such case). The problem described with a photo in this thread:

I want to see if there is a difference in my of my modeling steps in the successful run model and the failed ones. I guess this can be done by comparing the input file or the data file.

how to compare & find if there is a difference in the main procedure of two models provided that the crack length is different. Simply I want to check the main procedure, the way created Parts, assembled them, merge/cut them.
Even though I pretty sure I adopted the similar procedure in both models, but wanna found the explanation for this problem.

Thank you

RE: Reading & comparing Input files

Typically an FEA program dumps the model into a text file (f04 and f06 for Nastran I think). Your job is to compare those text files for the two runs. This is agony, use a program like winmerge, gdiff, or beyond compare.


Greg Locock

New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

RE: Reading & comparing Input files

Comparing Abaqus input files is simple. Good editors can do that, also tools like Total Commander or tools that are specific for that task (UltraCompare, e.g.).

Comparing how the model was created in A/CAE is not so easy or even possible in general. You could compare the .jnl files, but I think that is not working for every situation. Even a manual check of the entries in the model tree cannot cover all possibilities.

RE: Reading & comparing Input files

If you just want to compare two textfiles a simple approach may be command "fc" in windows command prompt.


RE: Reading & comparing Input files

can't you view model deformed shape ? or stress around the crack ? that'll show that somewhere your crack has been "welded".

comparing f06 files is sooo olde school ... something I might have done (coming from that school) !

another day in paradise, or is paradise one day closer ?

RE: Reading & comparing Input files

For comparing two text files, when you want to find and examine lines with differences, I recommend:

Import or copy and paste both files into adjacent columns in a spreadsheet, with settings so that each file goes into one column.
In a third column enter a formula like IF(TRIM(A1)=TRIM(B1),"","********")
Copy down to the bottom.

Any different lines will now be tagged with *******.

Doug Jenkins
Interactive Design Services

RE: Reading & comparing Input files

Notepad++ with Compare plug-in is very useful for input file comparison.

RE: Reading & comparing Input files


There's no need to get a separate utility; any of the Office suites' word processors should have a text compare.

Thanks, I hadn't noticed that before.

I still prefer doing it in Excel with a formula though :).

Doug Jenkins
Interactive Design Services

RE: Reading & comparing Input files

WinMerge for Windows and Meld for Linux, I always use them.


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! Already a Member? Login


White Paper – Data Security and Know-How Protection
Our data is constantly exposed to the danger of being intercepted or stolen as it wends its way over global data networks. Data security measures and measures for protecting intellectual property should not, however, first be implemented when data is exchanged – companies must lay the foundation for these measures within their own organization. Download Now
White Paper – Collaboration in the PLM Context
The influence exerted by the Internet of Things (IoT) means that there is a steadily growing need for collaboration in industry. Partners from new industries and areas of application need to be integrated in cross-company business processes to ensure that the lifecycle of smart, connected products can be managed from end to end. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close