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

Compile usr_pmvppd.f

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2011, 10:35
Default Can't solve usr_pmvppd.f
  #1
New Member
 
Join Date: Sep 2010
Posts: 28
Rep Power: 0
zephyrus17 is on a distinguished road
I'm trying to do a pmv and ppd analysis, but the solver's been failing where it it's asking for the user library. Where do I get the right dll for the usr_pmvppd.f user routine? i.e., where is the library path? CFX/lib/winnt-amd64?

Last edited by zephyrus17; October 2, 2011 at 08:12.
zephyrus17 is offline   Reply With Quote

Old   October 4, 2011, 04:31
Default
  #2
New Member
 
Join Date: Sep 2010
Posts: 28
Rep Power: 0
zephyrus17 is on a distinguished road
[Mods: Could you please move this to the CFX forum? Thank you!]

So I've found out that I need to run
Code:
cfx5mkext usr_pmvppd.F
to generate the .dll file. However, the error from cmd is
Code:
The compiler command "ifort" could not be found.  Please ensure that the compiler is on your PATH and try again.
So after installing MS Visual Studio and Intel Fortran Compiler, which contains the ifort.exe file, what do I do? Make a shortcut of the intel fortran compiler in the cfx directory containing usr_pmvppd.F?
zephyrus17 is offline   Reply With Quote

Old   March 23, 2012, 21:38
Default
  #3
New Member
 
Join Date: Sep 2010
Posts: 28
Rep Power: 0
zephyrus17 is on a distinguished road
I've compiled it successfully (at least I think it did). And it worked for a previous project. I recall when I selected to insert the "user routine", all the variables and equations automatically jumped out. And there was an entry under "User Functions" as well.

However, trying again in another project, it doesn't seem to have worked. CFX-Pre only shows the user routine defined, but nothing, uh, 'special' happens in the Default Domain, no extra variables, no extra expressions, and nothing under the User Routines.

Does anyone know what's going on?


EDIT: I got it! I had to append the comfort-factors.ccl into my Setup!

Last edited by zephyrus17; March 23, 2012 at 22:16. Reason: Stupidity on my part
zephyrus17 is offline   Reply With Quote

Reply


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
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 40 March 18, 2018 07:05
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 05:38
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 18:22
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 14:24
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51


All times are GMT -4. The time now is 13:01.