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

ansys-cfx12 CEL function error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2011, 04:28
Default ansys-cfx12 CEL function error
  #1
New Member
 
nayyer
Join Date: Apr 2011
Posts: 4
Rep Power: 15
Rada is on a distinguished road
Hi all,

I'm working with an User Fortran routine interfacing with ansys cfx.
my problem is look like cfx-tutorial chapter 19 under title of "air conditioning". as the test case for linking CEL I did all options in this tutorial but when I write Command
( ! system ("cfx5mkext TStat_Control.F") == 0 or die "cfx5mkext failed"; ) in command line, The following error appears.

"ERROR
CCL parser failed with message:
Perl Syntax errors detected:
cfx5mkext failed at(eval 86) line1. "

In fact I couldn't run cfx tutorial at first step!!!
could anyone help me about this error???
Thanks to all, and thanks to CFDonline!!
Rada is offline   Reply With Quote

Old   April 18, 2011, 15:22
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
For windows:
  • use a command line tool for compiling
  • use ifortvars script from intel to set the environment and path variables
  • if you really want to exactly like the tutorial you have to:
    • start a command line
    • ifortvars
    • start cfx5pre on this command line
__________________
-
-
-
-
-
------------------------------------------------------------------------
Please do not forget: I am not paid for answering your questions.


Thousands of issues can cause a division by zero. Please do not capture a thread, with the argument: "I have the same issue ...."
joey2007 is offline   Reply With Quote

Old   April 19, 2011, 02:18
Default
  #3
New Member
 
nayyer
Join Date: Apr 2011
Posts: 4
Rep Power: 15
Rada is on a distinguished road
Quote:
Originally Posted by joey2007 View Post
For windows:
  • use a command line tool for compiling
  • use ifortvars script from intel to set the environment and path variables
  • if you really want to exactly like the tutorial you have to:
    • start a command line
    • ifortvars
    • start cfx5pre on this command line
dear joey
thanks for your answer.
which programs should i install for comiling?
I think the error is because of having no program for compiling!!!
best regards
Rada is offline   Reply With Quote

Old   April 22, 2011, 14:13
Default
  #4
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
windows: intel compiler plus some development kits from microsoft. Do not have exactly in mind which. Check help or manual.
linux: portland group or gnufortran
__________________
-
-
-
-
-
------------------------------------------------------------------------
Please do not forget: I am not paid for answering your questions.


Thousands of issues can cause a division by zero. Please do not capture a thread, with the argument: "I have the same issue ...."
joey2007 is offline   Reply With Quote

Old   April 26, 2011, 03:09
Default which version
  #5
New Member
 
nayyer
Join Date: Apr 2011
Posts: 4
Rep Power: 15
Rada is on a distinguished road
thanks Dear joey
which version of "intel fortran compiler" should I install for ansys V12??
should I install "microsoft sdk platform"??
the Error I face with is ((The compiler command "ifort" could not be found.Please ensure that the compiler is on your PATH and try again)).
thanks alot
Rada is offline   Reply With Quote

Old   April 26, 2011, 04:10
Default
  #6
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
Do not know. Check the manual for that.
__________________
-
-
-
-
-
------------------------------------------------------------------------
Please do not forget: I am not paid for answering your questions.


Thousands of issues can cause a division by zero. Please do not capture a thread, with the argument: "I have the same issue ...."
joey2007 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 06:25
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! alban Fluent UDF and Scheme Programming 2 June 8, 2010 18:54
error while running paraFoam! padmanathan OpenFOAM 9 October 13, 2009 05:17


All times are GMT -4. The time now is 19:00.