Problems using Abaqus UMAT Subroutine for Yarn Props

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
PhilippV
Posts: 7
Joined: Fri Feb 26, 2016 10:41 am

Problems using Abaqus UMAT Subroutine for Yarn Props

Post by PhilippV »

Hi everyone,

I use TexGen for creating an automated parameter variation study of 2D-woven composites. For calculating the effective material properties I use the ABAQUS voxel method.
Unfortunately, I get the following error message when I try to run the simulation with the UMAT:
'ifort' is not recognized as an internal or external command,
operable program or batch file.
Abaqus Error: Problem during compilation - chamis_model_final.for
Abaqus/Analysis exited with errors
My approach:
- The chamis_model_final - file is located in the working folder
- Initiate the simulation via command prompt in the working folder: abaqus job=plainTest user=chamis_model_final
- I also changed the corresponding .inp-file as follows:

Code: Select all

*****************
*** MATERIALS ***
*****************
*Material, Name=MaterialPhil
*User Material,TYPE=MECHANICAL,CONSTANTS=8
2e+011,1e+010,0.3,0.4,5e+009,5e+009,3.2e+009,0.2
*Depvar
5

*Initial Conditions, Type=Solution, Input=plainTest.eld
*******************
*** CREATE STEP ***
*******************
Thank you very much in advance for your help!
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by louisepb »

Hi,

I think that this is an issue with your Abaqus setup. Abaqus can't find your Fortran compiler.

Go to the start menu, find Abaqus Command in All Programs and right click on it. Select Properties from the drop down menu and then edit the Target in the Shortcut tab. You will need to find the path of your Fortran compiler. On my machine it's C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\Bin\ifortvars.bat. It's the ifortvars.bat file that you're looking for. Add this path in double quotes after the /k in the target and then add ia32, ia32_intel64, intel64, ia32_ia64 or ia64 as appropriate for your system.

The whole Target command should look something like this: C:\Windows\SysWOW64\cmd.exe /k "C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\Bin\ifortvars.bat" intel64

Hope that helps,
Louise
PhilippV
Posts: 7
Joined: Fri Feb 26, 2016 10:41 am

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by PhilippV »

Hi Louise,

thank you very much for your helpful answer.
Apparently there was no fortran compiler installed on the machine I'm using.....
Now after a lot of struggle with the installation, I've got all necessary programs on my computer:
- Intel Parallel Studio XE 2016 (including Fortran Compiler 16.0)
- Visual Studio 2015 community edition
- Abaqus 6.14-1

Unfortunately I get this error now:
Begin Compiling Abaqus/Standard User Subroutines
3/10/2016 6:20:22 PM
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.2.180 Build 20160204
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.

ifort: NOTE: The evaluation period for this product ends on 7-apr-2016 UTC.
End Compiling Abaqus/Standard User Subroutines
Begin Linking Abaqus/Standard User Subroutines
Creating library standardU.lib and object standardU.exp
libirc.lib(fastmemset.obj) : error LNK2019: unresolved external symbol memset referenced in function _intel_fast_memset.A
standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: unresolved external symbol __imp__putenv referenced in function "void __cdecl SMABasOmniSetSSELevel(void)" (?SMABasOmniSetSSELevel@@YAXXZ)
standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: unresolved external symbol __imp_printf referenced in function "void __cdecl SMABasOmniSetSSELevel(void)" (?SMABasOmniSetSSELevel@@YAXXZ)
standardU_static.lib(SMAStsStdU_IF.obj) : error LNK2019: unresolved external symbol __imp_getenv referenced in function "void __cdecl SMABasOmniSetSSELevel(void)" (?SMABasOmniSetSSELevel@@YAXXZ)
standardU_static.lib(umat_sst.obj) : error LNK2019: unresolved external symbol memmove referenced in function umat_sst
standardU_static.lib(uxfemnonlocalweight.obj) : error LNK2001: unresolved external symbol memmove
standardU_static.lib(uanisohyper_inv.obj) : error LNK2001: unresolved external symbol memmove
standardU_static.lib(uanisohyper_strain.obj) : error LNK2001: unresolved external symbol memmove
standardU_static.lib(ufluidconnectorloss.obj) : error LNK2001: unresolved external symbol memmove
standardU_static.lib(ufluidpipefriction.obj) : error LNK2001: unresolved external symbol memmove
standardU.dll : fatal error LNK1120: 5 unresolved externals
Abaqus Error: Problem during linking - Abaqus/Standard User Subroutines.
This error may be due to a mismatch in the Abaqus user subroutine arguments.
These arguments sometimes change from release to release, so user subroutines
used with a previous release of Abaqus may need to be adjusted.
Abaqus/Analysis exited with errors
Greetings
Philipp
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by louisepb »

Hi Philipp,
After a bit of searching I think that this is a problem with your Abaqus/Fortran setup rather than a TexGen issue.

I have Intel Visual Fortran Compiler Professional Edition 11.0,Visual Studio 2012 and Abaqus 6.14-1 on my machine which seems to work fine. I'm afraid that this isn't my area of expertise. Is there anyone in your organisation who might be able to help you get this set up correctly.

Sorry not to be more help,
Louise
PhilippV
Posts: 7
Joined: Fri Feb 26, 2016 10:41 am

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by PhilippV »

Hi Louise,

Thank you that you have taken your time to look after that issue! Unfortunately, there is no one who could help.
I wanted to use the UMAT subroutine for refined textiles and for textiles with constant yarn-cross-sections. For the latter one, I could try to implement a script for calculating the yarn properties via TexGen. My aim is to allow the input of fiber properties instead of yarn properties.
My approach for that script would be as follows:

1. Creating a domain with a single yarn (Defining the FVF via geometric relations)
2. Assigning fiber properties to the yarn and matrix properties to the domain
3. Calculating effective material properties via abaqus voxel method
4. Passing the results to the yarn properties of my main script

Do you think that this method makes sense?
I appreciate your speedy support very much.
Philipp
louisepb
Project Leader
Posts: 998
Joined: Tue Dec 08, 2009 2:27 pm
Location: Nottingham

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by louisepb »

Hi Philipp,
If I understand you correctly you're going to find the yarn properties for a single volume fraction based on a model of a single yarn which will be the same as the volume fraction in your constant cross-section model. This can then be used in that model.

If that's the case then yes, it makes sense.
Hopefully you will have enough information to work with now. I'm on holiday after today for a week so won't be around to answer forum questions.

Best regards,
Louise
PhilippV
Posts: 7
Joined: Fri Feb 26, 2016 10:41 am

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by PhilippV »

Hi Louise,
that's the plan. Again, thank you very much for your time.
I wish you a great holiday!

Philipp
vxxed
Posts: 1
Joined: Thu Jun 02, 2016 3:35 pm

Re: Problems using Abaqus UMAT Subroutine for Yarn Props

Post by vxxed »

Apparently, the original issue you encountered is in using Visual Studio 2015. Try downgrading a version. I tried 2013 with intel 2016, but ultimately I still encountered issues with running a vumat..
Post Reply