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

how to use a subroutine in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 28, 2009, 15:40
Default how to use a subroutine in CFX
  #1
New Member
 
Sergio Brett
Join Date: Jul 2009
Posts: 14
Rep Power: 16
sergiorbrett is on a distinguished road
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
sergiorbrett is offline   Reply With Quote

Old   August 29, 2009, 08:01
Wink
  #2
Senior Member
 
Jack
Join Date: Mar 2009
Posts: 106
Rep Power: 16
rogbrito is an unknown quantity at this point
Hi Sir,

Take a look yourself:

http://www.cfd-online.com/Forums/cfx...-compiler.html

http://www.4shared.com/file/72198900...tionpart1.html

http://www.4shared.com/file/72199871...tionpart2.html

With kind regards,

Rogerio.


Quote:
Originally Posted by sergiorbrett View Post
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
rogbrito is offline   Reply With Quote

Old   August 29, 2009, 10:52
Default
  #3
Senior Member
 
Join Date: Jul 2009
Posts: 260
Rep Power: 17
kingjewel1 is on a distinguished road
Quote:
Originally Posted by sergiorbrett View Post
Hi all,

I need to make an external subroutine to the ansys cfx solver, in order to make some operations that the ccl or expression does not allow me to do.

I am traying to makes the tutorials 9, but I can't compile the file that as the tutorial says. When i try to compile the file using the command editor I get the following message.
"CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 45) line 1".

This is the first time i try to do it, I just installed the Ansys in my computer and I don't know anything about compiler or Fortran, Could anyone explain me what should I do in order to complete the tutorial and learn about programming with fortran

Thanks
As far as I can remember this tutorial can be done without compiling anything. Do you have a fortran compiler installed on your machine?
kingjewel1 is offline   Reply With Quote

Old   August 29, 2009, 11:33
Default
  #4
New Member
 
Sergio Brett
Join Date: Jul 2009
Posts: 14
Rep Power: 16
sergiorbrett is on a distinguished road
Hi.

The tutorial 9 can be done with CEL expression, but there is an opcion to do it compiling a file called PipeValve_inlet.F, at this point is where I get the error message.

I don't have installed any fortran compiler in my pc, now I realized that this is the problem, I am going to install it and then try again.

Thanks
sergiorbrett 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
GETVAR SUBROUTINE for additional variable in CFX Tuks Main CFD Forum 0 November 8, 2005 06:13
CFX 4.4: NAG Library Link to CFX subroutine... Robin K CFX 2 September 21, 2005 10:40
SEEK FOR 'CFX Subroutine Archive' youngan CFX 2 August 30, 2003 06:05
discuss user subroutine in CFX Anicorl CFX 6 August 25, 2003 17:01
CFX User Subroutine Archive David Creech Main CFD Forum 0 March 17, 1999 12:41


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