CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

subroutine

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2020, 02:24
Default subroutine
  #1
New Member
 
Sam
Join Date: Nov 2019
Posts: 7
Rep Power: 3
ska999 is on a distinguished road
I am new with CFX and I need your feedback in the following error;

| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| USER ROUTINE: User Routine 1 could not be loaded. Please check th- |
| e Library Path, Library Name and Calling Name. For FORTRAN user r- |
| outines, the Calling Name should be in lower case

I created my own code in Fortran and then compiled it. Then I created a new user routine? Do I have to recall the parameters again in the CEL?

Please advise me.
ska999 is offline   Reply With Quote

Old   June 3, 2020, 09:13
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,298
Rep Power: 25
Opaque will become famous soon enough
Could you explain how you compiled it?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 3, 2020, 10:20
Default
  #3
New Member
 
Sam
Join Date: Nov 2019
Posts: 7
Rep Power: 3
ska999 is on a distinguished road
Thanks for the message. I used Microsoft Visual Studio and Intel Fortran Compiler Composer XE 2013. Then I called all New environment variables. in the end, Setup CFX to use Fortran routines.
The complied was working.
ska999 is offline   Reply With Quote

Old   June 3, 2020, 10:28
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,298
Rep Power: 25
Opaque will become famous soon enough
I understand which compiler you used, but apologies for asking again:

which CFX command did you use to compile the user routine? There is a specific way to compile a CFX library to be located in the correct folder for the specific precision, compiler, etc

Did you compile from CFX-Pre? or the command line?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 3, 2020, 10:32
Default
  #5
New Member
 
Sam
Join Date: Nov 2019
Posts: 7
Rep Power: 3
ska999 is on a distinguished road
Yes. I use the command line window from CFX-Pre?

Tool------> Command line
ska999 is offline   Reply With Quote

Old   June 3, 2020, 15:51
Default
  #6
Senior Member
 
Join Date: Jun 2009
Posts: 1,298
Rep Power: 25
Opaque will become famous soon enough
If you take a look at the library path in the subroutine definition, let us call it simulation_library_path.

If you browse the folder where your simulation is defined, i.e. where your definition file is written. Is it the same as the simulation_library_path above?
If it is, can you see a folder named winnt-amd64? If yes, is there a file with the library name you used in the simulation setup in any of the sub-folders?

Summary: you must verify the library has been created where the simulation expects it.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   June 3, 2020, 22:28
Default
  #7
New Member
 
Sam
Join Date: Nov 2019
Posts: 7
Rep Power: 3
ska999 is on a distinguished road
Thanks for the text. Yes, I can see winnt-amd64 folder and it has two files.
Please advise in the following error:

| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Unable to load symbol motion from C:\fortran\winnt-amd64\motion.d- |
| ll: The specified procedure could not be found.
best
ska999 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculation Error in USER subroutine Asif17 CFX 3 June 29, 2016 04:45
Error in subroutine CONVERT_NAME_U2S_INT JDQFD CFX 2 January 21, 2014 10:19
Fortran Subroutine Error sergiorbrett CFX 12 September 3, 2012 08:40
Errorin subroutine appeared when applying cavitation model pitisrisuk CFX 1 July 2, 2012 04:36
FIDAP subroutine: USRBDY Shuwen Tzeng FLUENT 0 September 3, 2004 04:40


All times are GMT -4. The time now is 18:36.