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

Using pt_erosion.F

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2010, 18:45
Default Using pt_erosion.F
  #1
Rez
New Member
 
Join Date: Apr 2010
Posts: 3
Rep Power: 16
Rez is on a distinguished road
Hello Friends,

I'm trying to use the pt_erosion.F supplied by Ansys in ...CFX/examples/UserFortran to customize the erosion model; however, even after loading the pt_erosion.ccl (provided by Ansys in the same directory), the solver crashes. I have compiled the pt_erosion.F with Intel Fortran 10.1 running on IA-32 and the pt_erosion.dll gets generated. So I don't really know what the problem is. It would be greatly appreciated if you can send me some insights into this. the solver error message is:

****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| Unable to load symbol pt_erosion from ..\winnt\pt_erosion.dll: Th- |
| e specified procedure could not be found.
|
| |
| |
| |
| |
+================================================= ===================+

+================================================= ===================+
| ****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| USER ROUTINE: myerosion could not be loaded. Please check the Lib- |
| rary Path, Library Name and Calling Name. For FORTRAN user routin- |
| es, the Calling Name should be in lower case. |
| |
| |
| |
+================================================= ===================+

+================================================= ===================+
| ****** PROBLEM REPORT ****** |
|--------------------------------------------------------------------|
| Subsystem: Input |
| Subroutine name: ErrAction |
| Severity level: Fatal Error |
| Error message number: 001100279 |
|--------------------------------------------------------------------|
| Message: |
| |
| Stopped in routine UR_REGISTER |
| |
| |
| |
| |
| |
+================================================= ===================+

+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. No results file |
| has been created.
Rez is offline   Reply With Quote

Old   December 19, 2013, 15:44
Default
  #2
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hey,

were you able to resolve this issue?

Thanks
alinik is offline   Reply With Quote

Old   December 22, 2013, 05:48
Default uppercase
  #3
HLo
New Member
 
HLo
Join Date: Dec 2013
Location: Germany
Posts: 26
Rep Power: 13
HLo is on a distinguished road
Hello,
the subroutine name must be LOWERCASE in ccl but UPPERCASE in fortran code. Strange, undocumented but that's fact. It is one of the issues when compiling with Mingw's gfortran, as this compiles all subroutine names to lowercase.
See: http://www.cfd-online.com/Forums/cfx...nnt_amd64.html
HLo
HLo is offline   Reply With Quote

Old   October 7, 2014, 23:12
Default help me,please
  #4
New Member
 
Yang Xi
Join Date: Sep 2013
Posts: 3
Rep Power: 13
meow is on a distinguished road
hello my friend, I come up with the same trouble like you(forgive my suck English, I'm from China).I build a particle user routain and everything seems well until I run the CFX solver,then the problem report appears.Have you figured it out?or anybody who can help me!!!!Very Very appreciate
meow is offline   Reply With Quote

Old   October 9, 2014, 06:52
Default Path issue?
  #5
HLo
New Member
 
HLo
Join Date: Dec 2013
Location: Germany
Posts: 26
Rep Power: 13
HLo is on a distinguished road
Creation of dll does not mean it is going to work. ;-(
Input files seem to be correct.
Most common mistake: path to dll wrong: Where does the given "Library Path = .." really point to?
Try a full path to the dll in ccl or CFX-UI first. Later try to adjust to relative path (might differ if CFX is run standalone or from workbench).
If this doesn't help:
Compilation with "cfx5mkext"?
Architectures fit?
Precision settings fit (single, double) in compilaton and solver run?
HLo is offline   Reply With Quote

Reply

Tags
cfx, erosion, fortran, pt_erosion, subroutine

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



All times are GMT -4. The time now is 20:46.