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

I have an error with UDF into ANSYS CFX 11.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2008, 00:46
Default I have an error with UDF into ANSYS CFX 11.0
  #1
Minh Ngoc
Guest
 
Posts: n/a
Hi everyone!

I have an error when run "cfx5mkext.exe" that: --------------------- C:\Program Files\Ansys Inc\v110\CFX\bin>cfx5mkext An error has occurred in cfx5mkext:

No source file has been specified ---------------------------- Would you help me to this problem? Thank you very much!
  Reply With Quote

Old   August 1, 2008, 11:25
Default Re: I have an error with UDF into ANSYS CFX 11.0
  #2
MoRR
Guest
 
Posts: n/a
1. type 'ifortvars' before that command and enter 2. then type 'cfx5mkext test.F' (use any fortran file just to check whether its iable to compile)

  Reply With Quote

Old   August 3, 2008, 00:59
Default problem again!
  #3
Minh Ngoc
Guest
 
Posts: n/a
Hi Morr, Thank you very much for helping me. Can you help me once more? This is another error happened. I will tell you in exact details. I'm using CFX 11.0 and Win XP PS2. In order to use UserFortran, I installed: 1. Visual C++ 2005 Express Edition 2. Microsoft Platform SDK for Win XP PS2 3. Intel Fortran Compiler 9.1

However when running cfx5mk, this warnings appeared:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\>cd C:\Program Files\ANSYS Inc\v110\CFX\bin

C:\Program Files\ANSYS Inc\v110\CFX\bin>cfx5mkext

Use of uninitialized value in substitution (s///) at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1731. Use of uninitialized value in rindex at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/PathManip.pm line 356. Use of uninitialized value in length at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/PathManip.pm line 356. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1756. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1765. Use of uninitialized value in concatenation (.) or string at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1776. Use of uninitialized value in sprintf at C:\Program Files\ANSYS Inc\v110\CFX\bin\/perllib/CFX5/ShlibExt.pm line 1781. C:\Program Files\Intel\Compiler\Fortran\9.1\IA32\Bin\ifort -threads -dll -exe:.\ winnt\\.dll C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt\solver-mpichnt.lib Intel(R) Fortran Compiler for 32-bit applications, Version 9.1 Build 20070322 Z Package ID: W_FC_C_9.1.037 Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

ifort: warning: Microsoft Visual C++ not found in path

Microsoft (R) Incremental Linker Version 8.00.50727.42 Copyright (C) Microsoft Corporation. All rights reserved.

-out:.\winnt\\.dll.dll -dll -implib:.\winnt\\.dll.lib "C:\Program Files\ANSYS Inc\v110\CFX\lib\winnt\solver-mpichnt.lib" LINK : warning LNK4001: no object files specified; libraries used LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 .\winnt\\.dll.dll : fatal error LNK1120: 1 unresolved externals

And another one:

Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.

C:\>ifortvars

Intel(R) Visual Fortran Compiler 9.1.037 Build Environment for 32-bit applications Copyright (C) 1985-2007 Intel Corporation. All rights reserved.

Setting environment for using Microsoft Visual Studio 2005 x86 tools.

Attempting to detect a Microsoft Visual Studio installation

Targeting Windows XP 32 DEBUG

I would be grateful if anyone can help me to deal with this! Thank you very much!

  Reply With Quote

Old   August 3, 2008, 06:53
Default Re: problem again!
  #4
Lan
Guest
 
Posts: n/a
may be you can use the win sp1 edtion.

  Reply With Quote

Old   August 4, 2008, 05:57
Default Re: problem again!
  #5
Minh Ngoc
Guest
 
Posts: n/a
Thank you Lan but I prefer Win xp ps2 Edition. Maybe I installed UserFortran in CFX 11.0 in a wrong way. Can you instruct me how to install it, steps by steps? Thank you very much!
  Reply With Quote

Old   August 18, 2008, 04:07
Default Re: I have an error with UDF into ANSYS CFX 11.0
  #6
Hung
Guest
 
Posts: n/a
Could you help me how run cfx5mkext to create share libarry.Please step by step Thanks
  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
URANS in ANSYS CFX brissyben CFX 3 October 6, 2009 18:35
Water pump OpenFOAM 15 ANSYS CFX 110 comparation waynezw0618 OpenFOAM Running, Solving & CFD 39 March 5, 2009 13:57
error on ANSYS CFX 11.0 Mini Main CFD Forum 1 October 5, 2007 10:53
ANSYS to acquire CFX Fred FLUENT 0 February 18, 2003 22:04
ANSYS to acquire CFX Fred Siemens 0 February 18, 2003 22:03


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