|
|
Subject: can Abaqus run elements with tetracollapse of 0.00 - msg#00268
List: mathematics.abaqus.user
Hi Friends,
I have a query ' can Abaqus run elements with tetracollapse of 0.00'.
Please let me know,
regards,
SPH
[Non-text portions of this message have been removed]
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: User subroutine in C++
Attached is previous abaqus response to this query:
Question
Is it possible to write user subroutines for ABAQUS/Standard in C++?
Answer
(The following applies to versions 6.3-1 and higher.)
It is possible to write user subroutines for ABAQUS/Standard in C++,
but it is generally recommended that user subroutines be written in
Fortran. The interface for each of the user subroutines in
ABAQUS/Standard is in Fortran, and the use of another programming
language adds an additional layer of complexity to the programming
task.
The procedure for calling a C++ function from a Fortran application
is machine dependent, and requires an expert knowledge of compilers
and operating system conventions. Among the items that must be
understood are:
Mapping external C++ names to external Fortran names
Mapping C++ data types to Fortran data types
Conventions for inter-language procedure calls
In the example outlined below, a simple user subroutine in C++ will
be used in an ABAQUS/Standard analysis. To avoid platform
dependencies, certain macros in the C++ subroutine have been defined.
A function to transfer character arrays between Fortran and C++ has
also been defined. Please note that this approach is not supported-
ABAQUS, Inc will not provide technical support for this approach and
associated bugs, if any, will not necessarily be fixed.
To illustrate this procedure we provide a variation of the analysis
in Section 2.2.7 of the Version 6.3 ABAQUS Verification
Manual, "Transient internal pressure loading of a viscoelastic
cylinder." The files visco_dload.inp, viscocylinder.for and visco.C
are attached to this answer and available for download.
To run the analysis with the C++ subroutine, complete the following
steps:
Obtain the C++ compile command used by ABAQUS. On the command line
type:
abaqus info=env > env.txt
In the file env.txt look for the string 'compile_cpp'. Some examples
of the output on different platforms include:
Windows
compile_cpp='cl /c /nologo /W0 /MD /TP /DNDEBUG
/DWIN32 /DTP_IP /D_CONSOLE /DNTI /DFLT_LIC /DOL_DOC /D__LIB__ /DHKS_NT
/DFAR= /D_WINDOWS /O1 /I%I'
IBM AIX
compile_cpp='xlC -c -qsrcmsg -q64 -qarch=pwr3 -qtune=pwr3 -DRS6000 -
DCPLUS_IMPLEMENTED -D_LARGE_FILES -D_LARGE_FILES_API -DHAS_INT64 -
DBIT64 -DMULTI_THREADING_ENABLED -DTHREADED_SOLVER -DIBM -
DSPIN_YIELD -O3 -qstrict'
SGI
compile_cpp='CC -mips4 -64 -avoid_gp_overflow -c -DORIGIN2000 -
DSGI8000 -DSGI -DBIT64 -DFOR_TRAIL -DCPLUS_IMPLEMENTED -DNATIVE64 -
TARG:processor=r10000 -O3 -TENV:X=0 -I%I'
HP
compile_cpp='aCC +DA2.0W +DS2.0a -c -DHP -DHP11 -DFOR_TRAIL -
DCPLUS_IMPLEMENTED -DSWAPPED -ext -DBIT64 +O2 +Olibcalls -I%I'
Compaq
compile_cpp='cxx -c -std arm +inst_none -nopt -
distinguish_nested_enums -nodemangle -assume noaligned_objects -DDEC -
DHKS_DEC -DFOR_TRAIL -DDEC_ALPHA -DHKS_OPEN_GL -DCPLUS_IMPLEMENTED -
D_OSF_SOURCE -I/usr/include/X11R6 -I/opt/graphics/OpenGL/include -
DTYPENAME= -D_POSIX_SOURCE -D_XOPEN_SOURCE -DSPECIALIZE -I%I'
Compile the C++ user subroutine with the command found in Step 1.
Run the analysis with the C++ object file.
Windows
abaqus -j visco_dload -user visco.obj
UNIX
abaqus -j visco_dload -user visco.o
On certain UNIX platforms you will need to specify the correct flag
to link in the C++ libraries. First, obtain the applicable link
command used by ABAQUS by typing:
abaqus info=env | grep link_sl
Modify the commands as follows, with the new flag shown in red:
IBM AIX
link_sl='xlf_r -q64 -bM:SRE -bE:export.def -bnolibpath -bnoentry -o %
U %F %A %B -lxlsmp -lxlf -lxlf90 -lm -lC'
Compaq
link_sl='cxx -shared -Wl,-error_unresolved -Wl,-soname,%U -o %U %F -
Wl,-input,%E %A %B -lUfor -lfor -lm -lc'
The modification must be made to the link_sl command shown in your
environment file.
For additional information see:
'User Subroutines,' Section 24.1.1 of the Version 6.3 ABAQUS/Standard
User's Manual
--- In ABAQUS@xxxxxxxxxxxxxxx, "D'Arconte, Rich" <Rich.Darconte@xxxx>
wrote:
> Will ABAQUS run with a user subroutine written in C++ rather than
FORTRAN?
> If so, are there any special requirements for linking or for
passing data
> back to ABAQUS, etc.? I have not found anything in the manuals
covering
> this issue. Thanks in advance.
>
> 0000
> Rich D'Arconte
> Assistant Principal Engineer
> Aerojet
> 703-754-5083 (voice mail)
> 703-754-5638 (fax)
> 0000
>
> DISCLAIMER: This email message and any attachments are for the sole
use of
> the intended recipient and may contain proprietary and/or
confidential
> information which may be privileged or otherwise protected from
disclosure.
> Any unauthorized review, use, disclosure or distribution is
prohibited. If
> you are not the intended recipient, please destroy the original
message and
> any copies of the message as well as any attachments to the original
> message.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PMYolB/TM
---------------------------------------------------------------------~->
Next Message by Date:
click to view message preview
Re: Parameter Identification
Hi,
I have previosuly used ZOPT (part of Zebulon) to determine material
property data, however any structured optimization tool should do the
trick. Use the *INPUT card to define a separate file which contains
the *MATERIAL,USER constants. Defien these parametrically, and use
whatever tool is available to perform the optimisation (I quite like
the FREE tool from SANDIA labs called DAKOTA.
I have previously used another crystal routine based on schmidt
theory, any chance i could obtain a copy of your umat and user manual?
Barry
--- In ABAQUS@xxxxxxxxxxxxxxx, Amir Siddiq <amirsiddiq2001@xxxx>
wrote:
> well as the matter of fact for each class of hardening
> (isotropic and kinematic hardening). Prof. Cailletaud
> has introduced a no. of parameters and even they are
> using an optimization code themselves. They have built
> their own FEA package known as Zubelon and this
> optimization tool is included in it (but it
> costs...:))
> But using that code is quite easy as you just have to
> specify which parameters you want to optimize and
> after each simulation the optimization code does it by
> itself and at the end user just have to read the set
> of parameter which has the minimum cost function.
> MATLAB seems to be a choice too...does anyone has any
> prior knowledge about it?
>
> Regards,
> Aamir
>
> --- Shiladitya Basu <basus@xxxx> wrote:
> > > I am using crystal plasticity model [Cailletaud]
> > which
> > > is a phenomenological model and requires an
> > > optimization tool for the identification process.
> > As
> > > for each slip system it has approx. 9-11
> > parameters
> > > which basically control the isotropic hardening,
> > > kinematic hardening etc... for each slip system.
> > > Therefore in order to identify parameters for such
> > > kind of model an optimization tool seems to be
> > > necessary.
> >
> > ...shouldn't the model itself provide directions as
> > to how to determine any
> > parameters necessary ? I am just thinking out loud.
> > Matlab can be used for optimization, but details are
> > beyond my knowledge.
> >
> >
>
**********************************************************************
****
> > * DON'T CHANGE YOUR MIND TO ACHIEVE
> > HARMONY *
> > *
> > *
> > * SHILADITYA BASU 1320
> > BEAL AVENUE *
> > * DOCTORAL CANDIDATE (STRUCTURES) ANN
> > ARBOR, MI-48109 *
> > * DEPT. OF AEROSPACE ENGINEERING
> > (734)-764-4319 *
> > * UNIVERSITY OF MICHIGAN
> > shiladityab@xxxx *
> > * FRANCOIS-XAVIER BAGNOUD BLDG
> > basus@xxxx *
> > *
> > *
> >
>
**********************************************************************
****
> >
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> http://taxes.yahoo.com/filing.html
Previous Message by Thread:
click to view message preview
Re: Re: debugging code linked to ABAQUS umat
Bednarcyk
I noticed that you mentioned in your message that you were able
to link and run a UMAT that is using another subroutine that you
have as a .dll. I was trying to do something similar some time
ago but I could'n even link it. Can you please comment on what
changes you did to the .env file in order to link it?. This may
be very useful because then I can make use of other subroutines
like the ones from IMSL librariies for instance.
Thanks a lot
Juan Gomez
--- bednarcyk <bednarcyk@xxxxxxxxx> wrote:
> Thanks for the suggestions, Fernando. Abaqus support actually
> got
> back to me and had an online answer. It is available from the
>
> abaqus web site, answer ID 820. There are several
> abaqus-specific
> hoops to jump through, but I finally did get it to work.
>
> --- In ABAQUS@xxxxxxxxxxxxxxx, "fernandocachonerin"
> <atila@xxxx>
> wrote:
> > Hi,
> >
> > > I have a large fortran code as a .dll,
> > > called by umat, that I have successfully linked and run,
> not
> only
> > > from the ABAQUS command line, but also from within the
> visual
> studio
> > > environment. I can even run it through the debugger in
> visual
> > > studio.
> >
> > Maybe you need to set the first breakpoint in the umat code
> first,
> > then step to the function you want to debug. If this doesn't
> work,
> try
> > compiling the dll you want to debug into a static library
> instead
> (a
> > *.lib). You should then be able to step into the functions
> from the
> > top-level debug file (your umat subroutine). You might need
> to set
> a
> > breakpoint in the umat file though, for the debugger to "get
> it".
> >
> > Of course I am assuming that you compiled your dll with
> debugging
> > symbols on...
> >
> > Hope this helps,
> >
> > Fernando
>
>
>
=====
JUAN GOMEZ
188 KENVILLE RD
APARTMENT D
BUFFALO, NY 14215
(716)836-0107
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PMYolB/TM
---------------------------------------------------------------------~->
Next Message by Thread:
click to view message preview
Re: can Abaqus run elements with tetracollapse of 0.00
Hi,
Anyone has answers for my query.
"can Abaqus run elements with tetracollapse of 0.00"
regards,
SPH
----- Original Message -----
From: Haridas S.P.
To: ABAQUS@xxxxxxxxxxxxxxx
Sent: Thursday, March 25, 2004 1:17 PM
Subject: [ABAQUS] can Abaqus run elements with tetracollapse of 0.00
Hi Friends,
I have a query ' can Abaqus run elements with tetracollapse of 0.00'.
Please let me know,
regards,
SPH
[Non-text portions of this message have been removed]
Community email addresses:
Post message: ABAQUS@xxxxxxxxxxxxxxx
Subscribe: ABAQUS-subscribe@xxxxxxxxxxxxxxx
Unsubscribe: ABAQUS-unsubscribe@xxxxxxxxxxxxxxx
List owner: ABAQUS-owner@xxxxxxxxxxxxxxx
Shortcut URL to this page:
http://groups.yahoo.com/group/abaqus
Yahoo! Groups Links
[Non-text portions of this message have been removed]
|
|