USER MATERIAL SUBROUTINE


Hallo everybody,
I had wrote a user subroutine with material law29. But I don't know how to start the solver with this subroutine.
The Subroutine is a *.f Fortran File. Please could anyone tell me which solver option I have to use to make the subroutine run?
fabian0989


Hi Rahul,
thanks for the answer and the guide. Is it possible to lunch the subroutines in the fortran format directly when I call the solver? Or is the only why the DLL thing described in the file you posted?
Regards,
fabian0989

Hi,
We do not install compiler packages with HyperWorks. There might run-time DLLs/shared libraries but we do not install whole compilers.As mentioned above the coming version will have detailed documentation for subroutines.Once it is availavle we will update you.
Regards
Rahul R


Hi,
now I was able to wirte a usersubroutine and compile the two fortran files to one *.dll.
But when I try to lunch the solver I get this error message:
##########################################################################################
{C:/Program Files/Altair/13.0/hwsolvers/common/tcl/tcl8.5.9/win64/bin/tclsh85t.exe} {C:/Program Files/Altair/13.0/hwsolvers/scripts/hwsolver.tcl} C:/Simulation/Test/Test_0000.rad -screen -dir -solver RD
Job load: 1
setRdEnv windows
Error output from the solver:
==============================
forrtl: severe (64): input conversion error, unit 30, file C:\Simulation\Test\SITest_0029.scr
Image PC Routine Line Source
libraduser_win64. 000007FEDD805128 Unknown Unknown Unknown
libraduser_win64. 000007FEDD800CA9 Unknown Unknown Unknown
libraduser_win64. 000007FEDD7BC2B9 Unknown Unknown Unknown
libraduser_win64. 000007FEDD79D0D3 Unknown Unknown Unknown
libraduser_win64. 000007FEDD79C9D5 Unknown Unknown Unknown
libraduser_win64. 000007FEDD787628 Unknown Unknown Unknown
libraduser_win64. 000007FEDD7639AD Unknown Unknown Unknown
libraduser_win64. 000007FEDD777332 Unknown Unknown Unknown
s_13.0_win64.exe 000000014004A94A ST_USERLIB_USERMA 421 dyn_userlib.c
s_13.0_win64.exe 00000001402EE919 LECMUSER 185 lecmuser.F
s_13.0_win64.exe 0000000140220597 LECMAT 725 lecmat.F
s_13.0_win64.exe 00000001400C9C68 Unknown Unknown Unknown
s_13.0_win64.exe 000000014000E476 STARTER0 1062 starter0.F
s_13.0_win64.exe 0000000140001583 STARTER00 91 starter00.F
s_13.0_win64.exe 0000000140001051 MAIN__ 8 starter.F
s_13.0_win64.exe 0000000140BD1B7C Unknown Unknown Unknown
s_13.0_win64.exe 0000000140BB8C9B Unknown Unknown Unknown
kernel32.dll 0000000076DE59CD Unknown Unknown Unknown
ntdll.dll 000000007701B981 Unknown Unknown Unknown
Restart file Test_0000_0001.rst was not created.
radioss:: Solver run finished.
##########################################################################################
Also there are two files called SITest_0029.scr and SOTest_0029.scr. Which function these to files have?


Hi,
I solved the problem by myself. The Input Format in the engine file was incorrect. So I changed it and now everthing works fine!
Thanks for the support!
fabian0989
Hi,
Here is a pdf that gives a clear idea of what can be done
Note that starting with v14, it will be possible to use gfortran compilers.
Regards
Rahul R
Hi Rahul can repost the pdf plz?
Chris

Hi,
I am able to download on my end.
You may also find the following useful:
https://www.altairuniversity.com/wp-content/uploads/2012/08/radioss_user_code_interface_jun_2012.pdf
Hi,
Here is a pdf that gives a clear idea of what can be done
Note that starting with v14, it will be possible to use gfortran compilers.
Regards
Rahul R
Unable to find an attachment - read this blog