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

Subroutine for coefficient of thermal expansion

Subroutine for coefficient of thermal expansion

Subroutine for coefficient of thermal expansion

Dear all,
I am trying to run a coefficient of thermal expansion subroutine using the UEXP subroutine. For this, like a first step I tried a simple thermal stress analysis on a 0.2*0.1steel bar giving a body heat flux. The calculated stress values are matching with the theoretical analysis. Now instead of giving the thermal expansion as a direct input, I would like to enter the same as a subroutine. The attached subroutine is given below. But the problem aborted due to compilation error. Can anyone help to solve the issue? For the next stage, I have to incorporate the change of volumetric strain and the thermal strain to analyze the phase transformation in welding.

subroutine uexpan(expan,dexpandt,temp,time,dtime,predef,dpred,
include 'aba_param.inc'
character*80 cmname
dimension expan(*),dexpandt(*),temp(2),time(2),predef(*),
alpha = 1.1d-05
expan(1) = alpha*temp(2)

RE: Subroutine for coefficient of thermal expansion

Do you have proper version of Fortran compiler installed ? Try the following command to see if subroutines work correctly on your machine: abaqus verify -user_std

You can also use exemplary UEXPAN subroutine available in the Verification Guide (User subroutine verification —> UEXPAN).

RE: Subroutine for coefficient of thermal expansion

You didn't attach the subroutine and copying the unformatted code from your post won't help to answer your question.

The first example in the Verification Manual is basically what you are trying to do. Why don't you take that file and start from there?

RE: Subroutine for coefficient of thermal expansion

Dear FEA way and Mustaine3


Fortran is working fine. I have done welding analysis previously using the DFLUX subroutine.
I have used the same subroutine from the Abaqus manual to verify the code. It is working well with the Abaqus inp file. But showing an error with my inp file. So I changed a few formats in the file from the Abaqus manual and it is working. The corrected file is attached

Now I have to do include the phase transformation change due to volumetric change along with the thermal expansion(epsilon theral+epsilon volumetric). Does anyone have a standard file for the same?

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 - Addressing Tooling and Casting Requirements at the Design Stage
Several of the tooling and casting requirements of a part can be addressed at the design stage. If these requirements are not addressed at the design stage, lot of time is spent in design iteration when the design reaches the die caster. These design issues lead to increase in time and cost of production leading to delay in time to market and reduced profits for the organization. Download Now
White Paper - The Other Side of Design for Assembly
Assembly level constraints need to be satisfied before the design can move downstream. This white paper will go through the various assembly level issues, which need to be tackled by various organizations on a regular basis. Know more about DFMPro, a design for assembly software. 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